Is HSV based algorithm good with light effect?
2 次查看(过去 30 天)
显示 更早的评论
Hello all of you. i have one question that, i am using HSV based algorithm. some one told me that it is not good with light effect. i need your ideas and opinions about HSV algorithm. i need to work for red fruit detection such as tomato. kindly guide me someone has any link or any idea. can HSV deal well with light effect. Thanks
0 个评论
回答(1 个)
Image Analyst
2019-5-25
Well, any color segmentation algorithm might have problems if the light intensity is changing. For best results you should put in some known color standards, like the X-rite Color Checker chart. If you use that to calibrate your colors, then you'll have less trouble.
That said, the LAB and HSV color spaces separate the color gamut into three dimensions, one of which is an independent intensity axis. So if your intensity changes, you might just look at the S and Hue channels and ignore the Value (Lightness) channel.
Or you can try the Color Thresholder on the Apps tab of the tool ribbon.
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!