This is a more niche tool that was useful for analysis of microscope images of columnar structures. In such images a cylindrical object is photographed and we are interested in 'unwrapping' the features on the cylinder so the output image is a 2D map of the cylinder's surface. An example of this is a label on a soda can:
An example of the image unwrapper, on left is the original image of a soda can and on right is the unwrapped label.
The program operates largely through a click-and-drag interface. Internally it is based on the Image Straightener code, and even keeps the same namespace. We note a few limitations before starting:
As an example, we will unwrap a model of a coke can.
Press the Load Image button and select the input image. Then move the two points defining a line to the left side of the cylinder, and one point defining cylinder radius to the right side.
An input image is loaded in the program and cylinder is outlined.
Check the 'Show Grid' checkbox, which will show a green grid and dot. Drag the green dot along the cylinder's axis of symmetry to get the grid lines to match the curvature of the cylinder, in case the cylinder is tilted towards/away from the camera.
The green grid lines visually match the curvature of the cylinder.
Press the Unwrap button to finish the process.
The unwrapped image. It tapers towards the edges since our first assumption that cylinder edges are parallel was not satisfied.
The executable is available here. The installer file (which will also install .NET framework if it is missing) is available here. The source code is available here.