Identify areas of an image based on their surroundings
Show older comments
How would you identify specific points in an image based on the pixels around the point(s) that you wish to identify?
For example, if I had an image with lots of different colors but I only wanted to find the blue areas which are next to green areas and ignore everything else.
I'm sure the first step in this example would be to pass a filter over the image to remove all colors apart from green and blue but I wouldn't know where to go from there in eliminating green and blue parts which are not adjacent.
Accepted Answer
More Answers (0)
Categories
Find more on Convert Image Type in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!