I am new to matlab
. I have few binary images, as shown below, which I have to display with isosurfaces
as a 3d object. I could not understand what input I need to pass to this function, when I have some images. I am referring this documentation.
I have total 22 images which are slightly diffrent from this image:
If your 22 images are all images from the same volume, you can concatenate them into a 3D array with the dimensions of [nRows, nCols, 22]
. How you do this really depends upon the format your data is currently in.
You can then pass this 3D matrix (images
) directly to isosurface
along with an isovalue (I'll assume 1 for demonstration purposes);
FV = isosurface(images, 1);