How do i fix convex hull on rib part alone in input image

1 visualizzazione (ultimi 30 giorni)
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).

Risposta accettata

Walter Roberson
Walter Roberson il 9 Set 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')
  1 Commento
revathi t
revathi t il 14 Set 2015
Thanks for your code Sir. It works good. Now i have convex hull fitted image. Is there any way to find lambda1,2 & 3 values from this image? (Because I need these values for further processing. Task is like removing scapula bone from this ribcage convex hull image. Here tubular shape will be considered as rib and plate like shape as scapula. formulas are available. But i need lambda values for substitution. Finally i have to find ribcage volume without scapula)

Accedi per commentare.

Più risposte (0)

Categorie

Scopri di più su Bounding Regions in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by