Load Images into Registration Estimator App

You can load images into Registration Estimator app from file or from the workspace. You can also provide optional spatial referencing information and an optional initial geometric transformation.

Load Images from File or from the Workspace

You can load images into Registration Estimator app from file or from the workspace. Access both methods by clicking the Load Images icon in the Registration Estimator app.

  • To load images from a file, click Load Images, and select the Load from file option.

    In the dialog box, select the file path of the moving and fixed images. Only certain file types are permitted: BMP, JPG, JPEG, TIF, TIFF, PNG, and DCM.

  • To load variable from the workspace, click Load Images and select the Load from workspace option.

    In the dialog box, select two images from your workspace. You can work with a wider range of file formats by loading images from file into your workspace using imread. Registration Estimator app supports any workspace image that was loaded using imread. You can also read DICOM images into the workspace using dicomread.

The Registration Estimator app only supports 2-D images. Before continuing, all RGB images are converted to grayscale using the rgb2gray function.

Provide Spatial Referencing Information

If you have 2-D spatial referencing objects in your workspace, or if you load DICOM images from a file, you can provide optional spatial referencing information. Spatial referencing information is useful if you want to orient the images to a world coordinate system. For more information about spatial referencing objects, see imref2d.


If you load DICOM images into the workspace using dicomread, spatial referencing information in the metadata is no longer associated with the image data. To preserve spatial referencing information with DICOM images, either load the images from file or create an imref2d object from the image metadata. For more information about DICOM metadata, see Read Metadata from DICOM Files.

If you do not have spatial referencing information, the Spatial Referencing Object and DICOM Metadata radio buttons are inactive.

Provide an Initial Geometric Transformation

You can provide an optional initial geometric transformation using affine2d and projective2d geometric transformation objects in your workspace. An initial geometric transformation is useful if you are processing a batch of images with similar initial misalignment. Once the first moving image has been registered, you can export the geometric transformation to the workspace and apply the transformation to other images in the series. See Export the Results from Registration Estimator App.

If you do not have a geometric transformation object in your workspace, the Initial Transformation Object selection box is inactive.

See Also



Related Topics