I want to remove the extra boundaries from liver in CT images after the initial segmentation. how to do this?

1 vue (au cours des 30 derniers jours)

Hello everyone. I want to remove the extra boundaries from the liver in CT abdominal images dataset. I segmented the liver from CT image but the boundaries of the liver also miss classified during my deep learning training. I want to remove it. and also may be another organ which miss classified. In the the following two images red line is the correct liver and around the liver having a boundaries which were miss classified and wrongly segmented. In green line the other organs also wrongly segmented. If anyone know this how to remove or refer any post processing method so please help.

image2

  4 commentaires
ashutosh singh
ashutosh singh le 16 Avr 2022
can u provide the code for liver segmentation from ct images
Image Analyst
Image Analyst le 16 Avr 2022
@ashutosh singh, like I told @Manjunath R V, I don't have it. You'll have to write it yourself after finding a paper in the link I gave above that shows you how to do it.

Connectez-vous pour commenter.

Réponse acceptée

Image Analyst
Image Analyst le 9 Août 2017
Turn the red and green coordinates into a mask, then mask them out. Full demo attached. Basically
% Make mask from red outline:
mask = poly2mask(redX, redY, rows, columns);
% Enlarge mask
mask = imdilate(mask, true(41)); % 41 is the size - enlarge or reduce to make the mask the size you want.
% Mask the image
grayImage(mask) = 0; % Zero out inside the mask.
  2 commentaires
Ahmad
Ahmad le 9 Août 2017
Thanks image analyst its work. You are great. but if user don't select the area is it possible?
Image Analyst
Image Analyst le 9 Août 2017
Of course. You can create the mask in anyway you want, for example by thresholding.

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Get Started with MATLAB dans Help Center et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by