View Source Evision.CUDA.HoughCirclesDetector (Evision v0.2.9)
Summary
Functions
Clears the algorithm state
Variant 1:
Finds circles in a grayscale image using the Hough transform.
Variant 1:
Finds circles in a grayscale image using the Hough transform.
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
getCannyThreshold
getDefaultName
getDp
getMaxCircles
getMaxRadius
getMinDist
getMinRadius
getVotesThreshold
Reads algorithm parameters from a file storage
save
setCannyThreshold
setDp
setMaxCircles
setMaxRadius
setMinDist
setMinRadius
setVotesThreshold
Stores algorithm parameters in a file storage
write
Types
@type t() :: %Evision.CUDA.HoughCirclesDetector{ref: reference()}
Type that represents an CUDA.HoughCirclesDetector
struct.
ref.
reference()
The underlying erlang resource variable.
Functions
@spec clear(Keyword.t()) :: any() | {:error, String.t()}
@spec clear(t()) :: t() | {:error, String.t()}
Clears the algorithm state
Positional Arguments
- self:
Evision.CUDA.HoughCirclesDetector.t()
Python prototype (for reference only):
clear() -> None
@spec detect(t(), Evision.Mat.maybe_mat_in()) :: Evision.Mat.t() | {:error, String.t()}
@spec detect(t(), Evision.CUDA.GpuMat.t()) :: Evision.CUDA.GpuMat.t() | {:error, String.t()}
Variant 1:
Finds circles in a grayscale image using the Hough transform.
Positional Arguments
self:
Evision.CUDA.HoughCirclesDetector.t()
src:
Evision.Mat
.8-bit, single-channel grayscale input image.
Keyword Arguments
stream:
Evision.CUDA.Stream.t()
.Stream for the asynchronous version.
Return
circles:
Evision.Mat.t()
.Output vector of found circles. Each vector is encoded as a 3-element floating-point vector \f$(x, y, radius)\f$ .
@sa HoughCircles
Python prototype (for reference only):
detect(src[, circles[, stream]]) -> circles
Variant 2:
Finds circles in a grayscale image using the Hough transform.
Positional Arguments
self:
Evision.CUDA.HoughCirclesDetector.t()
src:
Evision.CUDA.GpuMat.t()
.8-bit, single-channel grayscale input image.
Keyword Arguments
stream:
Evision.CUDA.Stream.t()
.Stream for the asynchronous version.
Return
circles:
Evision.CUDA.GpuMat.t()
.Output vector of found circles. Each vector is encoded as a 3-element floating-point vector \f$(x, y, radius)\f$ .
@sa HoughCircles
Python prototype (for reference only):
detect(src[, circles[, stream]]) -> circles
@spec detect(t(), Evision.Mat.maybe_mat_in(), [{:stream, term()}] | nil) :: Evision.Mat.t() | {:error, String.t()}
@spec detect(t(), Evision.CUDA.GpuMat.t(), [{:stream, term()}] | nil) :: Evision.CUDA.GpuMat.t() | {:error, String.t()}
Variant 1:
Finds circles in a grayscale image using the Hough transform.
Positional Arguments
self:
Evision.CUDA.HoughCirclesDetector.t()
src:
Evision.Mat
.8-bit, single-channel grayscale input image.
Keyword Arguments
stream:
Evision.CUDA.Stream.t()
.Stream for the asynchronous version.
Return
circles:
Evision.Mat.t()
.Output vector of found circles. Each vector is encoded as a 3-element floating-point vector \f$(x, y, radius)\f$ .
@sa HoughCircles
Python prototype (for reference only):
detect(src[, circles[, stream]]) -> circles
Variant 2:
Finds circles in a grayscale image using the Hough transform.
Positional Arguments
self:
Evision.CUDA.HoughCirclesDetector.t()
src:
Evision.CUDA.GpuMat.t()
.8-bit, single-channel grayscale input image.
Keyword Arguments
stream:
Evision.CUDA.Stream.t()
.Stream for the asynchronous version.
Return
circles:
Evision.CUDA.GpuMat.t()
.Output vector of found circles. Each vector is encoded as a 3-element floating-point vector \f$(x, y, radius)\f$ .
@sa HoughCircles
Python prototype (for reference only):
detect(src[, circles[, stream]]) -> circles
@spec empty(Keyword.t()) :: any() | {:error, String.t()}
@spec empty(t()) :: boolean() | {:error, String.t()}
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Positional Arguments
- self:
Evision.CUDA.HoughCirclesDetector.t()
Return
- retval:
bool
Python prototype (for reference only):
empty() -> retval
@spec getCannyThreshold(Keyword.t()) :: any() | {:error, String.t()}
@spec getCannyThreshold(t()) :: integer() | {:error, String.t()}
getCannyThreshold
Positional Arguments
- self:
Evision.CUDA.HoughCirclesDetector.t()
Return
- retval:
integer()
Python prototype (for reference only):
getCannyThreshold() -> retval
@spec getDefaultName(Keyword.t()) :: any() | {:error, String.t()}
@spec getDefaultName(t()) :: binary() | {:error, String.t()}
getDefaultName
Positional Arguments
- self:
Evision.CUDA.HoughCirclesDetector.t()
Return
- retval:
String
Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Python prototype (for reference only):
getDefaultName() -> retval
@spec getDp(Keyword.t()) :: any() | {:error, String.t()}
@spec getDp(t()) :: number() | {:error, String.t()}
getDp
Positional Arguments
- self:
Evision.CUDA.HoughCirclesDetector.t()
Return
- retval:
float
Python prototype (for reference only):
getDp() -> retval
@spec getMaxCircles(Keyword.t()) :: any() | {:error, String.t()}
@spec getMaxCircles(t()) :: integer() | {:error, String.t()}
getMaxCircles
Positional Arguments
- self:
Evision.CUDA.HoughCirclesDetector.t()
Return
- retval:
integer()
Python prototype (for reference only):
getMaxCircles() -> retval
@spec getMaxRadius(Keyword.t()) :: any() | {:error, String.t()}
@spec getMaxRadius(t()) :: integer() | {:error, String.t()}
getMaxRadius
Positional Arguments
- self:
Evision.CUDA.HoughCirclesDetector.t()
Return
- retval:
integer()
Python prototype (for reference only):
getMaxRadius() -> retval
@spec getMinDist(Keyword.t()) :: any() | {:error, String.t()}
@spec getMinDist(t()) :: number() | {:error, String.t()}
getMinDist
Positional Arguments
- self:
Evision.CUDA.HoughCirclesDetector.t()
Return
- retval:
float
Python prototype (for reference only):
getMinDist() -> retval
@spec getMinRadius(Keyword.t()) :: any() | {:error, String.t()}
@spec getMinRadius(t()) :: integer() | {:error, String.t()}
getMinRadius
Positional Arguments
- self:
Evision.CUDA.HoughCirclesDetector.t()
Return
- retval:
integer()
Python prototype (for reference only):
getMinRadius() -> retval
@spec getVotesThreshold(Keyword.t()) :: any() | {:error, String.t()}
@spec getVotesThreshold(t()) :: integer() | {:error, String.t()}
getVotesThreshold
Positional Arguments
- self:
Evision.CUDA.HoughCirclesDetector.t()
Return
- retval:
integer()
Python prototype (for reference only):
getVotesThreshold() -> retval
@spec read(t(), Evision.FileNode.t()) :: t() | {:error, String.t()}
Reads algorithm parameters from a file storage
Positional Arguments
- self:
Evision.CUDA.HoughCirclesDetector.t()
- func:
Evision.FileNode
Python prototype (for reference only):
read(fn) -> None
save
Positional Arguments
- self:
Evision.CUDA.HoughCirclesDetector.t()
- filename:
String
Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Python prototype (for reference only):
save(filename) -> None
setCannyThreshold
Positional Arguments
- self:
Evision.CUDA.HoughCirclesDetector.t()
- cannyThreshold:
integer()
Python prototype (for reference only):
setCannyThreshold(cannyThreshold) -> None
setDp
Positional Arguments
- self:
Evision.CUDA.HoughCirclesDetector.t()
- dp:
float
Python prototype (for reference only):
setDp(dp) -> None
setMaxCircles
Positional Arguments
- self:
Evision.CUDA.HoughCirclesDetector.t()
- maxCircles:
integer()
Python prototype (for reference only):
setMaxCircles(maxCircles) -> None
setMaxRadius
Positional Arguments
- self:
Evision.CUDA.HoughCirclesDetector.t()
- maxRadius:
integer()
Python prototype (for reference only):
setMaxRadius(maxRadius) -> None
setMinDist
Positional Arguments
- self:
Evision.CUDA.HoughCirclesDetector.t()
- minDist:
float
Python prototype (for reference only):
setMinDist(minDist) -> None
setMinRadius
Positional Arguments
- self:
Evision.CUDA.HoughCirclesDetector.t()
- minRadius:
integer()
Python prototype (for reference only):
setMinRadius(minRadius) -> None
setVotesThreshold
Positional Arguments
- self:
Evision.CUDA.HoughCirclesDetector.t()
- votesThreshold:
integer()
Python prototype (for reference only):
setVotesThreshold(votesThreshold) -> None
@spec write(t(), Evision.FileStorage.t()) :: t() | {:error, String.t()}
Stores algorithm parameters in a file storage
Positional Arguments
- self:
Evision.CUDA.HoughCirclesDetector.t()
- fs:
Evision.FileStorage
Python prototype (for reference only):
write(fs) -> None
@spec write(t(), Evision.FileStorage.t(), binary()) :: t() | {:error, String.t()}
write
Positional Arguments
- self:
Evision.CUDA.HoughCirclesDetector.t()
- fs:
Evision.FileStorage
- name:
String
Has overloading in C++
Python prototype (for reference only):
write(fs, name) -> None