Show all scripts

Warp and Unwarp Images

Category: Data Processing and Evaluation – Images
Author:
Description: Example functions which show how to warp an image to unfold it about a central point - the geometric centre of the image, and then rewarp it back into the original form. Warping can be useful for carrying out fast radial averaging for SADPs/FFTs etc. Digital Micrograph does not have functions for directly extracting/measuring annular regions of images. By warping a circularly symmetric image into a rectangular image - the usual rectangular region of interest tools can be applied to calculate/set values The reverse warp recreates the image, although there is distortion near the edge and of course the corners are lost.
Comments: Thanks to Edgar Voelkl for providing the unwarp function
Script version: 1.0
DM/GMS version: 3.11.0
Script written as a function: Yes
Source: Show code
Download Source Code: Download
Download Zip File: Download