|
Conditional edge detection Dawson from Malaysia [173 posts] |
13 year
|
Hi STeven,
I have a question. For example applying a background removal blacks out some pixels. Another example is removing a certain color (ie. road color). Applying edge detection after this detects edges including that of the blacked out pixels. Is it possible to avoid detecting the edges of pixels that have been blacked out by the previous process and just detect the edges on the remaining image?
|
|
|
Anonymous |
13 year
|
Yes, you can use the non-black pixels to create a mask to then remove edges that are detected around the edges. You cannot prevent them from being detected but you can remove them afterwards.
If you post an image and a robofile of what you currently have we can extend that to remove unwanted edges.
STeven.
|
|
|
Dawson from Malaysia [173 posts] |
13 year
|
Yes that would work. Thanks
|
|