フィルターのクリア

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

1 回表示 (過去 30 日間)
Sivakumaran Chandrasekaran
Sivakumaran Chandrasekaran 2012 年 8 月 21 日
how to mark the outline alone of the given input image? I need to show the border of the medical image..
  7 件のコメント
Sivakumaran Chandrasekaran
Sivakumaran Chandrasekaran 2012 年 8 月 21 日
You can see the output in the link http://tinypic.com/view.php?pic=dp9w29&s=6
Image Analyst
Image Analyst 2012 年 8 月 21 日
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.

サインインしてコメントする。

回答 (2 件)

Jürgen
Jürgen 2012 年 8 月 21 日
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 件のコメント
Sivakumaran Chandrasekaran
Sivakumaran Chandrasekaran 2012 年 8 月 21 日
Thanks Jurgen... Can you tell me the site where i can upload my image

サインインしてコメントする。


Image Analyst
Image Analyst 2012 年 8 月 21 日
% 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);

カテゴリ

Help Center および File ExchangeExplore and Edit Images with Image Viewer App についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by