Image3DSlices
Image3DSlices[image]
gives a list of 2D images corresponding to the slices in the Image3D object image.
Image3DSlices[image,n]
gives the n slice as a 2D image.
Image3DSlices[image,{s1,s2,…}]
extracts the specified slices si.
Image3DSlices[image,sm;;sn]
extracts slices sm through sn.
Image3DSlices[image,…,d]
takes slices in dimension d.
Details
- Image3DSlices works with images containing any number of color channels.
- Image3DSlices[image] is equivalent to Image3DSlices[image,All,1].
- In Image3DSlices[image,{s1,s2,…},d], the first dimension corresponds to image slices running from top to bottom, the second dimension corresponds to the rows running from back to front, and the third dimension corresponds to columns running from left to right.
- Image3D[Image3DSlices[image]] is effectively equivalent to image.
Examples
open allclose allScope (4)
Applications (4)
Properties & Relations (3)
Extract slices of 3D images using ImageData:
Image3DSlices is faster and requires less memory:
Compute the mean of all slices:
Image3DProjection can also perform mean intensity projection:
Partition a 3D image along a single dimension:
ImagePartition provides a more optimized solution:
Text
Wolfram Research (2012), Image3DSlices, Wolfram Language function, https://reference.wolfram.com/language/ref/Image3DSlices.html (updated 2016).
CMS
Wolfram Language. 2012. "Image3DSlices." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 2016. https://reference.wolfram.com/language/ref/Image3DSlices.html.
APA
Wolfram Language. (2012). Image3DSlices. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/Image3DSlices.html