Ask Your Question

Revision history [back]

Pixels Stats inside Polygons

Hi,

I have a 4 band image and a layer of polygons (.shp). I want to compute min,max,std.div, variance of all pixels inside each polygon in polygon layer for all bands. How can I do it using OpenCV. I am using c++.

Many thanks,

Maz