|
"privatemeet none" <privatemeet@yahoo.com> wrote in message <ic0usk$r0g$1@fred.mathworks.com>...
> OK, one interesting problem that I cannot solve. Hope that someone have a smart idea.
> I have a CT image, and I need to extract onlyx the part of the image. On the image Example.jpg, I need this part extracted, maybe with region growing, roi, or something similar, and it is marked with red line. Actually, I need somekind of mask, or anything similar that I can use to extraxt this area and calculate the surface.
> The original image that I need to work on is Image.jpg.
> Any solution?
> http://s1192.photobucket.com/albums/aa325/privatemeet/
This will get you started
%%%
I = imread('ctnews.jpg');
I = I(:,:,1);
M = shrinkWrap(I,'objthresh',4250,'biggest');
W = watershed(conv2(double(I.*uint8(M)),ones(5),'same'));
imtool(label2rgb(W))
%SCd
%%%
But you'll need to figure out a way to combine the watershed pieces you want.
|