Getting edges when colors of object are nearby
Hi Brad,
Thanks for such a great library. I wanted to know is there a way i can get edges when colours of neighbouring objects are similar... Say like a chair with brown legs on camel colour carpet...
Or White chair in front of a door painted in different shade of white. Can you share some pointers on what combination of filters to use. Or what tweaks i can do to achieve.
Thanks for you timely responses in all other posts...
The biggest issue here is that the edge detection routines all currently work based on luminance differences, not color. Different colors that have the same luminance all look the same to the edge detectors.
An improvement to these might be to take gradients across the color channels and use either the max or sum of the differences for each channel to pick out color changes in a better manner. This would require the elimination of the initial grayscale reduction pass and a redesign of the initial gradient operation, though. Could take a little work.
thanks Brad I ll try... will update results
Fdog edge detection does a good work in processing such edges... comparatively... I hope you will add it to GPUImage sometime!!!