reslice

Syntax: reslice(input image, output image, direction)

Rotates the input image like a 3D cube such that the face of the cube defined by ‘direction’ argument will be the first slice in the output image.

This command can be used in the distributed processing mode. Use distribute command to change processing mode from local to distributed.

Arguments

input image [input]

Data type: uint8 image, uint16 image, uint32 image, uint64 image, int8 image, int16 image, int32 image, int64 image, float32 image, complex32 image

Input image.

output image [output]

Data type: uint8 image, uint16 image, uint32 image, uint64 image, int8 image, int16 image, int32 image, int64 image, float32 image, complex32 image

Output image.

direction [input]

Data type: string

The reslice direction. Can be Top, Bottom, Left, or Right.