ImageEn, unit ievision

TIEVisionExposureMerger


Declaration

TIEVisionExposureMerger = interface(TIEVisionBase)


Description

TIEVisionExposureMerger is the interface exposure merger object. It allows you to combine images taken with different exposures into a single image.
The resulting image will be a tone mapped HDR image.




Demo

Demo  Demos\IEVision\ExposureFusion\ExposureFusion.dpr


Example

var
  merger: TIEVisionExposureMerger;
  img: TIEBitmap;
begin
  merger := IEVisionLib().createExposureMerger();

  // add images with different exposures
  img := TIEBitmap.Create;
  img.Read('image1.jpg');
  merger.addImage(img.GetIEVisionImage());
  img.Read('image2.jpg');
  merger.addImage(img.GetIEVisionImage());
  img.Read('image3.jpg');
  merger.addImage(img.GetIEVisionImage());
  img.Free();

  // merge and show result
  ImageEnView1.IEBitmap.AssignIEVisionImage( merger.run() );
  ImageEnView1.Update();
end;


Methods and Properties

Public Method  addImage
Public Method  run