C# Class ZXing.PDF417.Internal.DetectionResultRowIndicatorColumn

Represents a Column in the Detection Result
Inheritance: ZXing.PDF417.Internal.DetectionResultColumn
Mostra file Open project: Redth/ZXing.Net.Mobile Class Usage Examples

Public Methods

Method Description
DetectionResultRowIndicatorColumn ( BoundingBox box, bool isLeft ) : System

Initializes a new instance of the ZXing.PDF417.Internal.DetectionResultRowIndicatorColumn class.

ToString ( ) : string

Returns a System.String that represents the current ZXing.PDF417.Internal.DetectionResultRowIndicatorColumn.

adjustCompleteIndicatorColumnRowNumbers ( BarcodeMetadata metadata ) : void

TODO implement properly TODO maybe we should add missing codewords to store the correct row number to make finding row numbers for other columns easier use row height count to make detection of invalid row numbers more reliable

getBarcodeMetadata ( ) : BarcodeMetadata

Gets the barcode metadata.

getRowHeights ( ) : int[]

Gets the row heights.

Private Methods

Method Description
adjustIncompleteIndicatorColumnRowNumbers ( BarcodeMetadata metadata ) : void

Adjusts the in omplete indicator column row numbers.

removeIncorrectCodewords ( Codeword codewords, BarcodeMetadata metadata ) : void

Prune the codewords which do not match the metadata TODO Maybe we should keep the incorrect codewords for the start and end positions?

setRowNumbers ( ) : void

Sets the Row Numbers as Inidicator Columns

Method Details

DetectionResultRowIndicatorColumn() public method

Initializes a new instance of the ZXing.PDF417.Internal.DetectionResultRowIndicatorColumn class.
public DetectionResultRowIndicatorColumn ( BoundingBox box, bool isLeft ) : System
box BoundingBox Box.
isLeft bool If set to true is left.
return System

ToString() public method

Returns a System.String that represents the current ZXing.PDF417.Internal.DetectionResultRowIndicatorColumn.
public ToString ( ) : string
return string

adjustCompleteIndicatorColumnRowNumbers() public method

TODO implement properly TODO maybe we should add missing codewords to store the correct row number to make finding row numbers for other columns easier use row height count to make detection of invalid row numbers more reliable
public adjustCompleteIndicatorColumnRowNumbers ( BarcodeMetadata metadata ) : void
metadata BarcodeMetadata Metadata.
return void

getBarcodeMetadata() public method

Gets the barcode metadata.
public getBarcodeMetadata ( ) : BarcodeMetadata
return BarcodeMetadata

getRowHeights() public method

Gets the row heights.
public getRowHeights ( ) : int[]
return int[]