public class Components extends java.util.ArrayList<Component>
Constructor and Description |
---|
Components(java.awt.image.BufferedImage src) |
Modifier and Type | Method and Description |
---|---|
Location |
findNextPoint(Location start,
int startDirection,
java.awt.image.BufferedImage src) |
int |
getLabel(Location pt) |
boolean |
isBackground(int sample) |
boolean |
isForeground(int sample) |
void |
setChainCodes() |
java.util.List<java.lang.Integer> |
trace(Location pt1,
int startDirection,
java.awt.image.BufferedImage src) |
void |
union(Location pt1,
Location pt2) |
add, add, addAll, addAll, clear, clone, contains, ensureCapacity, get, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeRange, retainAll, set, size, subList, toArray, toArray, trimToSize
public int getLabel(Location pt)
public boolean isForeground(int sample)
public boolean isBackground(int sample)
public Location findNextPoint(Location start, int startDirection, java.awt.image.BufferedImage src)
public java.util.List<java.lang.Integer> trace(Location pt1, int startDirection, java.awt.image.BufferedImage src)
public void setChainCodes()