({{, (RefLink[Image3DProjection, paclet:ref/Image3DProjection])[image] 
takes a 3D image and returns a 2D image of maximum projection onto the x-y plane.}, {, (RefLink[Image3DProjection, paclet:ref/Image3DProjection])[image,dir]
performs a projection in the direction specified by dir.}, {, (RefLink[Image3DProjection, paclet:ref/Image3DProjection])[image,dir,mode]
specifies the projection mode.}})

OpenersNotesSection(Spacer1)Details

(RefLink[Image3DProjection, paclet:ref/Image3DProjection]) is a way of seeing the structure inside a volume.

(RefLink[Image3DProjection, paclet:ref/Image3DProjection])[image] is equivalent to (RefLink[Image3DProjection, paclet:ref/Image3DProjection])[image,(RefLink[Bottom, paclet:ref/Bottom]),"Max"].

Possible settings for dir include:

The default projection plane is (RefLink[Bottom, paclet:ref/Bottom]), corresponding to projection direction {0,0,1}.

The default vertical is the z direction unless the projection plane is (RefLink[Top, paclet:ref/Top]) or (RefLink[Bottom, paclet:ref/Bottom]), in which case the default vertical is the y direction.

For an arbitrary direction of projection, the resulting image represents the smallest rectangle that encloses the entire rotated volume. This cropping corresponds to (RefLink[Automatic, paclet:ref/Automatic]) size in (RefLink[ImageRotate, paclet:ref/ImageRotate]).

Possible settings for the projection mode include:

(RefLink[Image3DProjection, paclet:ref/Image3DProjection])[image] is equivalent to (RefLink[Image3DProjection, paclet:ref/Image3DProjection])[image,(RefLink[Bottom, paclet:ref/Bottom]),"Max"].

OpenersPrimaryExamplesSection(Spacer1)Examples  (6)

OpenersExampleSection0(Spacer1)Basic Examples  (2)

Maximum intensity projections:

volume=ExampleData[{"TestImage3D","CTengine"}];

Image3DProjection[volume]

Project color of the pixel with maximum intensity:

volume = ;

Image3DProjection[volume]

OpenersExampleSection1(Spacer1)Scope  (3)

By default, the projection is performed onto the x-y plane:

volume=ImageResize[ExampleData[{"TestImage3D","CThead"}],{100,100,100}]

Image3DProjection[volume]

This is the same as specifying "XY":

Image3DProjection[volume,"XY"]

Project onto the "XZ" plane:

Image3DProjection[volume,"XZ"]

Project onto the "YZ" plane:

Image3DProjection[volume,"YZ"]

Specify an arbitrary direction:

Image3DProjection[volume,{2,1,-1}]

By default, maximum projection is performed:

volume=ExampleData[{"TestImage3D","MRknee"}];
Image3DProjection[volume]

Perform mean projection:

Image3DProjection[volume,"XY","Mean"]

Maximum projection of a color volume:

volume = ;

Image3DProjection[volume]

Maximum intensity projection of a color volume:

Image3DProjection[volume,Bottom,"MaxIntensity"]

Mean projection of a color volume:

Image3DProjection[volume,Bottom,"Mean"]

Mean intensity projection of a color volume:

Image3DProjection[volume,Bottom,"MeanIntensity"]

OpenersExampleSection3(Spacer1)Applications  (1)

Create a combined left, front and top view of a 3D image:

volume=ImageResize[ExampleData[{"TestImage3D","CThead"}],Scaled[ {1/2,1/2,1}]];

GraphicsGrid[
{{Image3DProjection[volume,1],Image3DProjection[volume,2]},
{Null,Image3DProjection[volume,-3]}}
]

({{DocumentationFooterIconsRelatedFunction.png, ({{See Also}, {(RefLink[Image3DSlices, paclet:ref/Image3DSlices])  ▪  (RefLink[Image3D, paclet:ref/Image3D])  ▪  (RefLink[ColorFunction, paclet:ref/ColorFunction])  ▪  (RefLink[ClipPlanes, paclet:ref/ClipPlanes])}})}})

({{DocumentationFooterIconsRelatedGuide.png, ({{Related Guides}, {▪(RefLinkPlain[3D Images, paclet:guide/3DImages])}, {▪(RefLinkPlain[Image Computation for Microscopy, paclet:guide/ImageComputationForMicroscopy])}})}})