RegionDetectorSpot

Inheritance: java.lang.Object

public class RegionDetectorSpot

Region detector for the rotated datamatrix. Uses the extremal points of spots to locate the region

Constructors

Constructor Description
RegionDetectorSpot()

Methods

Method Description
detectLPatternCorner(ByteBitmap byteBitmap, ByteBitmap binarizeBitmap, RectangleOfInterest region, boolean isAddSimpleRegion) Detects an L-pattern corner.
detectLPatternCorner(ByteBitmap byteBitmap, ByteBitmap binarizeBitmap, System.Drawing.Point yMin, System.Drawing.Point xMin, System.Drawing.Point xMax, System.Drawing.Point yMax, boolean isAddSimpleRegion) Detects L-pattern corner (cutted datamatrix and global vertexes) by extremal points yMin, xMin, yMax, xMax
equals(Object arg0)
getClass()
hashCode()
notify()
notifyAll()
searchRegions(ByteBitmap byteBitmap) Search datamatrix regions
toString()
wait()
wait(long arg0)
wait(long arg0, int arg1)

RegionDetectorSpot()

public RegionDetectorSpot()

detectLPatternCorner(ByteBitmap byteBitmap, ByteBitmap binarizeBitmap, RectangleOfInterest region, boolean isAddSimpleRegion)

public static List<VertexesCorner> detectLPatternCorner(ByteBitmap byteBitmap, ByteBitmap binarizeBitmap, RectangleOfInterest region, boolean isAddSimpleRegion)

Detects an L-pattern corner.

Parameters:

Parameter Type Description
byteBitmap ByteBitmap Input bytebitmap
binarizeBitmap ByteBitmap Binarized bytebitmap
region RectangleOfInterest A region
isAddSimpleRegion boolean

Returns: List - L-pattern corner (cutted datamatrix and global vertexes)

detectLPatternCorner(ByteBitmap byteBitmap, ByteBitmap binarizeBitmap, System.Drawing.Point yMin, System.Drawing.Point xMin, System.Drawing.Point xMax, System.Drawing.Point yMax, boolean isAddSimpleRegion)

public static List<VertexesCorner> detectLPatternCorner(ByteBitmap byteBitmap, ByteBitmap binarizeBitmap, System.Drawing.Point yMin, System.Drawing.Point xMin, System.Drawing.Point xMax, System.Drawing.Point yMax, boolean isAddSimpleRegion)

Detects L-pattern corner (cutted datamatrix and global vertexes) by extremal points yMin, xMin, yMax, xMax

Parameters:

Parameter Type Description
byteBitmap ByteBitmap Input bytebitmap
binarizeBitmap ByteBitmap Input binarized bytebitmap
yMin com.aspose.ms.System.Drawing.Point The point with the minimum Y
xMin com.aspose.ms.System.Drawing.Point The point with the minimum X
xMax com.aspose.ms.System.Drawing.Point The point with the maximum X
yMax com.aspose.ms.System.Drawing.Point The point with the maximum Y
isAddSimpleRegion boolean

Returns: List - List of detected corners

equals(Object arg0)

public boolean equals(Object arg0)

Parameters:

Parameter Type Description
arg0 java.lang.Object

Returns: boolean

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()

searchRegions(ByteBitmap byteBitmap)

public static List<VertexesCorner> searchRegions(ByteBitmap byteBitmap)

Search datamatrix regions

Parameters:

Parameter Type Description
byteBitmap ByteBitmap

Returns: List - List of regions

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