View Source Evision.MCC.CChecker (Evision v0.2.1)
Summary
Functions
create
getBox
getCenter
getChartsRGB
getChartsYCbCr
Computes and returns the coordinates of the central parts of the charts modules.
getCost
getTarget
setBox
setCenter
setChartsRGB
setChartsYCbCr
setCost
setTarget
Types
@type t() :: %Evision.MCC.CChecker{ref: reference()}
Type that represents an MCC.CChecker
struct.
ref.
reference()
The underlying erlang resource variable.
Functions
create
Return
- retval:
CChecker
\brief Create a new CChecker object. \return A pointer to the implementation of the CChecker
Python prototype (for reference only):
create() -> retval
getBox
Positional Arguments
- self:
Evision.MCC.CChecker.t()
Return
- retval:
[Point2f]
Python prototype (for reference only):
getBox() -> retval
getCenter
Positional Arguments
- self:
Evision.MCC.CChecker.t()
Return
- retval:
Point2f
Python prototype (for reference only):
getCenter() -> retval
@spec getChartsRGB(Evision.MCC.MCC.CChecker.t()) :: Evision.Mat.t() | {:error, String.t()}
getChartsRGB
Positional Arguments
- self:
Evision.MCC.CChecker.t()
Return
- retval:
Evision.Mat.t()
Python prototype (for reference only):
getChartsRGB() -> retval
@spec getChartsYCbCr(Evision.MCC.MCC.CChecker.t()) :: Evision.Mat.t() | {:error, String.t()}
getChartsYCbCr
Positional Arguments
- self:
Evision.MCC.CChecker.t()
Return
- retval:
Evision.Mat.t()
Python prototype (for reference only):
getChartsYCbCr() -> retval
Computes and returns the coordinates of the central parts of the charts modules.
Positional Arguments
- self:
Evision.MCC.CChecker.t()
Return
- retval:
[Point2f]
This method computes transformation matrix from the checkers's coordinates (cv::mcc::CChecker::getBox()
)
and find by this the coordinates of the central parts of the charts modules.
It is used in cv::mcc::CCheckerDraw::draw()
and in ChartsRGB
calculation.
Python prototype (for reference only):
getColorCharts() -> retval
getCost
Positional Arguments
- self:
Evision.MCC.CChecker.t()
Return
- retval:
float
Python prototype (for reference only):
getCost() -> retval
getTarget
Positional Arguments
- self:
Evision.MCC.CChecker.t()
Return
- retval:
TYPECHART
Python prototype (for reference only):
getTarget() -> retval
@spec setBox(Evision.MCC.MCC.CChecker.t(), [{number(), number()}]) :: Evision.MCC.MCC.CChecker.t() | {:error, String.t()}
setBox
Positional Arguments
- self:
Evision.MCC.CChecker.t()
- box:
[Point2f]
Python prototype (for reference only):
setBox(_box) -> None
@spec setCenter( Evision.MCC.MCC.CChecker.t(), {number(), number()} ) :: Evision.MCC.MCC.CChecker.t() | {:error, String.t()}
setCenter
Positional Arguments
- self:
Evision.MCC.CChecker.t()
- center:
Point2f
Python prototype (for reference only):
setCenter(_center) -> None
@spec setChartsRGB(Evision.MCC.MCC.CChecker.t(), Evision.Mat.maybe_mat_in()) :: Evision.MCC.MCC.CChecker.t() | {:error, String.t()}
setChartsRGB
Positional Arguments
- self:
Evision.MCC.CChecker.t()
- chartsRGB:
Evision.Mat.t()
Python prototype (for reference only):
setChartsRGB(_chartsRGB) -> None
@spec setChartsYCbCr(Evision.MCC.MCC.CChecker.t(), Evision.Mat.maybe_mat_in()) :: Evision.MCC.MCC.CChecker.t() | {:error, String.t()}
setChartsYCbCr
Positional Arguments
- self:
Evision.MCC.CChecker.t()
- chartsYCbCr:
Evision.Mat.t()
Python prototype (for reference only):
setChartsYCbCr(_chartsYCbCr) -> None
@spec setCost(Evision.MCC.MCC.CChecker.t(), number()) :: Evision.MCC.MCC.CChecker.t() | {:error, String.t()}
setCost
Positional Arguments
- self:
Evision.MCC.CChecker.t()
- cost:
float
Python prototype (for reference only):
setCost(_cost) -> None
@spec setTarget(Evision.MCC.MCC.CChecker.t(), integer()) :: Evision.MCC.MCC.CChecker.t() | {:error, String.t()}
setTarget
Positional Arguments
- self:
Evision.MCC.CChecker.t()
- target:
TYPECHART
Python prototype (for reference only):
setTarget(_target) -> None