When you find an acceptable registration from Registration Estimator, 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
Generate a function with the desired registration technique and settings. Call this function to register other images using the same settings.
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.
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.
If you generate a function using a feature-based registration technique, then you must have Computer Vision Toolbox™ to run the function.
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. If you generate a function using a feature-based registration technique, then the output structure has two additional fields for the moving matched features and the fixed matched features.