Image Segmentation>threshold>histogram

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

Image Segmentation>threshold>histogram

donny
hi,
my name is donny. i'm a beginner in opencv and i have a few question that i would like to ask.
firstly, i have set threshold value to segment the image and it will produce 2 group of pixel. one consist of  all pixel with gray level values > Threshold and another one consist of  pixels with values <=T.

what i have found is the histogram for all of the gray image which the x-axis varies from 0 to 255. how can i segment the image and then find the hitogram for both?