Formats supported by individual functions?

asked 2019-09-02 13:22:02 -0500

asagot gravatar image

Is there a way to tell which formats a function supports? For example for Gaussian blur, can I give it YUV image directly without converting to RGB or Grayscale first?

edit retag flag offensive close merge delete


what a weird question.

why do you think, functions like blurring are restricted to colorspaces (or even - images !) at all ?

berak gravatar imageberak ( 2019-09-02 13:50:37 -0500 )edit

This is an excellent follow-up - I don't know and the documentation does not say one way or another. My confusion comes from most examples using grayscale or RGB

asagot gravatar imageasagot ( 2019-09-02 13:56:09 -0500 )edit

as an example, it does not make sense to apply CLAHE to a 3channel image, or does it ?

berak gravatar imageberak ( 2019-09-02 15:36:27 -0500 )edit