Convert 3D images to 2D

  • Follow


Hi everyone,

I want to apply the "roicolor" function. A sample goes like this

load clown
BW = roicolor(X,10,20);
imshow(X,map)
figure,imshow(BW) 

However, I have a 3D image and when I try to apply this function it says
 Error using ==> roicolor at 42
Images with dimensions greater than two are not supported.

So how can I convert my 3D image to 2D.

Thanks in advance
0
Reply hasan4444 1/6/2011 1:25:08 PM

You can use either sum() or mean() to project the 3D image along one
dimension (axis).
0
Reply ImageAnalyst 1/6/2011 1:54:06 PM


1 Replies
1428 Views

(page loaded in 0.037 seconds)

Similiar Articles:













7/24/2012 3:16:33 AM


Reply: