Maven module :un.api : api-image :
Class :
un.impl.image.process.detection.MarchingSquares
Extends/Implements : -
Subclasses : -
Variables : -
Functions :
MarchingSquares,
getWidth,
getHeight,
getData,
identifyPerimeter,
identifyPerimeter
public void
MarchingSquares (int width, int height, byte[] data)
public int
getWidth ()
public int
getHeight ()
public byte[]
getData ()
public Path
identifyPerimeter (int initialX, int initialY)
public Path
identifyPerimeter ()
perimeters in an supplied byte array. The array of data over which this
instances of this class operate is not cloned by this class's constructor
(for obvious efficiency reasons) and should therefore not be modified while
the object is in use. It is expected that the data elements supplied to the
algorithm have already been thresholded. The algorithm only distinguishes
between zero and non-zero values.
Origin :
http://www.tomgibara.com/computer-vision/MarchingSquares.java
@author Tom Gibara (Original author)
@author Johann Sorel (Adapted to Unlicense-Lib)