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

Summary

Types

t()

Type that represents an LineDescriptor.KeyLine struct.

Types

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

Type that represents an LineDescriptor.KeyLine struct.

  • ref. reference()

    The underlying erlang resource variable.

Functions

@spec get_angle(t()) :: number()
@spec get_class_id(t()) :: integer()
@spec get_endPointX(t()) :: number()
@spec get_endPointY(t()) :: number()
Link to this function

get_ePointInOctaveX(self)

View Source
@spec get_ePointInOctaveX(t()) :: number()
Link to this function

get_ePointInOctaveY(self)

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

get_sPointInOctaveX(self)

View Source
@spec get_sPointInOctaveX(t()) :: number()
Link to this function

get_sPointInOctaveY(self)

View Source
@spec get_sPointInOctaveY(t()) :: number()
@spec get_startPointX(t()) :: number()
@spec get_startPointY(t()) :: number()
@spec getEndPoint(Keyword.t()) :: any() | {:error, String.t()}
@spec getEndPoint(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(named_args)

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

getStartPoint(named_args)

View Source
@spec getStartPoint(Keyword.t()) :: any() | {:error, String.t()}
@spec getStartPoint(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(named_args)

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

KeyLine

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

constructor

Python prototype (for reference only):

KeyLine() -> <line_descriptor_KeyLine object>
@spec keyLine(Keyword.t()) :: any() | {:error, String.t()}
@spec set_angle(t(), number()) :: t()
Link to this function

set_class_id(self, prop)

View Source
@spec set_class_id(t(), integer()) :: t()
Link to this function

set_endPointX(self, prop)

View Source
@spec set_endPointX(t(), number()) :: t()
Link to this function

set_endPointY(self, prop)

View Source
@spec set_endPointY(t(), number()) :: t()
Link to this function

set_ePointInOctaveX(self, prop)

View Source
@spec set_ePointInOctaveX(t(), number()) :: t()
Link to this function

set_ePointInOctaveY(self, prop)

View Source
@spec set_ePointInOctaveY(t(), number()) :: t()
Link to this function

set_lineLength(self, prop)

View Source
@spec set_lineLength(t(), number()) :: t()
Link to this function

set_numOfPixels(self, prop)

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

set_response(self, prop)

View Source
@spec set_response(t(), number()) :: t()
@spec set_size(t(), number()) :: t()
Link to this function

set_sPointInOctaveX(self, prop)

View Source
@spec set_sPointInOctaveX(t(), number()) :: t()
Link to this function

set_sPointInOctaveY(self, prop)

View Source
@spec set_sPointInOctaveY(t(), number()) :: t()
Link to this function

set_startPointX(self, prop)

View Source
@spec set_startPointX(t(), number()) :: t()
Link to this function

set_startPointY(self, prop)

View Source
@spec set_startPointY(t(), number()) :: t()