ImageEn, unit ievision

TIEVisionExposureMerger


Declaration

TIEVisionExposureMerger = interface(TIEVisionBase)


Description

An interface for exposure merging, which allows you to combine images of different exposures into a single tone-mapped HDR image.



Note: A shortcut method for this is available: MergeExposures


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() );
end;


Methods and Properties

Public Method  addImage
Public Method  run


See Also

createExposureMerger