View Source Evision.Detail.BlocksCompensator (Evision v0.1.23)
Link to this section Summary
Types
Type that represents an Evision.Detail.BlocksCompensator
struct.
Functions
getBlockSize
getMatGains
getMatGains
getNrFeeds
getNrGainsFilteringIterations
getSimilarityThreshold
setBlockSize
setBlockSize
setMatGains
setNrFeeds
setNrGainsFilteringIterations
setSimilarityThreshold
Link to this section Types
@type t() :: %Evision.Detail.BlocksCompensator{ref: reference()}
Type that represents an Evision.Detail.BlocksCompensator
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()}
apply
Positional Arguments
- self:
Evision.Detail.BlocksCompensator.t()
- index:
int
- corner:
Point
- mask:
Evision.Mat
Return
- image:
Evision.Mat
Python prototype (for reference only):
apply(index, corner, image, mask) -> image
getBlockSize
Positional Arguments
- self:
Evision.Detail.BlocksCompensator.t()
Return
- retval:
Size
Python prototype (for reference only):
getBlockSize() -> retval
@spec getMatGains(t()) :: [Evision.Mat.t()] | {:error, String.t()}
getMatGains
Positional Arguments
- self:
Evision.Detail.BlocksCompensator.t()
Return
- umv:
[Evision.Mat]
.
Python prototype (for reference only):
getMatGains([, umv]) -> umv
@spec getMatGains(t(), [{atom(), term()}, ...] | nil) :: [Evision.Mat.t()] | {:error, String.t()}
getMatGains
Positional Arguments
- self:
Evision.Detail.BlocksCompensator.t()
Return
- umv:
[Evision.Mat]
.
Python prototype (for reference only):
getMatGains([, umv]) -> umv
getNrFeeds
Positional Arguments
- self:
Evision.Detail.BlocksCompensator.t()
Return
- retval:
int
Python prototype (for reference only):
getNrFeeds() -> retval
getNrGainsFilteringIterations
Positional Arguments
- self:
Evision.Detail.BlocksCompensator.t()
Return
- retval:
int
Python prototype (for reference only):
getNrGainsFilteringIterations() -> retval
getSimilarityThreshold
Positional Arguments
- self:
Evision.Detail.BlocksCompensator.t()
Return
- retval:
double
Python prototype (for reference only):
getSimilarityThreshold() -> retval
setBlockSize
Positional Arguments
- self:
Evision.Detail.BlocksCompensator.t()
- size:
Size
Python prototype (for reference only):
setBlockSize(size) -> None
setBlockSize
Positional Arguments
- self:
Evision.Detail.BlocksCompensator.t()
- width:
int
- height:
int
Python prototype (for reference only):
setBlockSize(width, height) -> None
@spec setMatGains(t(), [Evision.Mat.maybe_mat_in()]) :: :ok | {:error, String.t()}
setMatGains
Positional Arguments
- self:
Evision.Detail.BlocksCompensator.t()
- umv:
[Evision.Mat]
Python prototype (for reference only):
setMatGains(umv) -> None
setNrFeeds
Positional Arguments
- self:
Evision.Detail.BlocksCompensator.t()
- nr_feeds:
int
Python prototype (for reference only):
setNrFeeds(nr_feeds) -> None
setNrGainsFilteringIterations
Positional Arguments
- self:
Evision.Detail.BlocksCompensator.t()
- nr_iterations:
int
Python prototype (for reference only):
setNrGainsFilteringIterations(nr_iterations) -> None
setSimilarityThreshold
Positional Arguments
- self:
Evision.Detail.BlocksCompensator.t()
- similarity_threshold:
double
Python prototype (for reference only):
setSimilarityThreshold(similarity_threshold) -> None