View Source Evision.Ximgprocsegmentation (Evision v0.1.26-rc1)
Link to this section Summary
Functions
Creates a graph based segmentor
Creates a graph based segmentor
Create a new SelectiveSearchSegmentation class.
Create a new color-based strategy
Create a new fill-based strategy
Create a new multiple strategy
Create a new multiple strategy and set one subtrategy
Create a new multiple strategy and set two subtrategies, with equal weights
Create a new multiple strategy and set three subtrategies, with equal weights
Create a new multiple strategy and set four subtrategies, with equal weights
Create a new size-based strategy
Create a new size-based strategy
Link to this section Types
@type t() :: %Evision.Ximgprocsegmentation{ref: reference()}
Type that represents an Ximgprocsegmentation
struct.
ref.
reference()
The underlying erlang resource variable.
Link to this section Functions
@spec createGraphSegmentation() :: Evision.XImgProc.GraphSegmentation.t() | {:error, String.t()}
Creates a graph based segmentor
Keyword Arguments
sigma:
double
.The sigma parameter, used to smooth image
k:
float
.The k parameter of the algorythm
min_size:
int
.The minimum size of segments
Return
- retval:
Evision.XImgProc.GraphSegmentation
Python prototype (for reference only):
createGraphSegmentation([, sigma[, k[, min_size]]]) -> retval
@spec createGraphSegmentation([{atom(), term()}, ...] | nil) :: Evision.XImgProc.GraphSegmentation.t() | {:error, String.t()}
Creates a graph based segmentor
Keyword Arguments
sigma:
double
.The sigma parameter, used to smooth image
k:
float
.The k parameter of the algorythm
min_size:
int
.The minimum size of segments
Return
- retval:
Evision.XImgProc.GraphSegmentation
Python prototype (for reference only):
createGraphSegmentation([, sigma[, k[, min_size]]]) -> retval
@spec createSelectiveSearchSegmentation() :: Evision.XImgProc.SelectiveSearchSegmentation.t() | {:error, String.t()}
Create a new SelectiveSearchSegmentation class.
Return
- retval:
Evision.XImgProc.SelectiveSearchSegmentation
Python prototype (for reference only):
createSelectiveSearchSegmentation() -> retval
@spec createSelectiveSearchSegmentationStrategyColor() :: Evision.XImgProc.SelectiveSearchSegmentationStrategyColor.t() | {:error, String.t()}
Create a new color-based strategy
Return
- retval:
Evision.XImgProc.SelectiveSearchSegmentationStrategyColor
Python prototype (for reference only):
createSelectiveSearchSegmentationStrategyColor() -> retval
@spec createSelectiveSearchSegmentationStrategyFill() :: Evision.XImgProc.SelectiveSearchSegmentationStrategyFill.t() | {:error, String.t()}
Create a new fill-based strategy
Return
- retval:
Evision.XImgProc.SelectiveSearchSegmentationStrategyFill
Python prototype (for reference only):
createSelectiveSearchSegmentationStrategyFill() -> retval
@spec createSelectiveSearchSegmentationStrategyMultiple() :: Evision.XImgProc.SelectiveSearchSegmentationStrategyMultiple.t() | {:error, String.t()}
Create a new multiple strategy
Return
- retval:
Evision.XImgProc.SelectiveSearchSegmentationStrategyMultiple
Python prototype (for reference only):
createSelectiveSearchSegmentationStrategyMultiple() -> retval
@spec createSelectiveSearchSegmentationStrategyMultiple( Evision.XImgProc.SelectiveSearchSegmentationStrategy.t() ) :: Evision.XImgProc.SelectiveSearchSegmentationStrategyMultiple.t() | {:error, String.t()}
Create a new multiple strategy and set one subtrategy
Positional Arguments
s1:
Evision.XImgProc.SelectiveSearchSegmentationStrategy
.The first strategy
Return
- retval:
Evision.XImgProc.SelectiveSearchSegmentationStrategyMultiple
Python prototype (for reference only):
createSelectiveSearchSegmentationStrategyMultiple(s1) -> retval
@spec createSelectiveSearchSegmentationStrategyMultiple( Evision.XImgProc.SelectiveSearchSegmentationStrategy.t(), Evision.XImgProc.SelectiveSearchSegmentationStrategy.t() ) :: Evision.XImgProc.SelectiveSearchSegmentationStrategyMultiple.t() | {:error, String.t()}
Create a new multiple strategy and set two subtrategies, with equal weights
Positional Arguments
s1:
Evision.XImgProc.SelectiveSearchSegmentationStrategy
.The first strategy
s2:
Evision.XImgProc.SelectiveSearchSegmentationStrategy
.The second strategy
Return
- retval:
Evision.XImgProc.SelectiveSearchSegmentationStrategyMultiple
Python prototype (for reference only):
createSelectiveSearchSegmentationStrategyMultiple(s1, s2) -> retval
@spec createSelectiveSearchSegmentationStrategyMultiple( Evision.XImgProc.SelectiveSearchSegmentationStrategy.t(), Evision.XImgProc.SelectiveSearchSegmentationStrategy.t(), Evision.XImgProc.SelectiveSearchSegmentationStrategy.t() ) :: Evision.XImgProc.SelectiveSearchSegmentationStrategyMultiple.t() | {:error, String.t()}
Create a new multiple strategy and set three subtrategies, with equal weights
Positional Arguments
s1:
Evision.XImgProc.SelectiveSearchSegmentationStrategy
.The first strategy
s2:
Evision.XImgProc.SelectiveSearchSegmentationStrategy
.The second strategy
s3:
Evision.XImgProc.SelectiveSearchSegmentationStrategy
.The third strategy
Return
- retval:
Evision.XImgProc.SelectiveSearchSegmentationStrategyMultiple
Python prototype (for reference only):
createSelectiveSearchSegmentationStrategyMultiple(s1, s2, s3) -> retval
@spec createSelectiveSearchSegmentationStrategyMultiple( Evision.XImgProc.SelectiveSearchSegmentationStrategy.t(), Evision.XImgProc.SelectiveSearchSegmentationStrategy.t(), Evision.XImgProc.SelectiveSearchSegmentationStrategy.t(), Evision.XImgProc.SelectiveSearchSegmentationStrategy.t() ) :: Evision.XImgProc.SelectiveSearchSegmentationStrategyMultiple.t() | {:error, String.t()}
Create a new multiple strategy and set four subtrategies, with equal weights
Positional Arguments
s1:
Evision.XImgProc.SelectiveSearchSegmentationStrategy
.The first strategy
s2:
Evision.XImgProc.SelectiveSearchSegmentationStrategy
.The second strategy
s3:
Evision.XImgProc.SelectiveSearchSegmentationStrategy
.The third strategy
s4:
Evision.XImgProc.SelectiveSearchSegmentationStrategy
.The forth strategy
Return
- retval:
Evision.XImgProc.SelectiveSearchSegmentationStrategyMultiple
Python prototype (for reference only):
createSelectiveSearchSegmentationStrategyMultiple(s1, s2, s3, s4) -> retval
@spec createSelectiveSearchSegmentationStrategySize() :: Evision.XImgProc.SelectiveSearchSegmentationStrategySize.t() | {:error, String.t()}
Create a new size-based strategy
Return
- retval:
Evision.XImgProc.SelectiveSearchSegmentationStrategySize
Python prototype (for reference only):
createSelectiveSearchSegmentationStrategySize() -> retval
@spec createSelectiveSearchSegmentationStrategyTexture() :: Evision.XImgProc.SelectiveSearchSegmentationStrategyTexture.t() | {:error, String.t()}
Create a new size-based strategy
Return
- retval:
Evision.XImgProc.SelectiveSearchSegmentationStrategyTexture
Python prototype (for reference only):
createSelectiveSearchSegmentationStrategyTexture() -> retval