how to identify smooth and edge regions in a image
조회 수: 3 (최근 30일)
이전 댓글 표시
Please if someone has done this, please can you tell me,
"how to construct the contrast pairs from the image using the eight neighbors of each pixel"
and
"How to classify the contrast pairs of each image into two classes: edge and smooth" using the below method.... The edge contrast pair is found in the boundaries and texture regions, while the smooth contrast pair is found in the flat regions. To classify the pairs, the intensity difference between the pair’s intensities is taken. If it exceeds some defined threshold ε ( ε = 10 intensity levels), then it is considered an edge contrast pair; otherwise it is considered a smooth contrast pair.
댓글 수: 0
채택된 답변
Image Analyst
2014년 7월 14일
Sounds like you could use either rangefilt() or graycomatrix(). Experiment around with both.
댓글 수: 2
Image Analyst
2014년 7월 14일
They are functions in the Image Processing Toolbox so there should be documentation and examples in the help.
추가 답변 (0개)
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!