AlignMTB.create constructor

AlignMTB.create({
  1. int maxBits = 6,
  2. int excludeRange = 4,
  3. bool cut = true,
})

returns an AlignMTB for converts images to median threshold bitmaps. of type AlignMTB converts images to median threshold bitmaps (1 for pixels brighter than median luminance and 0 otherwise) and than aligns the resulting bitmaps using bit operations. For further details, please see: https://docs.opencv.org/master/d6/df5/group__photo__hdr.html https://docs.opencv.org/master/d7/db6/classcv_1_1AlignMTB.html https://docs.opencv.org/master/d6/df5/group__photo__hdr.html#ga2f1fafc885a5d79dbfb3542e08db0244

Implementation

factory AlignMTB.create({
  int maxBits = 6,
  int excludeRange = 4,
  bool cut = true,
}) {
  final p = calloc<cvg.AlignMTB>();
  cvRun(() => cphoto.cv_createAlignMTB_1(maxBits, excludeRange, cut, p));
  return AlignMTB._(p);
}