The demo exe name is Warp_Original.exe. To start this demo, double click the exe in the LEADTOOLS <TAGETDIR>\BIN directory.
Click the "Load Master" button to load a master image.
Click the "Load Slave" button to load a slave image.
The polygon can be rotated by SHIFT-CLICKING a point and dragging the mouse.
Move and resize the red polygon over the destination image to specify where the slave will be transferred. If the image is large, click the "View Normal Size" radio button to see the entire image. Once you have the polygon in the approximate location, click the "Zoom In" button to accurately move the polygon points.
Click the "Transfer Slave Into Master" to transfer the image.
If you want to use bilinear interpolation, check the "Bilinear Interpolation" check box and then click the "Transfer Slave Into Master" button. The bilinear interpolation option usually gives a better result.
Note that this demo uses the LEAD Annotation capabilities. There is a red polygon that is used to specify the shape and location of the image warp that will be placed in the master image. This polygon is implemented using LEAD's Annotations feature, which is part of the Document Imaging toolkit and is not part of the regular Raster Imaging toolkit. The annotation capability is in no way a requirement for the CombineBitmapWarp feature to work.
The compiled version of the demo will work with your LEAD libraries. If you recompile the demo, you will need to use the "nag" LTKRN dll (displays a message when loaded) that is included. The "nag" LTKRN dll is for development only, and is not to be redistributed.
Medical Web Viewer .NET
.NET, Java, Android, and iOS/macOS Assemblies
C API/C++ Class Libraries