how i extract the nose region in this image?

2 views (last 30 days)
ensg
ensg on 4 Dec 2014
Answered: ensg on 5 Dec 2014
I did the segmentation (thresholding) by the fcm algorithm, I have this photo which contains the labels and I need to extract the nasal cavity
And another question: how do I convert a matrix into a 2-D image? What command can I use?

Answers (3)

Image Analyst
Image Analyst on 4 Dec 2014
This does not look like a classified/labeled image because you have gradations of color. Anyway, if it were a labeled image, and say the nasal cavity were class #3, you'd use ismember() on the labeled image to extract just that class
nasalCavities = ismember(labeledImage, 3); % Extract label value 3 from the image.
  6 Comments
Image Analyst
Image Analyst on 5 Dec 2014
ensg's "Answer" moved here since it appears to be a "Comment" to me rather than a brand new separate "Answer" that answers her original question posted way up at the top:
i know what is the organ that i want to extract but i need a code to get the second image that i show in the pdf because this pdf is an example
Image Analyst
Image Analyst on 5 Dec 2014
That's why I referred you to papers where people published articles on how to do that. I have no idea what organ it is and it looks a lot more complicated than simple thresholding can handle so you'll need a more sophisticated algorithm than I can develop for you in the 5 minutes I allow for free demos. I mean to be robust to all images for similar organs in all kinds of patients, it will have to be a very sophisticated algorithm that people work on for months or years, like something a Ph.D. student would do. It's not something I could do in a few minutes this morning for you. If it were simple thresholding, I could, but not this. Sorry - I hope you understand.

Sign in to comment.


ensg
ensg on 5 Dec 2014
if you know an algorithm to label and extract or a code please you tell me

ensg
ensg on 5 Dec 2014
thank you so much no problem i understand you but i think that it´s very simple but i don´t explain well

Community Treasure Hunt

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

Start Hunting!