2015-04-01 06:55:46 -0600 | asked a question | 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 |