How do i fix convex hull on rib part alone in input image
1 次查看(过去 30 天)
显示 更早的评论
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 个评论
采纳的回答
Walter Roberson
2015-9-9
%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')
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Bounding Regions 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!