View Source Evision.Detail.ExposureCompensator (Evision v0.2.9)
Summary
Functions
Compensate exposure in the specified image.
createDefault
getMatGains
getMatGains
getUpdateGain
setMatGains
setUpdateGain
Enumerator
Types
Functions
@spec apply( t(), integer(), {number(), number()}, Evision.Mat.maybe_mat_in(), Evision.Mat.maybe_mat_in() ) :: Evision.Mat.t() | {:error, String.t()}
Compensate exposure in the specified image.
Positional Arguments
self:
Evision.Detail.ExposureCompensator.t()
index:
integer()
.Image index
corner:
Point
.Image top-left corner
mask:
Evision.Mat
.Image mask
Return
image:
Evision.Mat.t()
.Image to process
Python prototype (for reference only):
apply(index, corner, image, mask) -> image
@spec createDefault(Keyword.t()) :: any() | {:error, String.t()}
@spec createDefault(integer()) :: t() | {:error, String.t()}
createDefault
Positional Arguments
- type:
integer()
Return
- retval:
Evision.Detail.ExposureCompensator.t()
Python prototype (for reference only):
createDefault(type) -> retval
@spec feed(t(), [{number(), number()}], [Evision.Mat.maybe_mat_in()], [ Evision.Mat.maybe_mat_in() ]) :: t() | {:error, String.t()}
feed
Positional Arguments
self:
Evision.Detail.ExposureCompensator.t()
corners:
[Point]
.Source image top-left corners
images:
[Evision.Mat]
.Source images
masks:
[Evision.Mat]
.Image masks to update (second value in pair specifies the value which should be used to detect where image is)
Python prototype (for reference only):
feed(corners, images, masks) -> None
@spec getMatGains(Keyword.t()) :: any() | {:error, String.t()}
@spec getMatGains(t()) :: [Evision.Mat.t()] | {:error, String.t()}
getMatGains
Positional Arguments
- self:
Evision.Detail.ExposureCompensator.t()
Return
- arg1:
[Evision.Mat]
.
Python prototype (for reference only):
getMatGains([, arg1]) -> arg1
@spec getMatGains(t(), [{atom(), term()}, ...] | nil) :: [Evision.Mat.t()] | {:error, String.t()}
getMatGains
Positional Arguments
- self:
Evision.Detail.ExposureCompensator.t()
Return
- arg1:
[Evision.Mat]
.
Python prototype (for reference only):
getMatGains([, arg1]) -> arg1
@spec getUpdateGain(Keyword.t()) :: any() | {:error, String.t()}
@spec getUpdateGain(t()) :: boolean() | {:error, String.t()}
getUpdateGain
Positional Arguments
- self:
Evision.Detail.ExposureCompensator.t()
Return
- retval:
bool
Python prototype (for reference only):
getUpdateGain() -> retval
@spec setMatGains(t(), [Evision.Mat.maybe_mat_in()]) :: t() | {:error, String.t()}
setMatGains
Positional Arguments
- self:
Evision.Detail.ExposureCompensator.t()
- arg1:
[Evision.Mat]
Python prototype (for reference only):
setMatGains(arg1) -> None
setUpdateGain
Positional Arguments
- self:
Evision.Detail.ExposureCompensator.t()
- b:
bool
Python prototype (for reference only):
setUpdateGain(b) -> None