How to iterate all the pixels in an abitrary rectangular ROI

asked 2016-06-13 01:35:31 -0500

I want to get every pixel value in this green rectangular ROI. Four corner Points are known. image description

edit retag flag offensive close merge delete


I think you have to define a mask using your ROI. How to "Iterate over all pixels" it will depend what you want to do with your pixels. many opencv use a mask

LBerger gravatar imageLBerger ( 2016-06-13 14:00:24 -0500 )edit