View Source Evision.Saliency.StaticSaliencySpectralResidual (Evision v0.2.9)
Summary
Functions
computeSaliency
computeSaliency
create
getImageHeight
getImageWidth
read
setImageHeight
setImageWidth
Types
@type t() :: %Evision.Saliency.StaticSaliencySpectralResidual{ref: reference()}
Type that represents an Saliency.StaticSaliencySpectralResidual
struct.
ref.
reference()
The underlying erlang resource variable.
Functions
@spec computeSaliency(t(), Evision.Mat.maybe_mat_in()) :: Evision.Mat.t() | false | {:error, String.t()}
computeSaliency
Positional Arguments
- self:
Evision.Saliency.StaticSaliencySpectralResidual.t()
- image:
Evision.Mat
Return
- retval:
bool
- saliencyMap:
Evision.Mat.t()
.
Python prototype (for reference only):
computeSaliency(image[, saliencyMap]) -> retval, saliencyMap
@spec computeSaliency(t(), Evision.Mat.maybe_mat_in(), [{atom(), term()}, ...] | nil) :: Evision.Mat.t() | false | {:error, String.t()}
computeSaliency
Positional Arguments
- self:
Evision.Saliency.StaticSaliencySpectralResidual.t()
- image:
Evision.Mat
Return
- retval:
bool
- saliencyMap:
Evision.Mat.t()
.
Python prototype (for reference only):
computeSaliency(image[, saliencyMap]) -> retval, saliencyMap
create
Return
- retval:
StaticSaliencySpectralResidual
Python prototype (for reference only):
create() -> retval
@spec getImageHeight(Keyword.t()) :: any() | {:error, String.t()}
@spec getImageHeight(t()) :: integer() | {:error, String.t()}
getImageHeight
Positional Arguments
- self:
Evision.Saliency.StaticSaliencySpectralResidual.t()
Return
- retval:
integer()
Python prototype (for reference only):
getImageHeight() -> retval
@spec getImageWidth(Keyword.t()) :: any() | {:error, String.t()}
@spec getImageWidth(t()) :: integer() | {:error, String.t()}
getImageWidth
Positional Arguments
- self:
Evision.Saliency.StaticSaliencySpectralResidual.t()
Return
- retval:
integer()
Python prototype (for reference only):
getImageWidth() -> retval
@spec read(t(), Evision.FileNode.t()) :: t() | {:error, String.t()}
read
Positional Arguments
- self:
Evision.Saliency.StaticSaliencySpectralResidual.t()
- func:
Evision.FileNode
Python prototype (for reference only):
read(fn) -> None
setImageHeight
Positional Arguments
- self:
Evision.Saliency.StaticSaliencySpectralResidual.t()
- val:
integer()
Python prototype (for reference only):
setImageHeight(val) -> None
setImageWidth
Positional Arguments
- self:
Evision.Saliency.StaticSaliencySpectralResidual.t()
- val:
integer()
Python prototype (for reference only):
setImageWidth(val) -> None