Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

OpenCV Automatic Thresholding values

Hi all, I am trying to write a function for automatic threshold value but I don't know how to get them from histogram. For example I have this input image:[IMG]http://i61.tinypic.com/dblke0.jpg[/IMG]

I convert input img to other color space (HSV) then I split channels and then I print out on histogram all channels H-blue line, S-green line, V-red line. [IMG]http://i61.tinypic.com/15ckh2b.jpg[/IMG]. How would be function for automatic binarization (thresholding values)?

OpenCV Automatic Thresholding values

Hi all, I am trying to write a function for automatic threshold value but I don't know how to get them from histogram. For example I have this input image:[IMG]http://i61.tinypic.com/dblke0.jpg[/IMG]image:http://i61.tinypic.com/dblke0.jpg

I convert input img to other color space (HSV) then I split channels and then I print out on histogram all channels H-blue line, S-green line, V-red line. [IMG]http://i61.tinypic.com/15ckh2b.jpg[/IMG]. http://i61.tinypic.com/15ckh2b.jpg . How would be function for automatic binarization (thresholding values)?

OpenCV Automatic Thresholding values

Hi all, I am trying to write a function for automatic threshold value but I don't know how to get them from histogram. For example I have this input image:http://i61.tinypic.com/dblke0.jpgimage: http://i61.tinypic.com/dblke0.jpg

I convert input img to other color space (HSV) then I split channels and then I print out on histogram all channels H-blue line, S-green line, V-red line. http://i61.tinypic.com/15ckh2b.jpg . How would be function for automatic binarization (thresholding values)?

OpenCV Automatic Thresholding values

Hi all, I am trying to write a function for automatic threshold value but I don't know how to get them from histogram. For example I have this input image: http://i61.tinypic.com/dblke0.jpg

I convert input img to other color space (HSV) then I split channels and then I print out on histogram all channels H-blue line, S-green line, V-red line. http://i61.tinypic.com/15ckh2b.jpg . How would be I write a function for to get automatic binarization (thresholding values)?

OpenCV Automatic Thresholding values

Hi all, I am trying to write a function for automatic threshold value but I don't know how to get them from histogram. histogram. For example the histogram of the H channel(blue one) of the original image says that the first maximum belongs to the background, the second to the skin and the last to the hematome. For example I have this input image: http://i61.tinypic.com/dblke0.jpg

I convert input img to other color space (HSV) then I split channels and then I print out on histogram all channels H-blue line, S-green line, V-red line. http://i61.tinypic.com/15ckh2b.jpg . How would I write a function to get automatic binarization (thresholding values)?