can any one help me with ideas?

1 visualización (últimos 30 días)
waad almalki
waad almalki el 12 de Abr. de 2014
Comentada: waad almalki el 15 de Abr. de 2014
I need some ideas for finding Cancerous nodules in side lungs i extract the lungs correctly then segmenting lungs using morphology , but now i need usefull way to find "Cancerous nodules in side lungs" i am working on CT-scan image

Respuesta aceptada

Image Analyst
Image Analyst el 12 de Abr. de 2014
We don't partner with you to develop complicated algorithms like that. If you find an algorithm here, then we can help with syntax, error messages, etc. if you post your code. The link I gave you will give you some ideas , which answers your question of where to get some ideas.
  5 comentarios
waad almalki
waad almalki el 14 de Abr. de 2014
yes ,i transform from pixels to mm thank you very much for your help.
waad almalki
waad almalki el 15 de Abr. de 2014
i modified the code depend on your help like that:
function[allgrains,biggrain,numObjects]=measure_object(I2)
I3 = imadjust(I2, stretchlim(I2), [0 1]); figure, imshow(I3); level = graythresh(I3); bw = im2bw(I3,level); figure, imshow(bw) [labeled,numObjects] = bwlabel(bw,4);
RGB_label = label2rgb(labeled, @white, 'b', 'shuffle'); imshow(RGB_label); graindata = regionprops(labeled,'basic')
allgrains = [graindata.Area] biggrain = find(allgrains>18.897638*3.14) % Now I'll demonstrate how to select certain blobs based using the ismember function. % Let's say that we wanted to find only those blobs % with an area greater than 5 mm. % Get a list of the blobs that meet our criteria and we need to keep. pixelsPerSqMM=18.897638^2; allowableAreaIndexes = (allgrains * pixelsPerSqMM) > 5; % Take the big objects. keeperIndexes = find(allowableAreaIndexes); % Extract only those blobs that meet our criteria, and % eliminate those blobs that don't meet our criteria. % Note how we use ismember() to do this. keeperBlobsImage = ismember(labeled, keeperIndexes); % Re-label with only the keeper blobs kept. labeledImage = bwlabel(keeperBlobsImage, 4); % Label each blob so we can make measurements of it % Now we're done. We have a labeled image of blobs that meet our specified criteria. imshow(labeledImage, []); title('"Keeper" blobs (bigger than 5 mm^2 in a re-labeled image)');
but in the result i dont get full picture,why is there some thing wrong in the code?

Iniciar sesión para comentar.

Más respuestas (0)

Community Treasure Hunt

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

Start Hunting!

Translated by