Merge from default. Hope I did it right...
This commit is contained in:
@@ -87,9 +87,11 @@ static void _computeKernels(
|
||||
for (i = -hw ; fabs(gaussderiv->data[i+hw] / max_gaussderiv) < factor ;
|
||||
i++, gaussderiv->width -= 2);
|
||||
if (gauss->width == MAX_KERNEL_WIDTH ||
|
||||
gaussderiv->width == MAX_KERNEL_WIDTH)
|
||||
gaussderiv->width == MAX_KERNEL_WIDTH) {
|
||||
KLTError("(_computeKernels) MAX_KERNEL_WIDTH %d is too small for "
|
||||
"a sigma of %f", MAX_KERNEL_WIDTH, sigma);
|
||||
exit(1);
|
||||
}
|
||||
}
|
||||
|
||||
/* Shift if width less than MAX_KERNEL_WIDTH */
|
||||
|
Reference in New Issue
Block a user