BlackGrowthBitsCorrector

Inheritance: java.lang.Object

public class BlackGrowthBitsCorrector

This class contains algorithms for the black growth effect correction

Constructors

Constructor Description
BlackGrowthBitsCorrector()

Methods

Method Description
correctForSmallModule(ByteBitmap byteBitmap, int separatrix, BitArrayArray bitMatrix, RegionalTransformation2D transf) Correct bits matrix to recognize datamatrix with growth effects(work for ~3px module only)
equals(Object arg0)
estimateGrowthByTransformation(ByteBitmap byteBitmap, int separatrix, BitArrayArray bitMatrix, RegionalTransformation2D transf, float module) Estimate growth print effect in percents.
estimateModuleByTransformation(int dimensionX, int dimensionY, RegionalTransformation2D transf) Estimate module
getClass()
hashCode()
notify()
notifyAll()
toString()
wait()
wait(long arg0)
wait(long arg0, int arg1)

BlackGrowthBitsCorrector()

public BlackGrowthBitsCorrector()

correctForSmallModule(ByteBitmap byteBitmap, int separatrix, BitArrayArray bitMatrix, RegionalTransformation2D transf)

public static BitArrayArray correctForSmallModule(ByteBitmap byteBitmap, int separatrix, BitArrayArray bitMatrix, RegionalTransformation2D transf)

Correct bits matrix to recognize datamatrix with growth effects(work for ~3px module only)

Parameters:

Parameter Type Description
byteBitmap ByteBitmap byte bitmap
separatrix int separatrix
bitMatrix BitArrayArray bit matrix
transf RegionalTransformation2D a transformation

Returns: BitArrayArray - Return corrected bits or null

equals(Object arg0)

public boolean equals(Object arg0)

Parameters:

Parameter Type Description
arg0 java.lang.Object

Returns: boolean

estimateGrowthByTransformation(ByteBitmap byteBitmap, int separatrix, BitArrayArray bitMatrix, RegionalTransformation2D transf, float module)

public static float estimateGrowthByTransformation(ByteBitmap byteBitmap, int separatrix, BitArrayArray bitMatrix, RegionalTransformation2D transf, float module)

Estimate growth print effect in percents.

Parameters:

Parameter Type Description
byteBitmap ByteBitmap byte bitmap
separatrix int separatrix
bitMatrix BitArrayArray bit matrix
transf RegionalTransformation2D transformation
module float module

Returns: float - Value “100” is no growth. Value “110” and more is growth.

estimateModuleByTransformation(int dimensionX, int dimensionY, RegionalTransformation2D transf)

public static float estimateModuleByTransformation(int dimensionX, int dimensionY, RegionalTransformation2D transf)

Estimate module

Parameters:

Parameter Type Description
dimensionX int dimension x
dimensionY int dimension y
transf RegionalTransformation2D transformation

Returns: float -

getClass()

public final native Class<?> getClass()

Returns: java.lang.Class

hashCode()

public native int hashCode()

Returns: int

notify()

public final native void notify()

notifyAll()

public final native void notifyAll()

toString()

public String toString()

Returns: java.lang.String

wait()

public final void wait()

wait(long arg0)

public final native void wait(long arg0)

Parameters:

Parameter Type Description
arg0 long

wait(long arg0, int arg1)

public final void wait(long arg0, int arg1)

Parameters:

Parameter Type Description
arg0 long
arg1 int