View Source Evision.LineDescriptor.KeyLine (Evision v0.1.28)

Link to this section Summary

Types

t()

Type that represents an LineDescriptor.KeyLine struct.

Link to this section Types

@type t() :: %Evision.LineDescriptor.KeyLine{ref: reference()}

Type that represents an LineDescriptor.KeyLine struct.

  • ref. reference()

    The underlying erlang resource variable.

Link to this section Functions

@spec get_angle(Evision.LineDescriptor.BinaryDescriptor.KeyLine.t()) :: number()
@spec get_class_id(Evision.LineDescriptor.BinaryDescriptor.KeyLine.t()) :: integer()
@spec get_endPointX(Evision.LineDescriptor.BinaryDescriptor.KeyLine.t()) :: number()
@spec get_endPointY(Evision.LineDescriptor.BinaryDescriptor.KeyLine.t()) :: number()
Link to this function

get_ePointInOctaveX(self)

View Source
@spec get_ePointInOctaveX(Evision.LineDescriptor.BinaryDescriptor.KeyLine.t()) ::
  number()
Link to this function

get_ePointInOctaveY(self)

View Source
@spec get_ePointInOctaveY(Evision.LineDescriptor.BinaryDescriptor.KeyLine.t()) ::
  number()
@spec get_lineLength(Evision.LineDescriptor.BinaryDescriptor.KeyLine.t()) :: number()
@spec get_numOfPixels(Evision.LineDescriptor.BinaryDescriptor.KeyLine.t()) ::
  integer()
@spec get_octave(Evision.LineDescriptor.BinaryDescriptor.KeyLine.t()) :: integer()
@spec get_pt(Evision.LineDescriptor.BinaryDescriptor.KeyLine.t()) ::
  {number(), number()}
@spec get_response(Evision.LineDescriptor.BinaryDescriptor.KeyLine.t()) :: number()
@spec get_size(Evision.LineDescriptor.BinaryDescriptor.KeyLine.t()) :: number()
Link to this function

get_sPointInOctaveX(self)

View Source
@spec get_sPointInOctaveX(Evision.LineDescriptor.BinaryDescriptor.KeyLine.t()) ::
  number()
Link to this function

get_sPointInOctaveY(self)

View Source
@spec get_sPointInOctaveY(Evision.LineDescriptor.BinaryDescriptor.KeyLine.t()) ::
  number()
@spec get_startPointX(Evision.LineDescriptor.BinaryDescriptor.KeyLine.t()) :: number()
@spec get_startPointY(Evision.LineDescriptor.BinaryDescriptor.KeyLine.t()) :: number()
@spec getEndPoint(Evision.LineDescriptor.BinaryDescriptor.KeyLine.t()) ::
  {number(), number()} | {:error, String.t()}

getEndPoint

Positional Arguments
  • self: Evision.LineDescriptor.KeyLine.t()
Return
  • retval: Point2f

Returns the end point of the line in the original image

Python prototype (for reference only):

getEndPoint() -> retval
Link to this function

getEndPointInOctave(self)

View Source
@spec getEndPointInOctave(Evision.LineDescriptor.BinaryDescriptor.KeyLine.t()) ::
  {number(), number()} | {:error, String.t()}

getEndPointInOctave

Positional Arguments
  • self: Evision.LineDescriptor.KeyLine.t()
Return
  • retval: Point2f

Returns the end point of the line in the octave it was extracted from

Python prototype (for reference only):

getEndPointInOctave() -> retval
@spec getStartPoint(Evision.LineDescriptor.BinaryDescriptor.KeyLine.t()) ::
  {number(), number()} | {:error, String.t()}

getStartPoint

Positional Arguments
  • self: Evision.LineDescriptor.KeyLine.t()
Return
  • retval: Point2f

Returns the start point of the line in the original image

Python prototype (for reference only):

getStartPoint() -> retval
Link to this function

getStartPointInOctave(self)

View Source
@spec getStartPointInOctave(Evision.LineDescriptor.BinaryDescriptor.KeyLine.t()) ::
  {number(), number()} | {:error, String.t()}

getStartPointInOctave

Positional Arguments
  • self: Evision.LineDescriptor.KeyLine.t()
Return
  • retval: Point2f

Returns the start point of the line in the octave it was extracted from

Python prototype (for reference only):

