View Source Evision.XFeatures2D.DAISY (Evision v0.2.9)

Summary

Types

t()

Type that represents an XFeatures2D.DAISY struct.

Types

@type t() :: %Evision.XFeatures2D.DAISY{ref: reference()}

Type that represents an XFeatures2D.DAISY struct.

  • ref. reference()

    The underlying erlang resource variable.

Functions

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

compute(self, images, keypoints)

View Source
@spec compute(t(), [Evision.Mat.maybe_mat_in()], [[Evision.KeyPoint.t()]]) ::
  {[[Evision.KeyPoint.t()]], [Evision.Mat.t()]} | {:error, String.t()}
@spec compute(t(), Evision.Mat.maybe_mat_in(), [Evision.KeyPoint.t()]) ::
  {[Evision.KeyPoint.t()], Evision.Mat.t()} | {:error, String.t()}

Variant 1:

compute

Positional Arguments
  • self: Evision.XFeatures2D.DAISY.t()

  • images: [Evision.Mat].

    Image set.

Return
  • keypoints: [[Evision.KeyPoint]].

    Input collection of keypoints. Keypoints for which a descriptor cannot be computed are removed. Sometimes new keypoints can be added, for example: SIFT duplicates keypoint with several dominant orientations (for each orientation).

  • descriptors: [Evision.Mat].

    Computed descriptors. In the second variant of the method descriptors[i] are descriptors computed for a keypoints[i]. Row j is the keypoints (or keypoints[i]) is the descriptor for keypoint j-th keypoint.

Has overloading in C++

Python prototype (for reference only):

compute(images, keypoints[, descriptors]) -> keypoints, descriptors

Variant 2:

Computes the descriptors for a set of keypoints detected in an image (first variant) or image set (second variant).

Positional Arguments
  • self: Evision.XFeatures2D.DAISY.t()

  • image: Evision.Mat.

    Image.

Return
  • keypoints: [Evision.KeyPoint].

    Input collection of keypoints. Keypoints for which a descriptor cannot be computed are removed. Sometimes new keypoints can be added, for example: SIFT duplicates keypoint with several dominant orientations (for each orientation).

  • descriptors: Evision.Mat.t().

    Computed descriptors. In the second variant of the method descriptors[i] are descriptors computed for a keypoints[i]. Row j is the keypoints (or keypoints[i]) is the descriptor for keypoint j-th keypoint.

Python prototype (for reference only):

compute(image, keypoints[, descriptors]) -> keypoints, descriptors
Link to this function

compute(self, images, keypoints, opts)

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

Variant 1:

compute

Positional Arguments
  • self: Evision.XFeatures2D.DAISY.t()

  • images: [Evision.Mat].

    Image set.

Return
  • keypoints: [[Evision.KeyPoint]].

    Input collection of keypoints. Keypoints for which a descriptor cannot be computed are removed. Sometimes new keypoints can be added, for example: SIFT duplicates keypoint with several dominant orientations (for each orientation).

  • descriptors: [Evision.Mat].

    Computed descriptors. In the second variant of the method descriptors[i] are descriptors computed for a keypoints[i]. Row j is the keypoints (or keypoints[i]) is the descriptor for keypoint j-th keypoint.

Has overloading in C++

Python prototype (for reference only):

compute(images, keypoints[, descriptors]) -> keypoints, descriptors

Variant 2:

Computes the descriptors for a set of keypoints detected in an image (first variant) or image set (second variant).

Positional Arguments
  • self: Evision.XFeatures2D.DAISY.t()

  • image: Evision.Mat.

    Image.

Return
  • keypoints: [Evision.KeyPoint].

    Input collection of keypoints. Keypoints for which a descriptor cannot be computed are removed. Sometimes new keypoints can be added, for example: SIFT duplicates keypoint with several dominant orientations (for each orientation).

  • descriptors: Evision.Mat.t().

    Computed descriptors. In the second variant of the method descriptors[i] are descriptors computed for a keypoints[i]. Row j is the keypoints (or keypoints[i]) is the descriptor for keypoint j-th keypoint.

Python prototype (for reference only):

compute(image, keypoints[, descriptors]) -> keypoints, descriptors
@spec create() :: t() | {:error, String.t()}

create

Keyword Arguments
  • radius: float.
  • q_radius: integer().
  • q_theta: integer().
  • q_hist: integer().
  • norm: DAISY_NormalizationType.
  • h: Evision.Mat.
  • interpolation: bool.
  • use_orientation: bool.
