TIEVisionLibrary.createStitcher
Declaration
function createStitcher(tryUseGPU: bool32 = false; mode: TIEVisionStitcherMode = ievSTITCH_PANORAMA): TIEVisionStitcher; safecall;
Description
Create a stitcher object.
Parameter | Description |
tryUseGPU | If supported, the GPU will be used to improve performance |
mode | The stitching mode to use (ievSTITCH_PANORAMA for photos or ievSTITCH_SCAN for scanned images) |
Note: A shortcut method for this is available:
StitchImages
| Demos\IEVision\Stitcher\Stitcher.dpr |
var
images: TIEVisionVectorImageRef;
pano: TIEVisionImage;
status: TIEVisionStitchingStatus;
begin
images := IEVisionLib.createVectorImageRef();
images.push_back(IEVisionLib.createImage('image1.jpg'));
images.push_back(IEVisionLib.createImage('image2.jpg'));
images.push_back(IEVisionLib.createImage('image3.jpg'));
pano := IEVisionLib.createStitcher().stitch(images, status);
if status = ievSSOK then
ImageEnView1.IEBitmap.AssignIEVisionImage( pano );
end;
See Also
◼stitch