ImageEn, unit ievision

TIEVisionStitcher


Declaration

TIEVisionStitcher = interface(TIEVisionBase)


Description

An interface that produces a segmented panorama by combining multiple photographic images with overlapping fields of view.



Notes:
- If you encountering failures (particularly ievSSERR_NEED_MORE_IMGS), ensure that your source images contain enough overlapping content
- Also see JoinBitmaps which allows joining of two images with overlap support


Demo

Demo  Demos\IEVision\Stitcher\Stitcher.dpr


Example

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
  begin
    ImageEnView1.IEBitmap.AssignIEVisionImage(pano);
    ImageEnView1.Update;
  end
end;


Methods and Properties

Public Method  stitch


See Also

Public Method  createStitcher