Thresholding out of ROI

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Thresholding out of ROI

Manohar P
Hi everyone, I am new to python opencv.
Please help me to find the mean and stddev of the pixels outside the ROI in python opencv. Using mean and stddev of the pixels outside the ROI as the threshold value I have to then set the pixels outside ROI as 0 or 1.
Thanks