View Source Evision.LineMod (Evision v0.2.9)
Summary
Types
@type t() :: %Evision.LineMod{ref: reference()}
Type that represents an LineMod
struct.
ref.
reference()
The underlying erlang resource variable.
Functions
@spec colormap(Keyword.t()) :: any() | {:error, String.t()}
@spec colormap(Evision.Mat.maybe_mat_in()) :: Evision.Mat.t() | {:error, String.t()}
colormap
Positional Arguments
- quantized:
Evision.Mat
Return
- dst:
Evision.Mat.t()
.
\brief Debug function to colormap a quantized image for viewing.
Python prototype (for reference only):
colormap(quantized[, dst]) -> dst
@spec colormap(Evision.Mat.maybe_mat_in(), [{atom(), term()}, ...] | nil) :: Evision.Mat.t() | {:error, String.t()}
colormap
Positional Arguments
- quantized:
Evision.Mat
Return
- dst:
Evision.Mat.t()
.
\brief Debug function to colormap a quantized image for viewing.
Python prototype (for reference only):
colormap(quantized[, dst]) -> dst
@spec drawFeatures( Evision.Mat.maybe_mat_in(), [Evision.LineMod.Template.t()], {integer(), integer()} ) :: Evision.Mat.t() | {:error, String.t()}
drawFeatures
Positional Arguments
templates:
[Evision.LineMod.Template]
.see @ref Detector::addTemplate
tl:
Point2i
.template bbox top-left offset see @ref Detector::addTemplate
Keyword Arguments
size:
integer()
.marker size see @ref cv::drawMarker
Return
- img:
Evision.Mat.t()
.
\brief Debug function to draw linemod features
Python prototype (for reference only):
drawFeatures(img, templates, tl[, size]) -> img
@spec drawFeatures( Evision.Mat.maybe_mat_in(), [Evision.LineMod.Template.t()], {integer(), integer()}, [{:size, term()}] | nil ) :: Evision.Mat.t() | {:error, String.t()}
drawFeatures
Positional Arguments
templates:
[Evision.LineMod.Template]
.see @ref Detector::addTemplate
tl:
Point2i
.template bbox top-left offset see @ref Detector::addTemplate
Keyword Arguments
size:
integer()
.marker size see @ref cv::drawMarker
Return
- img:
Evision.Mat.t()
.
\brief Debug function to draw linemod features
Python prototype (for reference only):
drawFeatures(img, templates, tl[, size]) -> img
@spec getDefaultLINE() :: Evision.LineMod.Detector.t() | {:error, String.t()}
getDefaultLINE
Return
- retval:
Evision.LineMod.Detector.t()
\brief Factory function for detector using LINE algorithm with color gradients. Default parameter settings suitable for VGA images.
Python prototype (for reference only):
getDefaultLINE() -> retval
@spec getDefaultLINEMOD() :: Evision.LineMod.Detector.t() | {:error, String.t()}
getDefaultLINEMOD
Return
- retval:
Evision.LineMod.Detector.t()
\brief Factory function for detector using LINE-MOD algorithm with color gradients and depth normals. Default parameter settings suitable for VGA images.
Python prototype (for reference only):
getDefaultLINEMOD() -> retval