Return
  • retval: DAISY

Python prototype (for reference only):

create([, radius[, q_radius[, q_theta[, q_hist[, norm[, H[, interpolation[, use_orientation]]]]]]]]) -> retval
@spec create(Keyword.t()) :: any() | {:error, String.t()}
@spec create(
  [
    h: term(),
    interpolation: term(),
    norm: term(),
    q_hist: term(),
    q_radius: term(),
    q_theta: term(),
    radius: term(),
    use_orientation: term()
  ]
  | nil
) :: t() | {:error, String.t()}

create

Keyword Arguments
  • radius: float.
  • q_radius: integer().
  • q_theta: integer().
  • q_hist: integer().
  • norm: DAISY_NormalizationType.
  • h: Evision.Mat.
  • interpolation: bool.
  • use_orientation: bool.
Return
  • retval: DAISY

Python prototype (for reference only):

create([, radius[, q_radius[, q_theta[, q_hist[, norm[, H[, interpolation[, use_orientation]]]]]]]]) -> retval
@spec defaultNorm(Keyword.t()) :: any() | {:error, String.t()}
@spec defaultNorm(t()) :: integer() | {:error, String.t()}

defaultNorm

Positional Arguments
  • self: Evision.XFeatures2D.DAISY.t()
Return
  • retval: integer()

Python prototype (for reference only):

defaultNorm() -> retval
Link to this function

descriptorSize(named_args)

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

descriptorSize

Positional Arguments
  • self: Evision.XFeatures2D.DAISY.t()
Return
  • retval: integer()

Python prototype (for reference only):

descriptorSize() -> retval
Link to this function

descriptorType(named_args)

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

descriptorType

Positional Arguments
  • self: Evision.XFeatures2D.DAISY.t()
Return
  • retval: integer()

Python prototype (for reference only):

descriptorType() -> retval
@spec detect(Keyword.t()) :: any() | {:error, String.t()}
@spec detect(t(), [Evision.Mat.maybe_mat_in()]) ::
  [[Evision.KeyPoint.t()]] | {:error, String.t()}
@spec detect(t(), Evision.Mat.maybe_mat_in()) ::
  [Evision.KeyPoint.t()] | {:error, String.t()}

Variant 1:

detect

Positional Arguments
  • self: Evision.XFeatures2D.DAISY.t()

  • images: [Evision.Mat].

    Image set.

Keyword Arguments
  • masks: [Evision.Mat].

    Masks for each input image specifying where to look for keypoints (optional). masks[i] is a mask for images[i].

Return
  • keypoints: [[Evision.KeyPoint]].

    The detected keypoints. In the second variant of the method keypoints[i] is a set of keypoints detected in images[i] .

Has overloading in C++

Python prototype (for reference only):

detect(images[, masks]) -> keypoints

Variant 2:

Detects keypoints in an image (first variant) or image set (second variant).

Positional Arguments
  • self: Evision.XFeatures2D.DAISY.t()

  • image: Evision.Mat.

    Image.

Keyword Arguments
  • mask: Evision.Mat.

    Mask specifying where to look for keypoints (optional). It must be a 8-bit integer matrix with non-zero values in the region of interest.

Return
  • keypoints: [Evision.KeyPoint].

    The detected keypoints. In the second variant of the method keypoints[i] is a set of keypoints detected in images[i] .

Python prototype (for reference only):

detect(image[, mask]) -> keypoints
Link to this function

detect(self, images, opts)

View Source
@spec detect(t(), [Evision.Mat.maybe_mat_in()], [{:masks, term()}] | nil) ::
  [[Evision.KeyPoint.t()]] | {:error, String.t()}
@spec detect(t(), Evision.Mat.maybe_mat_in(), [{:mask, term()}] | nil) ::
  [Evision.KeyPoint.t()] | {:error, String.t()}

Variant 1:

detect

Positional Arguments
  • self: Evision.XFeatures2D.DAISY.t()

  • images: [Evision.Mat].

    Image set.

Keyword Arguments
  • masks: [Evision.Mat].

    Masks for each input image specifying where to look for keypoints (optional). masks[i] is a mask for images[i].

Return
  • keypoints: [[Evision.KeyPoint]].

    The detected keypoints. In the second variant of the method keypoints[i] is a set of keypoints detected in images[i] .

