com.java4less.vision.datamatrix
Class DatamatrixReader

java.lang.Object
  |
  +--com.java4less.vision.datamatrix.DatamatrixReader

public class DatamatrixReader
extends java.lang.Object

 Class for scanning images and reading barcodes.
 
 
 Example of use:

 // load image to scan in a BufferedImage object   
 BufferedImage myImage=....;

 DatamatrixReader reader=new DatamatrixReader();
 
 DatamatrixData[] barcodes=reader.read(new RImage(myImage));
 
 


Constructor Summary
DatamatrixReader()
           
 
Method Summary
 boolean isRemoveNoise()
           
static void main(java.lang.String[] args)
           
 DatamatrixData[] read(RImage cimage)
           
 void setRemoveNoise(boolean removeNoise)
          if true, all standalone white pixels surrounded by 8 black ones, will be converted to white
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DatamatrixReader

public DatamatrixReader()
Method Detail

main

public static void main(java.lang.String[] args)
Parameters:
args -

read

public DatamatrixData[] read(RImage cimage)

isRemoveNoise

public boolean isRemoveNoise()

setRemoveNoise

public void setRemoveNoise(boolean removeNoise)
if true, all standalone white pixels surrounded by 8 black ones, will be converted to white

Parameters:
removeNoise -