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 | Demos\IEVision\ExposureFusion\ExposureFusion.dpr |
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;
See Also
◼createExposureMerger