@ai-on-browser/data-analysis-models
Github
Preparing search index...
default
models
RobertsCross
Class RobertsCross
Roberts cross
Index
Constructors
constructor
Properties
_
threshold
Methods
_
convolute
predict
Constructors
constructor
new
RobertsCross
(
th
:
number
)
:
RobertsCross
Parameters
th
:
number
Threshold
Returns
RobertsCross
Properties
_
threshold
_threshold
:
number
Methods
_
convolute
_convolute
(
x
:
any
,
kernel
:
any
)
:
any
[]
[]
Parameters
x
:
any
kernel
:
any
Returns
any
[]
[]
predict
predict
(
x
:
number
[]
[]
)
:
boolean
[]
[]
Returns predicted edge flags.
Parameters
x
:
number
[]
[]
Training data
Returns
boolean
[]
[]
true if a pixel is edge.
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
_
threshold
Methods
_
convolute
predict
Github
@ai-on-browser/data-analysis-models
Loading...
Roberts cross