WOLFRAM

Enable JavaScript to interact with content and submit forms on Wolfram websites. Learn how
Wolfram Language & System Documentation Center

Image3DSlices [image]

gives a list of 2D images corresponding to the slices in the Image3D object image.

Image3DSlices [image,n]

gives the n^(th) 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
Details and Options Details and Options
Examples  
Basic Examples  
Scope  
Applications  
Properties & Relations  
Interactive Examples  
See Also
Related Guides
History
Cite this Page

Image3DSlices [image]

gives a list of 2D images corresponding to the slices in the Image3D object image.

Image3DSlices [image,n]

gives the n^(th) 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 all close all

Basic Examples  (1)

Slices of a 3D image:

Scope  (4)

Extract a slice of a 3D image:

Extract multiple slices:

Extract a span of slices:

Slices in the first dimension, running from top to bottom:

Slices in the second dimension, running from back to front:

Slices in the third dimension, running from left to right:

Applications  (4)

Visualize inside of the volumes for hidden details:

Extract a property of each slice:

Apply morphological erosion to 2D slices of a 3D image:

Maximum intensity projection (MIP) of slices of a 3D image:

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:

Interactive Examples  (1)

3D image slicer:

See Also

Image3DProjection   Image3D   ImageData   ColorSeparate

Function Repository: Image3DSliceAnimate

Wolfram Research (2012), Image3DSlices, Wolfram Language function, https://reference.wolfram.com/language/ref/Image3DSlices.html (updated 2016).

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

BibTeX

@misc{reference.wolfram_2025_image3dslices, author="Wolfram Research", title="{Image3DSlices}", year="2016", howpublished="\url{https://reference.wolfram.com/language/ref/Image3DSlices.html}", note=[Accessed: 17-November-2025]}

BibLaTeX

@online{reference.wolfram_2025_image3dslices, organization={Wolfram Research}, title={Image3DSlices}, year={2016}, url={https://reference.wolfram.com/language/ref/Image3DSlices.html}, note=[Accessed: 17-November-2025]}

Top [フレーム]

AltStyle によって変換されたページ (->オリジナル) /