I need to know if there is anyway to use MPSImageHistogram to compute Luminance histogram for an image? Or is there a way to write a metal shader that can quickly perform this task, please do post some sample code.
MPSImageHistogram for Luminance
Add a Comment