Geometric Transforms
This group contains transforms commonly used to align images.
- TranslateImage2d: Translates a two-dimensional image by a user-defined vector.
- TranslateImage3d: Translates a three-dimensional image by a user-defined vector.
- FlipImage2d: Flips a two-dimensional image along the X axis, Y axis, or the image center.
- FlipImage3d: Flips a three-dimensional image along the X, Y, or Z axis.
- TransposeImage2d: Swaps coordinates of a two-dimensional image.
- TransposeImage3d: Swaps coordinates of a three-dimensional image.
- SwapQuadrants: Performs a quadrant-wise translation in circular mode.
- Rotate2d: Applies a rotation of a given angle on a two-dimensional image arround a given point or the center of the image.
- RotateImage2d: Applies a rotation of a given angle and center on a two-dimensional image.
- RotateImage3d: Applies a rotation of a given angle on a three-dimensional image.
- RotateCenterImage2d: Applies a centered rotation of a given angle on a two-dimensional image.
- Resize2d: Generates a two-dimensional image with a new size using a user-defined interpolation mode.
- Resize3d: Generates a three-dimensional image with a new size using a user-defined interpolation mode.
- RescaleImage2d: Generates a two-dimensional image with a new size using a user-defined interpolation mode.
- RescaleImage3d: Generates a three-dimensional image with a new size using a user-defined interpolation mode.
- RescaleImageByFactor: Rescales the dimensions of a two-dimensional or three-dimensional image.
- ResampleAffine3d: Resamples an image by defining an oriented bounding box and a geometric transform.
- ResampleAffine2d: Resamples a two-dimensional image by defining an oriented bounding box and a geometric transform.
- ResampleElastic2d: Resamples an image after applying a transformation described by a displacement field.
- SurfaceUnfolding3d: Extracts a flattened 3D image from an input 3D image mapped to a surface mesh.
Geometric Transforms are usually used to align images. For example, if the subject and camera were not ideally
positioned, rotating the image may improve visualization.
Rotation and translation can be used to align successive sections of CT scans or confocal microscope images. A combination of geometric transformations is sometimes used to restore satellite or remote sensing images.
In addition, some image processing operations, such as erosion, dilation, and even edge detection, are usually implemented for the main directions of the grid: $0^\circ$, $45^\circ$, $90^\circ$, etc. To erode an image in the $20^\circ$ direction, you could first rotate the image $20^\circ$, and then perform a $0^\circ$ erosion. Be aware that the rotation distorts the image because of resampling.
Rotation and translation can be used to align successive sections of CT scans or confocal microscope images. A combination of geometric transformations is sometimes used to restore satellite or remote sensing images.
In addition, some image processing operations, such as erosion, dilation, and even edge detection, are usually implemented for the main directions of the grid: $0^\circ$, $45^\circ$, $90^\circ$, etc. To erode an image in the $20^\circ$ direction, you could first rotate the image $20^\circ$, and then perform a $0^\circ$ erosion. Be aware that the rotation distorts the image because of resampling.