how to mark the outline alone of the given input image?

how to mark the outline alone of the given input image? I need to show the border of the medical image..

7 comentarios

What does this mean? Can you upload an example of an unmarked and marked image? As far as I know, the border of all images are showing, unless they're zoomed.
Sivakumaran Chandrasekaran
Sivakumaran Chandrasekaran el 21 de Ag. de 2012
Editada: Sivakumaran Chandrasekaran el 21 de Ag. de 2012
Thanks Image Analyst!! Can you mail me the site or page, where i can upload the image
hi Image Analyst !!! The border of the image has to be marked separately using Green color
Try tinypic.com
Thanks Image Analyst.. you can find the input image in the link http://tinypic.com/r/2mhscwx/6.....
That is not the border of the image. That is the perimeter of an object in the image, such as the liver. You need to segment out that region.

Iniciar sesión para comentar.

Respuestas (2)

Jürgen
Jürgen el 21 de Ag. de 2012
Hi,
I think 'Image Analyst' gave a useful answer in http://www.mathworks.nl/matlabcentral/answers/46407-image-edge-to-black
there the image outline is put to black
regards, Jürgen

1 comentario

Thanks Jurgen... Can you tell me the site where i can upload my image

Iniciar sesión para comentar.

% Extract the individual red, green, and blue color channels.
redChannel = rgbImage(:, :, 1);
greenChannel = rgbImage(:, :, 2);
blueChannel = rgbImage(:, :, 3);
redChannel(1,:) = 0;
redChannel(end,:) = 0;
redChannel(:,1) = 0;
redChannel(:,end) = 0;
greenChannel(1,:) = 255;
greenChannel(end,:) = 255;
greenChannel(:,1) = 255;
greenChannel(:,end) = 255;
blueChannel(1,:) = 0;
blueChannel(end,:) = 0;
blueChannel(:,1) = 0;
blueChannel(:,end) = 0;
rgbImage = cat(3, redChannel, greenChannel , blueChannel);

Categorías

Más información sobre Image Processing Toolbox en Centro de ayuda y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by