How to Mask the Area other than sky?
5 views (last 30 days)
Show older comments
Suresh on 16 Oct 2013
Commented: Suresh on 17 Oct 2013
I have attached an image with sky and building. I want to mask the building portion of the image from sky without using color detection.
Jonathan LeSage on 16 Oct 2013
One potential method for masking the building in your image is to detect the building edges via the edge function. Once you have the building edges, you can perform additional image processing to isolate the building portion of the image. The following example from the documentation seems like it might be quite helpful for you to get started:
Additional examples for image processing can be found here:
Find more on Get Started with Image Processing Toolbox 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!