EMatrixCodeReader::Read
Tries to locate, decode and read data matrix codes in the given ROI.
Namespace: Euresys::Open_eVision::EasyMatrixCode2
[C++]
std::vector<Euresys::Open_eVision::EasyMatrixCode2::EMatrixCode> Read(
const EROIBW8& roi
)
std::vector<Euresys::Open_eVision::EasyMatrixCode2::EMatrixCode> Read(
const EROIBW8& roi,
const ERegion& region
)
std::vector<Euresys::Open_eVision::EasyMatrixCode2::EMatrixCode> Read(
const EROIBW8& roi,
int numCellsX,
int numCellsY,
float extension
)
EMatrixCodeGrid Read(
const EROIBW8& roi,
const ERectangleRegion& area,
int numCellsX,
int numCellsY,
float extension
)
EMatrixCodeGrid Read(
const EROIBW8& roi,
const ERectangleRegion& area,
const EMatrixCodeGrid& grid,
float extension
)
Parameters
roi
The ROI in which the data matrix codes have to be found.
region
Region into the search field where the data matrix codes have to be found.
numCellsX
Number of grid cells in the X direction
numCellsY
Number of grid cells in the Y direction
extension
Extension of the grid cells to allow cell overlap. For instance, 0.0f means no extension and 0.1f means a 10% cell size extension.
area
Rectangular Region used as the full grid area
grid
Grid with cell disabling capabilities
Remarks
Throws an exception if EMatrixCodeReader returns true and the ROI dimensions are different from the ones used on previous calls. The grid overload allows you to disable some cells of the grid if those cells are not supposed to contain datamatrix codes. See the EMatrixCodeGrid class documentation for more information.
EMatrixCodeReader.Read
Tries to locate, decode and read data matrix codes in the given ROI.
Namespace: Euresys.Open_eVision.EasyMatrixCode2
[C#]
Euresys.Open_eVision.EasyMatrixCode2.EMatrixCode[] Read(
Euresys.Open_eVision.EROIBW8 roi
)
Euresys.Open_eVision.EasyMatrixCode2.EMatrixCode[] Read(
Euresys.Open_eVision.EROIBW8 roi,
Euresys.Open_eVision.ERegion region
)
Euresys.Open_eVision.EasyMatrixCode2.EMatrixCode[] Read(
Euresys.Open_eVision.EROIBW8 roi,
int numCellsX,
int numCellsY,
float extension
)
Euresys.Open_eVision.EasyMatrixCode2.EMatrixCodeGrid Read(
Euresys.Open_eVision.EROIBW8 roi,
Euresys.Open_eVision.ERectangleRegion area,
int numCellsX,
int numCellsY,
float extension
)
Euresys.Open_eVision.EasyMatrixCode2.EMatrixCodeGrid Read(
Euresys.Open_eVision.EROIBW8 roi,
Euresys.Open_eVision.ERectangleRegion area,
Euresys.Open_eVision.EasyMatrixCode2.EMatrixCodeGrid grid,
float extension
)
Parameters
roi
The ROI in which the data matrix codes have to be found.
region
Region into the search field where the data matrix codes have to be found.
numCellsX
Number of grid cells in the X direction
numCellsY
Number of grid cells in the Y direction
extension
Extension of the grid cells to allow cell overlap. For instance, 0.0f means no extension and 0.1f means a 10% cell size extension.
area
Rectangular Region used as the full grid area
grid
Grid with cell disabling capabilities
Remarks
Throws an exception if EMatrixCodeReader returns true and the ROI dimensions are different from the ones used on previous calls. The grid overload allows you to disable some cells of the grid if those cells are not supposed to contain datamatrix codes. See the EMatrixCodeGrid class documentation for more information.