How to Mask the Area other than sky?

조회 수: 2 (최근 30일)
Suresh
Suresh 2013년 10월 16일
댓글: Suresh 2013년 10월 17일
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.

답변 (1개)

Jonathan LeSage
Jonathan LeSage 2013년 10월 16일
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:
  댓글 수: 1
Suresh
Suresh 2013년 10월 17일
Thanks Jonathan.I have tried this method as well as standard deviation already. Its finding the edges.But it is not filling it completely. I want to fill the portion wherever completing the lines(for ex.Rectangles).

댓글을 달려면 로그인하십시오.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by