3D segmentation using treshold method

10 visualizaciones (últimos 30 días)
Gabriel Reynes
Gabriel Reynes el 8 de Feb. de 2016
Respondida: Image Analyst el 8 de Feb. de 2016
I am triying to make a 3D segmentation using a treshold method. Given a 3D image I, in particulare slice of the image I(:,:,i) I performed a treshold segmentation and using region props I selected a specific ROI. What is the best way to propagate this roi to the other slices?
My idea was: given a slice I(:,:,i+/-1) I do the same treshold segemntation and for all ROIs I need to find if some pixels coincide with the ROI of the previous slice. Is there any simple way to do that?
Thanks is advance!

Respuesta aceptada

Image Analyst
Image Analyst el 8 de Feb. de 2016
Just get the threshold from that particular slice, or however you do it. Then just create a binary 3D volumetric logical image by thresholding your entire image (the badly-named I):
binaryImage = I > threshold;
To find out if some pixels coincide for two slices, you can AND the slices
inBothSlices = I(:,:,slice1Index) & I(:,:,slice2Index);

Más respuestas (0)

Categorías

Más información sobre Convert Image Type en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by