image processing using Matlab
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
Nisreen Sulayman
am 31 Jul. 2014
Kommentiert: Image Analyst
am 1 Aug. 2014
Hi
I have the following result of segmentation
How can I improve the results?
1) I want to improve the appearance to get the vessels more smooth.
2) I want to extract the oval-like part of the vessels in the middle of the image.
Any suggestions?
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/153848/image.jpeg)
*****************
Here is a link to the image
https://copy.com/GT6n8EF82BKw
0 Kommentare
Akzeptierte Antwort
Evan
am 31 Jul. 2014
Bearbeitet: Evan
am 31 Jul. 2014
For your first question:
Is this strictly for appearances? If so, does medfilt2 do what you want?
rawImg = rgb2gray(imread('seg_vessel.jpg'));
nbhd = [2 2]; %play around with neighborhood size to get the smoothness you want
smoothedImg = medfilt2(rawImg,nbhd);
figure;imagesc(rawImg); colormap(gray)
figure;imagesc(smoothedImg); colormap(gray)
1 Kommentar
Weitere Antworten (2)
SRI
am 31 Jul. 2014
inputImage = imread('seg_vessel.tif');
grayImage = rgb2gray(inputImage);
binaryImage = im2bw(grayImage,level);
[B,W,D,T] = bwboundaries(binaryImage);
imshow(W)
Hi Kindly Look into the code, this might be the result which you had expected
0 Kommentare
SRI
am 31 Jul. 2014
inputImage = imread('seg_vessel.tif');
grayImage = rgb2gray(inputImage);
level = graythresh(grayImage);
binaryImage = im2bw(grayImage,level);
[B,W,D,T] = bwboundaries(binaryImage);
imshow(W)
Sorry Use this one
3 Kommentare
Image Analyst
am 1 Aug. 2014
You can use imopen() to snip off pointy parts or use imclose() to blur out the boundary.
Siehe auch
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!