getStartPointInOctave() -> retval
@spec keyLine() ::
  Evision.LineDescriptor.BinaryDescriptor.KeyLine.t() | {:error, String.t()}

KeyLine

Return
  • self: Evision.LineDescriptor.BinaryDescriptor.KeyLine.t()

constructor

Python prototype (for reference only):

KeyLine() -> <line_descriptor_KeyLine object>
@spec set_angle(Evision.LineDescriptor.BinaryDescriptor.KeyLine.t(), number()) ::
  Evision.LineDescriptor.BinaryDescriptor.KeyLine.t()
Link to this function

set_class_id(self, prop)

View Source
@spec set_class_id(Evision.LineDescriptor.BinaryDescriptor.KeyLine.t(), integer()) ::
  Evision.LineDescriptor.BinaryDescriptor.KeyLine.t()
Link to this function

set_endPointX(self, prop)

View Source
@spec set_endPointX(Evision.LineDescriptor.BinaryDescriptor.KeyLine.t(), number()) ::
  Evision.LineDescriptor.BinaryDescriptor.KeyLine.t()
Link to this function

set_endPointY(self, prop)

View Source
@spec set_endPointY(Evision.LineDescriptor.BinaryDescriptor.KeyLine.t(), number()) ::
  Evision.LineDescriptor.BinaryDescriptor.KeyLine.t()
Link to this function

set_ePointInOctaveX(self, prop)

View Source
@spec set_ePointInOctaveX(
  Evision.LineDescriptor.BinaryDescriptor.KeyLine.t(),
  number()
) ::
  Evision.LineDescriptor.BinaryDescriptor.KeyLine.t()
Link to this function

set_ePointInOctaveY(self, prop)

View Source
@spec set_ePointInOctaveY(
  Evision.LineDescriptor.BinaryDescriptor.KeyLine.t(),
  number()
) ::
  Evision.LineDescriptor.BinaryDescriptor.KeyLine.t()
Link to this function

set_lineLength(self, prop)

View Source
@spec set_lineLength(Evision.LineDescriptor.BinaryDescriptor.KeyLine.t(), number()) ::
  Evision.LineDescriptor.BinaryDescriptor.KeyLine.t()
Link to this function

set_numOfPixels(self, prop)

View Source
@spec set_numOfPixels(Evision.LineDescriptor.BinaryDescriptor.KeyLine.t(), integer()) ::
  Evision.LineDescriptor.BinaryDescriptor.KeyLine.t()
@spec set_octave(Evision.LineDescriptor.BinaryDescriptor.KeyLine.t(), integer()) ::
  Evision.LineDescriptor.BinaryDescriptor.KeyLine.t()
@spec set_pt(
  Evision.LineDescriptor.BinaryDescriptor.KeyLine.t(),
  {number(), number()}
) :: Evision.LineDescriptor.BinaryDescriptor.KeyLine.t()
Link to this function

set_response(self, prop)

View Source
@spec set_response(Evision.LineDescriptor.BinaryDescriptor.KeyLine.t(), number()) ::
  Evision.LineDescriptor.BinaryDescriptor.KeyLine.t()
@spec set_size(Evision.LineDescriptor.BinaryDescriptor.KeyLine.t(), number()) ::
  Evision.LineDescriptor.BinaryDescriptor.KeyLine.t()
Link to this function

set_sPointInOctaveX(self, prop)

View Source
@spec set_sPointInOctaveX(
  Evision.LineDescriptor.BinaryDescriptor.KeyLine.t(),
  number()
) ::
  Evision.LineDescriptor.BinaryDescriptor.KeyLine.t()
Link to this function

set_sPointInOctaveY(self, prop)

View Source
@spec set_sPointInOctaveY(
  Evision.LineDescriptor.BinaryDescriptor.KeyLine.t(),
  number()
) ::
  Evision.LineDescriptor.BinaryDescriptor.KeyLine.t()
Link to this function

set_startPointX(self, prop)

View Source
@spec set_startPointX(Evision.LineDescriptor.BinaryDescriptor.KeyLine.t(), number()) ::
  Evision.LineDescriptor.BinaryDescriptor.KeyLine.t()
Link to this function

set_startPointY(self, prop)

View Source
@spec set_startPointY(Evision.LineDescriptor.BinaryDescriptor.KeyLine.t(), number()) ::
  Evision.LineDescriptor.BinaryDescriptor.KeyLine.t()