Has overloading in C++

Python prototype (for reference only):

detect(images[, masks]) -> keypoints

Variant 2:

Detects keypoints in an image (first variant) or image set (second variant).

Positional Arguments
  • self: Evision.XFeatures2D.DAISY.t()

  • image: Evision.Mat.

    Image.

Keyword Arguments
  • mask: Evision.Mat.

    Mask specifying where to look for keypoints (optional). It must be a 8-bit integer matrix with non-zero values in the region of interest.

Return
  • keypoints: [Evision.KeyPoint].

    The detected keypoints. In the second variant of the method keypoints[i] is a set of keypoints detected in images[i] .

Python prototype (for reference only):

detect(image[, mask]) -> keypoints
Link to this function

detectAndCompute(named_args)

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

detectAndCompute(self, image, mask)

View Source
@spec detectAndCompute(t(), Evision.Mat.maybe_mat_in(), Evision.Mat.maybe_mat_in()) ::
  {[Evision.KeyPoint.t()], Evision.Mat.t()} | {:error, String.t()}

detectAndCompute

Positional Arguments
Keyword Arguments
  • useProvidedKeypoints: bool.
Return
  • keypoints: [Evision.KeyPoint]
  • descriptors: Evision.Mat.t().

Detects keypoints and computes the descriptors

Python prototype (for reference only):

detectAndCompute(image, mask[, descriptors[, useProvidedKeypoints]]) -> keypoints, descriptors
Link to this function

detectAndCompute(self, image, mask, opts)

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

detectAndCompute

Positional Arguments
Keyword Arguments
  • useProvidedKeypoints: bool.
Return
  • keypoints: [Evision.KeyPoint]
  • descriptors: Evision.Mat.t().

Detects keypoints and computes the descriptors

Python prototype (for reference only):

detectAndCompute(image, mask[, descriptors[, useProvidedKeypoints]]) -> keypoints, descriptors
@spec empty(Keyword.t()) :: any() | {:error, String.t()}
@spec empty(t()) :: boolean() | {:error, String.t()}

empty

Positional Arguments
  • self: Evision.XFeatures2D.DAISY.t()
Return
  • retval: bool

Python prototype (for reference only):

empty() -> retval
Link to this function

getDefaultName(named_args)

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

getDefaultName

Positional Arguments
  • self: Evision.XFeatures2D.DAISY.t()
Return

Python prototype (for reference only):

getDefaultName() -> retval
@spec getH(Keyword.t()) :: any() | {:error, String.t()}
@spec getH(t()) :: Evision.Mat.t() | {:error, String.t()}

getH

Positional Arguments
  • self: Evision.XFeatures2D.DAISY.t()
Return
  • retval: Evision.Mat.t()

Python prototype (for reference only):

getH() -> retval
Link to this function

getInterpolation(named_args)

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

getInterpolation

Positional Arguments
  • self: Evision.XFeatures2D.DAISY.t()
Return
  • retval: bool

Python prototype (for reference only):

getInterpolation() -> retval
@spec getNorm(Keyword.t()) :: any() | {:error, String.t()}
@spec getNorm(t()) :: integer() | {:error, String.t()}

getNorm

Positional Arguments
  • self: Evision.XFeatures2D.DAISY.t()
Return
  • retval: integer()

Python prototype (for reference only):

getNorm() -> retval
@spec getQHist(Keyword.t()) :: any() | {:error, String.t()}
@spec getQHist(t()) :: integer() | {:error, String.t()}

getQHist

Positional Arguments
  • self: Evision.XFeatures2D.DAISY.t()
Return
  • retval: integer()

Python prototype (for reference only):

getQHist() -> retval
@spec getQRadius(Keyword.t()) :: any() | {:error, String.t()}
@spec getQRadius(t()) :: integer() | {:error, String.t()}

getQRadius

Positional Arguments
  • self: Evision.XFeatures2D.DAISY.t()
Return
  • retval: integer()

Python prototype (for reference only):

getQRadius() -> retval
@spec getQTheta(Keyword.t()) :: any() | {:error, String.t()}
@spec getQTheta(t()) :: integer() | {:error, String.t()}

getQTheta

Positional Arguments
  • self: Evision.XFeatures2D.DAISY.t()
Return
  • retval: integer()

Python prototype (for reference only):

