morphologyDefaultBorderValue function

Scalar morphologyDefaultBorderValue()

MorphologyDefaultBorder returns "magic" border value for erosion and dilation. It is automatically transformed to Scalar::all(-DBL_MAX) for dilation.

For further details, please see: https:///docs.opencv.org/master/d4/d86/group__imgproc__filter.html#ga94756fad83d9d24d29c9bf478558c40a

Implementation

Scalar morphologyDefaultBorderValue() {
  final s = calloc<cvg.Scalar>();
  cvRun(() => cffi.MorphologyDefaultBorderValue(s));
  return Scalar.fromPointer(s);
}