Removes the distortion in an image of a cylindrical object, as if removing a label from off of the cylinder and flattening it out.
public class UnWarpCommand : RasterCommand
Public Class UnWarpCommand
Implements Leadtools.Imageprocessing.Leadtools.ImageProcessing.IRasterCommand, System.IDisposable
public class UnWarpCommand extends RasterCommand
public ref class UnWarpCommand : public Leadtools.Imageprocessing.Leadtools.ImageProcessing.RasterCommand, Leadtools.Imageprocessing.Leadtools.ImageProcessing.IRasterCommand, System.IDisposable
Typically, this command is used in preprocessing images from digital cameras. This command requires an array of 8 points. An Invalid Parameters Exception will be thrown if no array of 8 points is passed. The following image shows the use of this function to flatten a label from a pill bottle. The numbers on the label represent the points in the array. The four corners (1, 2, 3, and 4) are fixed points in this command. The interior points on the label (5, 6, 7, and 8) are the ones that are moved to flatten the image.
Medical Web Viewer .NET