How do i fix convex hull on rib part alone in input image
1 view (last 30 days)
Show older comments
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 Comments
Accepted Answer
Walter Roberson
on 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')
More Answers (0)
See Also
Categories
Find more on Bounding Regions in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!