ximgproc_EdgeDrawing_Params
import { ximgproc_EdgeDrawing_Params } from '@banou/opencv-wasm'Use after await initOpenCV(). See the initialization and named imports guide.
Native object: release it with using or delete(). Factories can return null; check before calling methods.
ximgproc edge drawing params value in the OpenCV API.
Constructors and members
static new
Create an owned ximgproc_EdgeDrawing_Params object. Release native handles with using or delete().
new(): ximgproc_EdgeDrawing_Params;The ximgproc_EdgeDrawing_Params result.
clone
Create another handle to the same native object. This retains the object without copying its pixels or algorithm state; dispose both handles separately.
clone(): this;The this result.
PFmode
Parameter Free mode will be activated when this value is set as true. Default value is false.
PFmode: boolean;EdgeDetectionOperator
indicates the operator used for gradient calculation.
one of the flags cv::ximgproc::EdgeDrawing::GradientOperator. Default value is PREWITT
EdgeDetectionOperator: number;GradientThresholdValue
threshold value of gradiential difference between pixels. Used to create gradient image. Default value is 20
GradientThresholdValue: number;AnchorThresholdValue
threshold value used to select anchor points. Default value is 0
AnchorThresholdValue: number;ScanInterval
Default value is 1
ScanInterval: number;MinPathLength
minimun connected pixels length processed to create an edge segment.
in gradient image, minimum connected pixels length processed to create an edge segment. pixels having upper value than GradientThresholdValue
will be processed. Default value is 10
MinPathLength: number;Sigma
sigma value for internal GaussianBlur() function. Default value is 1.0
Sigma: number;SumFlag
minimun connected pixels length processed to create an edge segment.
in gradient image, minimum connected pixels length processed to create an edge segment. pixels having upper value than GradientThresholdValue
will be processed. Default value is 10
SumFlag: boolean;NFAValidation
Default value is true. indicates if NFA (Number of False Alarms) algorithm will be used for line and ellipse validation.
NFAValidation: boolean;MinLineLength
minimun line length to detect.
MinLineLength: number;MaxDistanceBetweenTwoLines
Default value is 6.0
MaxDistanceBetweenTwoLines: number;LineFitErrorThreshold
Default value is 1.0
LineFitErrorThreshold: number;MaxErrorThreshold
Default value is 1.3
MaxErrorThreshold: number;read
minimun connected pixels length processed to create an edge segment.
in gradient image, minimum connected pixels length processed to create an edge segment. pixels having upper value than GradientThresholdValue
will be processed. Default value is 10
read(fn: FileNode): void;fnfn argument (FileNode).
write
Write edge-drawing parameter values to the supplied native file storage.
write(fs: FileStorage): void;fsfs argument (FileStorage).
These signatures describe this package. Upstream documentation can mention optional backends that are absent from this build. Check runtime compatibility before choosing a backend or file format.