Ask Your Question

Revision history [back]

You can read about shape descriptors in the following link: http://docs.opencv.org/modules/imgproc/doc/structural_analysis_and_shape_descriptors.html

For extracting the color information of a patch, you can transform it to the HSV color space and then find a histogram of the hue (H) values.