View Source Evision.CUDA.SURFCUDA (Evision v0.2.9)
Summary
Functions
create
defaultNorm
descriptorSize
Finds the keypoints using fast hessian detector used in SURF
Finds the keypoints using fast hessian detector used in SURF
Finds the keypoints and computes their descriptors using fast hessian detector used in SURF
Finds the keypoints and computes their descriptors using fast hessian detector used in SURF
downloadKeypoints
Types
@type t() :: %Evision.CUDA.SURFCUDA{ref: reference()}
Type that represents an CUDA.SURFCUDA
struct.
ref.
reference()
The underlying erlang resource variable.
Functions
@spec create(Keyword.t()) :: any() | {:error, String.t()}
@spec create(number()) :: t() | {:error, String.t()}
create
Positional Arguments
hessianThreshold:
double
.Threshold for hessian keypoint detector used in SURF.
Keyword Arguments
nOctaves:
integer()
.Number of pyramid octaves the keypoint detector will use.
nOctaveLayers:
integer()
.Number of octave layers within each octave.
extended:
bool
.Extended descriptor flag (true - use extended 128-element descriptors; false - use 64-element descriptors).
keypointsRatio:
float
.Limits a maximum number of features
upright:
bool
.Up-right or rotated features flag (true - do not compute orientation of features; false - compute orientation).
Return
- retval:
SURF_CUDA
Python prototype (for reference only):
create(_hessianThreshold[, _nOctaves[, _nOctaveLayers[, _extended[, _keypointsRatio[, _upright]]]]]) -> retval
@spec create( number(), [ extended: term(), keypointsRatio: term(), nOctaveLayers: term(), nOctaves: term(), upright: term() ] | nil ) :: t() | {:error, String.t()}
create
Positional Arguments
hessianThreshold:
double
.Threshold for hessian keypoint detector used in SURF.
Keyword Arguments
nOctaves:
integer()
.Number of pyramid octaves the keypoint detector will use.
nOctaveLayers:
integer()
.Number of octave layers within each octave.
extended:
bool
.Extended descriptor flag (true - use extended 128-element descriptors; false - use 64-element descriptors).
keypointsRatio:
float
.Limits a maximum number of features
upright:
bool
.Up-right or rotated features flag (true - do not compute orientation of features; false - compute orientation).
Return
- retval:
SURF_CUDA
Python prototype (for reference only):
create(_hessianThreshold[, _nOctaves[, _nOctaveLayers[, _extended[, _keypointsRatio[, _upright]]]]]) -> retval
@spec defaultNorm(Keyword.t()) :: any() | {:error, String.t()}
@spec defaultNorm(t()) :: integer() | {:error, String.t()}
defaultNorm
Positional Arguments
- self:
Evision.CUDA.SURFCUDA.t()
Return
- retval:
integer()
Python prototype (for reference only):
defaultNorm() -> retval
@spec descriptorSize(Keyword.t()) :: any() | {:error, String.t()}
@spec descriptorSize(t()) :: integer() | {:error, String.t()}
descriptorSize
Positional Arguments
- self:
Evision.CUDA.SURFCUDA.t()
Return
- retval:
integer()
Python prototype (for reference only):
descriptorSize() -> retval
@spec detect(t(), Evision.CUDA.GpuMat.t(), Evision.CUDA.GpuMat.t()) :: Evision.CUDA.GpuMat.t() | {:error, String.t()}
Finds the keypoints using fast hessian detector used in SURF
Positional Arguments
self:
Evision.CUDA.SURFCUDA.t()
img:
Evision.CUDA.GpuMat.t()
.Source image, currently supports only CV_8UC1 images.
mask:
Evision.CUDA.GpuMat.t()
.A mask image same size as src and of type CV_8UC1.
Return
keypoints:
Evision.CUDA.GpuMat.t()
.Detected keypoints.
Python prototype (for reference only):
detect(img, mask[, keypoints]) -> keypoints
@spec detect( t(), Evision.CUDA.GpuMat.t(), Evision.CUDA.GpuMat.t(), [{atom(), term()}, ...] | nil ) :: Evision.CUDA.GpuMat.t() | {:error, String.t()}
Finds the keypoints using fast hessian detector used in SURF
Positional Arguments
self:
Evision.CUDA.SURFCUDA.t()
img:
Evision.CUDA.GpuMat.t()
.Source image, currently supports only CV_8UC1 images.
mask:
Evision.CUDA.GpuMat.t()
.A mask image same size as src and of type CV_8UC1.
Return
keypoints:
Evision.CUDA.GpuMat.t()
.Detected keypoints.
Python prototype (for reference only):
detect(img, mask[, keypoints]) -> keypoints
@spec detectWithDescriptors(t(), Evision.CUDA.GpuMat.t(), Evision.CUDA.GpuMat.t()) :: {Evision.CUDA.GpuMat.t(), Evision.CUDA.GpuMat.t()} | {:error, String.t()}
Finds the keypoints and computes their descriptors using fast hessian detector used in SURF
Positional Arguments
self:
Evision.CUDA.SURFCUDA.t()
img:
Evision.CUDA.GpuMat.t()
.Source image, currently supports only CV_8UC1 images.
mask:
Evision.CUDA.GpuMat.t()
.A mask image same size as src and of type CV_8UC1.
Keyword Arguments
useProvidedKeypoints:
bool
.Compute descriptors for the user-provided keypoints and recompute keypoints direction.
Return
keypoints:
Evision.CUDA.GpuMat.t()
.Detected keypoints.
descriptors:
Evision.CUDA.GpuMat.t()
.Keypoint descriptors.
Python prototype (for reference only):
detectWithDescriptors(img, mask[, keypoints[, descriptors[, useProvidedKeypoints]]]) -> keypoints, descriptors
@spec detectWithDescriptors( t(), Evision.CUDA.GpuMat.t(), Evision.CUDA.GpuMat.t(), [{:useProvidedKeypoints, term()}] | nil ) :: {Evision.CUDA.GpuMat.t(), Evision.CUDA.GpuMat.t()} | {:error, String.t()}
Finds the keypoints and computes their descriptors using fast hessian detector used in SURF
Positional Arguments
self:
Evision.CUDA.SURFCUDA.t()
img:
Evision.CUDA.GpuMat.t()
.Source image, currently supports only CV_8UC1 images.
mask:
Evision.CUDA.GpuMat.t()
.A mask image same size as src and of type CV_8UC1.
Keyword Arguments
useProvidedKeypoints:
bool
.Compute descriptors for the user-provided keypoints and recompute keypoints direction.
Return
keypoints:
Evision.CUDA.GpuMat.t()
.Detected keypoints.
descriptors:
Evision.CUDA.GpuMat.t()
.Keypoint descriptors.
Python prototype (for reference only):
detectWithDescriptors(img, mask[, keypoints[, descriptors[, useProvidedKeypoints]]]) -> keypoints, descriptors
@spec downloadKeypoints(t(), Evision.CUDA.GpuMat.t()) :: [Evision.KeyPoint.t()] | {:error, String.t()}
downloadKeypoints
Positional Arguments
- self:
Evision.CUDA.SURFCUDA.t()
- keypointsGPU:
Evision.CUDA.GpuMat.t()
Return
- keypoints:
[Evision.KeyPoint]
Python prototype (for reference only):
downloadKeypoints(keypointsGPU) -> keypoints