detail_ExposureCompensator
import { detail_ExposureCompensator } from '@banou/opencv-wasm'Use after await initOpenCV(). See the initialization and named imports guide.
Native object: release it with using or delete(). Factories can return null; check before calling methods.
Base class for all exposure compensators.
Constructors and members
static createDefault
Create an owned detail_ExposureCompensator instance with the supplied configuration.
Base class for all exposure compensators.
createDefault(type_: number): detail_ExposureCompensator | null;type_type argument (number).
The detail_ExposureCompensator | null result.
clone
Create another handle to the same native object. This retains the object without copying its pixels or algorithm state; dispose both handles separately.
clone(): this;The this result.
feed
Estimate exposure compensation from overlapping images, their top-left offsets and validity masks.
feed(corners: PointVector, images: UMatVector, masks: UMatVector): void;cornersSource image top-left corners
imagesSource images
masksImage masks to update (second value in pair specifies the value which should be used to detect where image is)
apply
Compensate exposure in the specified image.
apply(index: number, corner: Point, image: Mat, mask: Mat): void;indexImage index
cornerImage top-left corner
imageInput/output value, modified by the native operation. Image to process
maskImage mask
getMatGains
Return the mat gains configured on this detail_ExposureCompensator object.
getMatGains(arg1: MatVector): void;arg1Output destination, filled by the native operation. arg1 argument (MatVector).
setMatGains
Set the mat gains used by this detail_ExposureCompensator object.
setMatGains(arg1: MatVector): void;arg1arg1 argument (MatVector).
setUpdateGain
Set the update gain used by this detail_ExposureCompensator object.
setUpdateGain(b: boolean): void;bb argument (boolean).
getUpdateGain
Return the update gain configured on this detail_ExposureCompensator object.
getUpdateGain(): boolean;The boolean result.
These signatures describe this package. Upstream documentation can mention optional backends that are absent from this build. Check runtime compatibility before choosing a backend or file format.