Closed thachdo closed 1 year ago
I'm going to assume you want to convert gray image to color image for display purposes. You could use cvtColorForDisplay
, and must specify how you want to convert the grayscale to the color format with the CvtColorForDisplayOptions
parameter.
Hello,
Can we convert a 32FC1 image message to color formats like rbg8 or bgr8?
I'm using the below function
and get below error:
Is there a way to convert a gray image message to a color one directly?