AlignmentPatternFinder constructor

AlignmentPatternFinder(
  1. BitMatrix _image,
  2. int _startX,
  3. int _startY,
  4. int _width,
  5. int _height,
  6. double _moduleSize,
  7. ResultPointCallback? _resultPointCallback,
)

Creates a finder that will look in a portion of the whole image.

@param image image to search @param startX left column from which to start searching @param startY top row from which to start searching @param width width of region to search @param height height of region to search @param moduleSize estimated module size so far

Implementation

AlignmentPatternFinder(
  this._image,
  this._startX,
  this._startY,
  this._width,
  this._height,
  this._moduleSize,
  this._resultPointCallback,
) : _possibleCenters = [];