GFTTDetector.create1 constructor
GFTTDetector.create1({})
CV_WRAP static Ptr<GFTTDetector> create( int maxCorners, double qualityLevel, double minDistance,
int blockSize, int gradiantSize, bool useHarrisDetector=false, double k=0.04 );
Implementation
factory GFTTDetector.create1({
int maxCorners = 1000,
double qualityLevel = 0.01,
double minDistance = 1,
int blockSize = 3,
int gradiantSize = 3,
bool useHarrisDetector = false,
double k = 0.04,
}) {
final p = calloc<cvg.GFTTDetector>();
cvRun(
() => cfeatures2d.cv_GFTTDetector_create_1(
maxCorners,
qualityLevel,
minDistance,
blockSize,
gradiantSize,
useHarrisDetector,
k,
p,
),
);
return GFTTDetector._(p);
}