CellSampleSize Property

NI Vision for Visual Basic

CellSampleSize Property

Syntax

CWIMAQQRCodeReport.CellSampleSize

Data Type

CWIMAQQRCellSampleSizes

You can use the following constants with this data type:

  • cwimaqQRCellSampleSize1x1—The method will use a 1×1 sized sample from each cell.
  • cwimaqQRCellSampleSize2x2—The method will use a 2×2 sized sample from each cell.
  • cwimaqQRCellSampleSize3x3—The method will use a 3×3 sized sample from each cell.
  • cwimaqQRCellSampleSize4x4—The method will use a 4×4 sized sample from each cell.
  • cwimaqQRCellSampleSize5x5—The method will use a 5×5 sized sample from each cell.
  • cwimaqQRCellSampleSize6x6—The method will use a 6×6 sized sample from each cell.
  • cwimaqQRCellSampleSize7x7—The method will use a 7×7 sized sample from each cell.
  • cwimaqQRCellSampleSizeAutoDetect—The method will try each sample size and use the one which decodes the QR code within the fewest iterations and utilizing the least amount of error correction.

Purpose

Specifies the cell sample size the method used to locate the QR code.

Remarks

If CellSampleSize is set to cwimaqQRCellSampleSizeAutoDetect in the QRSearchOptions input parameter, this property indicates the recommended cell sample size for this image.