View Source Evision.Detail.ExposureCompensator (Evision v0.1.11)
Link to this section Summary
Types
Type that represents an Evision.Detail.ExposureCompensator
struct.
Functions
Compensate exposure in the specified image.
Positional Arguments
- type:
int
Return
Python prototype (for reference):
Positional Arguments
corners:
[Point]
.
Return
- arg1:
[Evision.Mat]
.
Python prototype (for reference):
Return
- retval:
bool
Python prototype (for reference):
Positional Arguments
- arg1:
[Evision.Mat]
Python prototype (for reference):
Positional Arguments
- b:
bool
Python prototype (for reference):
Link to this section Types
@type t() :: %Evision.Detail.ExposureCompensator{ref: reference()}
Type that represents an Evision.Detail.ExposureCompensator
struct.
ref.
reference()
The underlying erlang resource variable.
Link to this section 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
index:
int
.Image index
corner:
Point
.Image top-left corner
mask:
Evision.Mat
.Image mask
Return
image:
Evision.Mat
.Image to process
Python prototype (for reference):
apply(index, corner, image, mask) -> image
Positional Arguments
- type:
int
Return
Python prototype (for reference):
createDefault(type) -> retval
@spec feed(t(), [{number(), number()}], [Evision.Mat.maybe_mat_in()], [ Evision.Mat.maybe_mat_in() ]) :: :ok | {:error, String.t()}
Positional Arguments
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):
feed(corners, images, masks) -> None
@spec getMatGains(t()) :: [Evision.Mat.t()] | {:error, String.t()}
Return
- arg1:
[Evision.Mat]
.
Python prototype (for reference):
getMatGains([, arg1]) -> arg1
Return
- retval:
bool
Python prototype (for reference):
getUpdateGain() -> retval
@spec setMatGains(t(), [Evision.Mat.maybe_mat_in()]) :: :ok | {:error, String.t()}
Positional Arguments
- arg1:
[Evision.Mat]
Python prototype (for reference):
setMatGains(arg1) -> None
Positional Arguments
- b:
bool
Python prototype (for reference):
setUpdateGain(b) -> None