getQTheta() -> retval
@spec getRadius(Keyword.t()) :: any() | {:error, String.t()}
@spec getRadius(t()) :: number() | {:error, String.t()}

getRadius

Positional Arguments
  • self: Evision.XFeatures2D.DAISY.t()
Return
  • retval: float

Python prototype (for reference only):

getRadius() -> retval
Link to this function

getUseOrientation(named_args)

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

getUseOrientation

Positional Arguments
  • self: Evision.XFeatures2D.DAISY.t()
Return
  • retval: bool

Python prototype (for reference only):

getUseOrientation() -> retval
@spec read(Keyword.t()) :: any() | {:error, String.t()}
@spec read(t(), Evision.FileNode.t()) :: t() | {:error, String.t()}
@spec read(t(), binary()) :: t() | {:error, String.t()}

Variant 1:

read

Positional Arguments

Python prototype (for reference only):

read(arg1) -> None

Variant 2:

read

Positional Arguments
  • self: Evision.XFeatures2D.DAISY.t()
  • fileName: String

Python prototype (for reference only):

read(fileName) -> None
@spec setH(Keyword.t()) :: any() | {:error, String.t()}
@spec setH(t(), Evision.Mat.maybe_mat_in()) :: t() | {:error, String.t()}

setH

Positional Arguments

Python prototype (for reference only):

setH(H) -> None
Link to this function

setInterpolation(named_args)

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

setInterpolation(self, interpolation)

View Source
@spec setInterpolation(t(), boolean()) :: t() | {:error, String.t()}

setInterpolation

Positional Arguments
  • self: Evision.XFeatures2D.DAISY.t()
  • interpolation: bool

Python prototype (for reference only):

setInterpolation(interpolation) -> None
@spec setNorm(Keyword.t()) :: any() | {:error, String.t()}
@spec setNorm(t(), integer()) :: t() | {:error, String.t()}

setNorm

Positional Arguments
  • self: Evision.XFeatures2D.DAISY.t()
  • norm: integer()

Python prototype (for reference only):

setNorm(norm) -> None
@spec setQHist(Keyword.t()) :: any() | {:error, String.t()}
@spec setQHist(t(), integer()) :: t() | {:error, String.t()}

setQHist

Positional Arguments
  • self: Evision.XFeatures2D.DAISY.t()
  • q_hist: integer()

Python prototype (for reference only):

setQHist(q_hist) -> None
@spec setQRadius(Keyword.t()) :: any() | {:error, String.t()}
Link to this function

setQRadius(self, q_radius)

View Source
@spec setQRadius(t(), integer()) :: t() | {:error, String.t()}

setQRadius

Positional Arguments
  • self: Evision.XFeatures2D.DAISY.t()
  • q_radius: integer()

Python prototype (for reference only):

setQRadius(q_radius) -> None
@spec setQTheta(Keyword.t()) :: any() | {:error, String.t()}
Link to this function

setQTheta(self, q_theta)

View Source
@spec setQTheta(t(), integer()) :: t() | {:error, String.t()}

setQTheta

Positional Arguments
  • self: Evision.XFeatures2D.DAISY.t()
  • q_theta: integer()

Python prototype (for reference only):

setQTheta(q_theta) -> None
@spec setRadius(Keyword.t()) :: any() | {:error, String.t()}
@spec setRadius(t(), number()) :: t() | {:error, String.t()}

setRadius

Positional Arguments
  • self: Evision.XFeatures2D.DAISY.t()
  • radius: float

Python prototype (for reference only):

setRadius(radius) -> None
Link to this function

setUseOrientation(named_args)

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

setUseOrientation(self, use_orientation)

View Source
@spec setUseOrientation(t(), boolean()) :: t() | {:error, String.t()}

setUseOrientation

Positional Arguments
  • self: Evision.XFeatures2D.DAISY.t()
  • use_orientation: bool

Python prototype (for reference only):

setUseOrientation(use_orientation) -> None
@spec write(Keyword.t()) :: any() | {:error, String.t()}
@spec write(t(), binary()) :: t() | {:error, String.t()}

write

Positional Arguments
  • self: Evision.XFeatures2D.DAISY.t()
  • fileName: String

Python prototype (for reference only):

write(fileName) -> None
@spec write(t(), Evision.FileStorage.t(), binary()) :: t() | {:error, String.t()}

write

Positional Arguments

Python prototype (for reference only):

write(fs, name) -> None