Quantcast
Channel: OpenCV Q&A Forum - RSS feed
Viewing all articles
Browse latest Browse all 53

how to know grayscale or color img loaded

$
0
0
I need to know, is loaded img grayscale or color to not process grayscale. My idea is get grayscale by cvtColor(src,src_gray,COLOR_BGR2GRAY) and compare with loaded img. Perhaps there is a standard or a more interesting variant?

Viewing all articles
Browse latest Browse all 53

Trending Articles