Method Create
- Namespace
- OpenCvSharp
- Assembly
- OpenCvSharp.dll
Create(SacModelType, SacMethod, double, int)
Creates a SACSegmentation object.
public static SACSegmentation Create(SacModelType sacModelType = SacModelType.SAC_MODEL_PLANE, SacMethod sacMethod = SacMethod.SAC_METHOD_RANSAC, double threshold = 0.5, int maxIterations = 1000)
Parameters
sacModelTypeSacModelTypeThe type of sample consensus model to use.
sacMethodSacMethodThe type of sample consensus method to use.
thresholddoubleThe distance to the model threshold.
maxIterationsintThe maximum number of iterations to attempt.
Returns
- SACSegmentation
SACSegmentation instance