Ask Your Question
0

Threshold values problem

asked Sep 23 '14

jamesnzt gravatar image

updated Oct 10 '0

In my program I worked with leaf image. i use threshold values for obtaining green regions in HSV color space. H: 45 to 95 s: 55 to 110

and for erosion and dilation i specified erosion_size and dilation_size as 20,10. now the problem is i have another image of leaf taken with less light intensity. Now the threhold valuers needs to be changed. What i have to do when i work on real-time image? Whether i should not use thresholding ? if so any other alternative for that?

Preview: (hide)

1 answer

Sort by » oldest newest most voted
0

answered Sep 23 '14

Hi @James!

Have a look at this Histogram back projection method in opencv.

Preview: (hide)

Comments

Thanks for your answer @Balaji Renganathan i cant get your idea please explain how i can use back projection instead of threshold function

jamesnzt gravatar imagejamesnzt (Sep 23 '14)edit
1

Just relate your leaf Histogram to Hand/Skin in this example. Read about it & you may find that interesting.

Balaji R gravatar imageBalaji R (Sep 23 '14)edit

Question Tools

Stats

Asked: Sep 23 '14

Seen: 179 times

Last updated: Sep 23 '14