jAER project on SourceForge

ch.unizh.ini.jaer.projects.pawtracker
Class PawTracker2.Contour

java.lang.Object
  extended by ch.unizh.ini.jaer.projects.pawtracker.PawTracker2.Contour
Enclosing class:
PawTracker2

public class PawTracker2.Contour
extends java.lang.Object


Field Summary
protected  int maxX
           
protected  int maxY
           
 int nbLabels
           
 
Constructor Summary
PawTracker2.Contour()
           
PawTracker2.Contour(int[][][] img, int label)
           
PawTracker2.Contour(PawTracker2.Contour contour)
           
 
Method Summary
 void add(int i, int j)
           
 void add(int i, int j, int label)
           
 void addAsNeighbours(PawTracker2.ContourPoint c1, PawTracker2.ContourPoint c2)
           
protected  void changeLabel(int l2, int l1)
           
protected  void extendSegmentFollowingPolicy(PawTracker2.Segment segment, PawTracker2.ContourPoint p, int min_x_policy, int max_x_policy, int min_y_policy, int max_y_policy, int curSegSize, boolean large)
           
protected  void findNeighbours(int x, int y, int around)
           
 int getMaxX()
           
 int getMaxY()
           
protected  PawTracker2.ContourPoint getNeighbour(int x, int y, int range)
           
protected  PawTracker2.ContourPoint getNeighbour(int x, int y, int range, boolean large)
           
protected  PawTracker2.ContourPoint getNeighbour(int x, int y, int low_xrange, int high_xrange, int low_yrange, int high_yrange)
           
protected  PawTracker2.ContourPoint getNeighbour(int x, int y, int low_xrange, int high_xrange, int low_yrange, int high_yrange, boolean large)
           
protected  java.util.Vector getNeighbours(int x, int y, int range)
           
protected  java.util.Vector getNeighbours(int x, int y, int low_xrange, int high_xrange, int low_yrange, int high_yrange)
           
 void highlightTouchingDoor()
          Set label of points to 1 if group touching door zone
 void link()
          link, group contour points into linked groups by assigning group label to each point
 void reset()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

maxX

protected int maxX

maxY

protected int maxY

nbLabels

public int nbLabels
Constructor Detail

PawTracker2.Contour

public PawTracker2.Contour()

PawTracker2.Contour

public PawTracker2.Contour(PawTracker2.Contour contour)

PawTracker2.Contour

public PawTracker2.Contour(int[][][] img,
                           int label)
Method Detail

reset

public void reset()

add

public void add(int i,
                int j)

add

public void add(int i,
                int j,
                int label)

highlightTouchingDoor

public void highlightTouchingDoor()
Set label of points to 1 if group touching door zone


link

public void link()
link, group contour points into linked groups by assigning group label to each point


extendSegmentFollowingPolicy

protected void extendSegmentFollowingPolicy(PawTracker2.Segment segment,
                                            PawTracker2.ContourPoint p,
                                            int min_x_policy,
                                            int max_x_policy,
                                            int min_y_policy,
                                            int max_y_policy,
                                            int curSegSize,
                                            boolean large)

getNeighbour

protected PawTracker2.ContourPoint getNeighbour(int x,
                                                int y,
                                                int range)

getNeighbour

protected PawTracker2.ContourPoint getNeighbour(int x,
                                                int y,
                                                int range,
                                                boolean large)

getNeighbour

protected PawTracker2.ContourPoint getNeighbour(int x,
                                                int y,
                                                int low_xrange,
                                                int high_xrange,
                                                int low_yrange,
                                                int high_yrange)

getNeighbour

protected PawTracker2.ContourPoint getNeighbour(int x,
                                                int y,
                                                int low_xrange,
                                                int high_xrange,
                                                int low_yrange,
                                                int high_yrange,
                                                boolean large)

getNeighbours

protected java.util.Vector getNeighbours(int x,
                                         int y,
                                         int range)

getNeighbours

protected java.util.Vector getNeighbours(int x,
                                         int y,
                                         int low_xrange,
                                         int high_xrange,
                                         int low_yrange,
                                         int high_yrange)

findNeighbours

protected void findNeighbours(int x,
                              int y,
                              int around)

addAsNeighbours

public void addAsNeighbours(PawTracker2.ContourPoint c1,
                            PawTracker2.ContourPoint c2)

changeLabel

protected void changeLabel(int l2,
                           int l1)

getMaxX

public int getMaxX()

getMaxY

public int getMaxY()

jAER project on SourceForge