Repeat snake processing (loop) on the same image in order to detect several features

조회 수: 6 (최근 30일)
Rdmato33 . 2015년 7월 13일
댓글: Ashish Uthama . 2015년 7월 15일


I have tested the snake (active contour) algorithm from Chenyang Xu and Jerry L. Prince (<>) in order to extract feature border. It works very well.

However, I did it only on a single sample extracted from a bigger image which contains hundred features (as you can see below).

How can I repeat this process automatically to the whole image and thus, obtain the contour of every feature? For information, I already have the center coordinates for all features.

Thanks, Rémi

답변 (1개)

Ashish Uthama
Ashish Uthama 2015년 7월 13일
If you have a newer version, give the imageSegmenter app a go (it uses active contours).
I used part of your image with some simple preprocessing
imcomplement(rgb2gray(cropped image))
To get:
  댓글 수: 2
Ashish Uthama
Ashish Uthama 2015년 7월 15일
Do note - I just used some defaults. I was not certain I understood what features you were looking to isolate, the point was just to show you that this app might help you get started in the right direction.
I can imagine doing some simple morphological post-processing to isolate the roundish structures.

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

Community Treasure Hunt

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

Start Hunting!

Translated by