Impoly combined with GLCM

조회 수: 3 (최근 30일)
Ann G
Ann G 2015년 9월 28일
답변: Walter Roberson 2015년 9월 28일
Hello!! I would like to ask how can I use the impoly command to choose a spesific part of an image and then use the glcm command ( for contrast, correlation etc) for the part that I have chosen with impoly?? Thank you in advance!! :)

채택된 답변

Walter Roberson
Walter Roberson 2015년 9월 28일
This gives you a bitmask. You can determine the bounding box of the mask and extract that portion of the original image. The pixels that are not in the mask but are in the bounding box, you set to an arbitrary value, and then you take care how you interpret the counts involving that arbitrary value.

추가 답변 (0개)

태그

Community Treasure Hunt

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

Start Hunting!

Translated by