This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English version of the page.

Note: This page has been translated by MathWorks. Click here to see
To view all translated materials including this page, select Country from the country navigator on the bottom of this page.

Export the Results from Registration Estimator App

When you find an acceptable registration, export the results. You can use the exported results to apply similar registration to other frames in an image sequence. There are two options to export the results:

  • Export the registered image and the geometric transformation to the workspace. Apply an identical geometric transformation to other images using imwarp.

  • Generate a function with the desired registration technique and settings. Call this function to register other images using the same settings.

Export Results to the Workspace

To export the registration results to the workspace, click the desired trial in the history list, then click Export and select Export Images. In the Export to Workspace dialog box, assign a name to the registration output. The output is a structure that contains the final registered image, the spatial referencing object, and the geometric transformation used for the registration.

Generate a Function

To generate MATLAB® code that registers images using the desired registration technique and settings, click the corresponding trial in the history list, then click Export. Select the Generate Function option. The app opens the MATLAB editor containing a function with the autogenerated code. To save the code, click Save in the MATLAB editor.

Note

If you generate a function using a feature-based registration technique, you must have the Computer Vision Toolbox™ to run the function. You do not need the Computer Vision Toolbox to run functions generated using intensity-based and nonrigid registration techniques.

The generated function accepts a moving and a fixed image as inputs. The function returns a structure that contains the final registered image, the spatial referencing object, and the geometric transformation of the registered image.

Note

If you generate a function using a feature-based registration technique, the output structure contains two additional fields: the moving matched features and the fixed matched features.

See Also

Related Examples

More About