io.loader.load2D.contours
Class ContourGetter

java.lang.Object
  extended by io.loader.load2D.contours.ContourGetter

public class ContourGetter
extends java.lang.Object

get the contours (inner and outer) for the object shape in a specified image.


Field Summary
private static org.apache.log4j.Logger logger
          logger instance
 
Constructor Summary
ContourGetter()
           
 
Method Summary
static ContourContainer getCounter(ij.ImagePlus img)
          get all inner and outer contours for the object shape in the given, binary image, using Wilhelm Burger's imageJ plugin (http://www.imagingbook.com).
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

logger

private static org.apache.log4j.Logger logger
logger instance

Constructor Detail

ContourGetter

public ContourGetter()
Method Detail

getCounter

public static ContourContainer getCounter(ij.ImagePlus img)
get all inner and outer contours for the object shape in the given, binary image, using Wilhelm Burger's imageJ plugin (http://www.imagingbook.com).

Parameters:
img - the binary image containing the object shape.
Returns:
a ContourContainer containing all outer and inner contours