How do i fix convex hull on rib part alone in input image
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
revathi t
am 9 Sep. 2015
Kommentiert: revathi t
am 14 Sep. 2015
CT Chest image is my input. I want to fix convex hull on rib cage part. I have separated rib cage part. Then How do i fix convex hull on it? Please help me, I don't know how to proceed this (I'm supposed to use morphological operations).
0 Kommentare
Akzeptierte Antwort
Walter Roberson
am 9 Sep. 2015
%note that row number corresponds to Y, not X
[Y, X] = find(RibCagePart);
K = convhull(X, Y);
hullX = X(K);
hullY = Y(K);
hullrows = hullY;
hullcols = hullX;
%to visualize
imagesc(RibCagePart);
plot(hullX, hullY, 'r')
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Bounding Regions finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!