View Source Evision.LineMod (Evision v0.2.9)

Summary

Types

t()

Type that represents an LineMod struct.

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
Return
  • dst: Evision.Mat.t().

\brief Debug function to colormap a quantized image for viewing.

Python prototype (for reference only):

colormap(quantized[, dst]) -> dst
Link to this function

colormap(quantized, opts)

View Source
@spec colormap(Evision.Mat.maybe_mat_in(), [{atom(), term()}, ...] | nil) ::
  Evision.Mat.t() | {:error, String.t()}

colormap

Positional Arguments
Return
  • dst: Evision.Mat.t().

\brief Debug function to colormap a quantized image for viewing.

Python prototype (for reference only):

colormap(quantized[, dst]) -> dst
Link to this function

drawFeatures(named_args)

View Source
@spec drawFeatures(Keyword.t()) :: any() | {:error, String.t()}
Link to this function

drawFeatures(img, templates, tl)

View Source
@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
Link to this function

drawFeatures(img, templates, tl, opts)

View Source
@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
Link to this function

getDefaultLINE(named_args)

View Source
@spec getDefaultLINE(Keyword.t()) :: any() | {:error, String.t()}
@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
Link to this function

getDefaultLINEMOD(named_args)

View Source
@spec getDefaultLINEMOD(Keyword.t()) :: any() | {:error, String.t()}