jAER project on SourceForge

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

java.lang.Object
  extended by net.sf.jaer.eventprocessing.EventFilter
      extended by net.sf.jaer.eventprocessing.EventFilter2D
          extended by ch.unizh.ini.jaer.projects.pawtracker.PawTracker2
All Implemented Interfaces:
java.util.Observer, FrameAnnotater

public class PawTracker2
extends EventFilter2D
implements FrameAnnotater, java.util.Observer

Tracks Rat's Paw

New angle of view. Accumulate event then try to find fingers by moving finger tip sized object inside paw contour

Author:
rogister

Nested Class Summary
 class PawTracker2.Contour
           
 class PawTracker2.ContourPoint
           
 class PawTracker2.Node
           
 class PawTracker2.Segment
           
 
Field Summary
protected  float[][][] accEvents
          accumulate events as would do the accumulate view mode 'P' from the gui
protected  int accOrientationMax
           
protected  PawTracker2.Segment[] bones
           
protected  AEChip chip
           
protected  int colorScale
           
protected  PawTracker2.Contour contour
           
protected  float defaultClusterRadius
           
protected  float[][][] filteredEvents
           
protected  java.util.Vector fingerLines
           
protected  ch.unizh.ini.jaer.projects.pawtracker.PawTracker2.FingerCluster[] fingerTipClusters
           
protected  java.util.Vector fingerTips
           
protected  float grayValue
           
protected  float[][][] insideIntensities
          intensity inside the paw shape as accumulated value of projections from border segments
protected  float intensityIncrease
           
protected  boolean knuckle_polygon_created
           
protected  int nbBones
           
protected  int nbFingersActive
           
protected  int nbSegments
           
protected  java.util.Vector nodes
           
protected  ch.unizh.ini.jaer.projects.pawtracker.PawTracker2.Palm palm
           
protected  boolean pawIsDetected
           
protected  float[][][] scoresFrame
           
protected  float scoresFrameMax
           
protected  float[][][] secondFilteredEvents
           
protected  PawTracker2.Segment[] segments
           
protected  boolean showDetectedClusters
           
protected  PawTracker2.Contour skeletton
           
protected  int[][][] thinned
           
 
Fields inherited from class net.sf.jaer.eventprocessing.EventFilter2D
enclosedFilter, out
 
Fields inherited from class net.sf.jaer.eventprocessing.EventFilter
annotationEnabled, enclosedFilterChain, filterEnabled, log, perf, propertyTooltipMap, support
 
Constructor Summary
PawTracker2(AEChip chip)
          Creates a new instance of PawTracker
 
Method Summary
 void annotate(float[][][] frame)
          annotate the rendered retina frame to show locations of clusters
 void annotate(javax.media.opengl.GLAutoDrawable drawable)
          Each annotator enters annotate with graphics context current, in coordinates with pixel 0,0 in LL corner (note opposite from Java2D) and pixel spacing 1 unit after the scaling transform (which is already active).
 void annotate(java.awt.Graphics2D g)
          each annotator is called by the relevant class (e.g.
 float[][][] copyFrame(float[][][] source, float[][][] dest)
           
 void decayArray(float[][][] array, float currentTime, int xa, int xb, int ya, int yb, float decayLimit)
           
 java.util.Vector detectNodes(PawTracker2.Contour contour, int label, int range)
           
 int detectSegments(PawTracker2.Contour contour, int label, int range, PawTracker2.Segment[] segments, float[][][] fr, boolean useIntensity)
          detectSegments : new method to detect segments, replaces computeLocalOrientations create segments out of points from the contour labelled 1 (touching door)
protected  float distanceBetween(int x1, int y1, int x2, int y2)
           
protected  void drawBox(javax.media.opengl.GL gl, int x, int x2, int y, int y2)
           
protected  void drawBoxCentered(javax.media.opengl.GL gl, int x, int y, int sx, int sy)
           
 void emptyIntoSameArray(float[][][] array, int k1, int k2)
           
 EventPacket filterPacket(EventPacket in)
          Subclasses implement this method to define custom processing.
protected  float findArrayMax(float[][][] array)
           
 PawTracker2.Contour findContour(float[][][] f)
           
 PawTracker2.ContourPoint findContourGC(PawTracker2.Contour contour, int label)
           
protected  double findInsideDirOfSegment(PawTracker2.Segment s, float[][][] fr)
           
 int getBoneSize()
           
 int getCluster_lifetime()
           
 float getContour_act_thresh()
           
 float getContour_min_thresh()
           
 int getContour_range()
           
 int getDecayLimit()
           
 int getDensityMaxIndex()
           
 int getDensityMinIndex()
           
 int getDoor_xa()
           
 int getDoor_xb()
           
 int getDoor_ya()
           
 int getDoor_yb()
           
 float getDoorMaxDiff()
           
 float getDoorMinDiff()
           
 java.lang.Object getFilterState()
          should return the filter state in some useful form
 float getFinger_cluster_range()
           
 float getFinger_length()
           
 float getFinger_mv_smooth()
           
 float getFinger_ori_variance()
           
 float getFinger_sensitivity()
           
 int getFinger_start_threshold()
           
 int getIn_length()
           
 int getIn_test_length()
           
 int getIntensityZoom()
           
 int getLine_range()
           
 float getLine_threshold()
           
 float getLine2shape_thresh()
           
 int getLines_n_avg()
           
 int getLinkSize()
           
 int getLowFilter_density()
           
 int getLowFilter_density2()
           
 int getLowFilter_radius()
           
 int getLowFilter_radius2()
           
 float getLowFilter_threshold()
           
 float getMaxDiff()
           
 int getMaxSegSize()
           
 int getMaxZeroes()
           
 float getMinDiff()
           
 int getMinZeroes()
           
 float getNode_range()
           
 float getPalmback_below()
           
 int getPalmback_distance()
           
 float getPalmback_value()
           
 float getScore_in_threshold()
           
 int getScore_range()
           
 float getScore_sup_threshold()
           
 int getScore_threshold()
           
 int getSegSize()
           
 float getThin_Threshold()
           
 float getTracker_time_bin()
           
protected  void increaseIntensityOfRectangle(int x0, int y0, int x1, int y1, int x2, int y2)
           
protected  void increaseIntentisyOfLine(int x0, int y0, int x1, int y1)
           
 void initFilter()
          this should allocate and initialize memory: it may be called when the chip e.g.
protected  boolean insideDoor(int x, int y)
           
 boolean isDecayOn()
           
 boolean isHideInside()
           
 boolean isLogDataEnabled()
           
 boolean isResetPawTracking()
           
 boolean isScaleAcc()
           
 boolean isScaleInDoor()
           
 boolean isScaleIntensity()
           
 boolean isShowAcc()
           
 boolean isShowAll()
           
 boolean isShowClusters()
           
 boolean isShowDensity()
           
 boolean isShowFingers()
           
 boolean isShowFingerTips()
           
 boolean isShowOnlyAcc()
           
 boolean isShowPalm()
           
 boolean isShowScore()
           
 boolean isShowSecondFilter()
           
 boolean isShowSegments()
           
 boolean isShowShape()
           
 boolean isShowShapePoints()
           
 boolean isShowSkeletton()
           
 boolean isShowThin()
           
 boolean isShowWindow()
           
 boolean isShowZones()
           
 boolean isSmoothShape()
           
 boolean isThinning()
           
 boolean isUseDualFilter()
           
 boolean isUseFingerDistanceSmooth()
           
 boolean isUseIntensity()
           
 boolean isUseLowFilter()
           
 boolean isUseSimpleContour()
           
protected  float lineDirection(ch.unizh.ini.jaer.projects.pawtracker.PawTracker2.Line line)
           
protected  float lineOrientation(ch.unizh.ini.jaer.projects.pawtracker.PawTracker2.Line line)
           
protected  ch.unizh.ini.jaer.projects.pawtracker.PawTracker2.Line lineToShape(int x, int y, int range, float orientation, float min_threshold, float[][][] frame)
           
protected  ch.unizh.ini.jaer.projects.pawtracker.PawTracker2.Line longestLine(int x, int y, int range, float orientation, float[][][] accEvents)
           
protected  java.util.Vector longestLines(int x, int y, int range, int midlength, int nb_lines_avg, float[][][] accEvents)
           
protected  ch.unizh.ini.jaer.projects.pawtracker.PawTracker2.Line meanLineOf(java.util.Vector lines)
           
protected  float meanValueOfLine(int x0, int y0, int x1, int y1, float[][][] accEvents)
           
protected  ch.unizh.ini.jaer.projects.pawtracker.PawTracker2.Line mostValuableLine(int x, int y, int range, float orientation, float variation, PawTracker2.Contour thin, float[][][] accEvents)
           
protected  ch.unizh.ini.jaer.projects.pawtracker.PawTracker2.Line mostValuableLine(int x, int y, int range, PawTracker2.Contour thin, float[][][] accEvents)
           
protected  boolean nearDoor(int x, int y, int range)
           
 void processTracking(float currentTime)
           
 void resetArray(float[][][] array, float value)
           
 void resetArray(float[][][] array, float value, int k)
           
protected  void resetDoubleArray(int[][] array, int x_max, int y_max)
           
 void resetFilter()
          should reset the filter to initial state
protected  void scale(float[][][] fr)
           
protected  void scale(float[][][] fr, int x1, int y1, int x2, int y2)
           
 void setBoneSize(int boneSize)
           
 void setCluster_lifetime(int cluster_lifetime)
           
 void setContour_act_thresh(float contour_act_thresh)
           
 void setContour_min_thresh(float contour_min_thresh)
           
 void setContour_range(int contour_range)
           
 void setDecayLimit(int decayLimit)
           
 void setDecayOn(boolean decayOn)
           
 void setDensityMaxIndex(int densityMaxIndex)
           
 void setDensityMinIndex(int densityMinIndex)
           
 void setDoor_xa(int door_xa)
           
 void setDoor_xb(int door_xb)
           
 void setDoor_ya(int door_ya)
           
 void setDoor_yb(int door_yb)
           
 void setDoorMaxDiff(float doorMaxDiff)
           
 void setDoorMinDiff(float doorMinDiff)
           
 void setFinger_cluster_range(float finger_cluster_range)
           
 void setFinger_length(float finger_length)
           
 void setFinger_mv_smooth(float finger_mv_smooth)
           
 void setFinger_ori_variance(float finger_ori_variance)
           
 void setFinger_sensitivity(float finger_sensitivity)
           
 void setFinger_start_threshold(int finger_start_threshold)
           
 void setHideInside(boolean hideInside)
           
 void setIn_length(int in_length)
           
 void setIn_test_length(int in_test_length)
           
 void setIntensityZoom(int intensityZoom)
           
 void setLine_range(int line_range)
           
 void setLine_threshold(float line_threshold)
           
 void setLine2shape_thresh(float line2shape_thresh)
           
 void setLines_n_avg(int lines_n_avg)
           
 void setLinkSize(int linkSize)
           
 void setLogDataEnabled(boolean logDataEnabled)
           
 void setLowFilter_density(int lowFilter_density)
           
 void setLowFilter_density2(int lowFilter_density2)
           
 void setLowFilter_radius(int lowFilter_radius)
           
 void setLowFilter_radius2(int lowFilter_radius2)
           
 void setLowFilter_threshold(float lowFilter_threshold)
           
 void setMaxDiff(float maxDiff)
           
 void setMaxSegSize(int maxSegSize)
           
 void setMaxZeroes(int maxZeroes)
           
 void setMinDiff(float minDiff)
           
 void setMinZeroes(int minZeroes)
           
 void setNode_range(float node_range)
           
 void setPalmback_below(float palmback_below)
           
 void setPalmback_distance(int palmback_distance)
           
 void setPalmback_value(float palmback_value)
           
 void setResetPawTracking(boolean resetPawTracking)
           
 void setScaleAcc(boolean scaleAcc)
           
 void setScaleInDoor(boolean scaleInDoor)
           
 void setScaleIntensity(boolean scaleIntensity)
           
 void setScore_in_threshold(float score_in_threshold)
           
 void setScore_range(int score_range)
           
 void setScore_sup_threshold(float score_sup_threshold)
           
 void setScore_threshold(int score_threshold)
           
 void setSegSize(int segSize)
           
 void setShowAcc(boolean showAcc)
           
 void setShowAll(boolean showAll)
           
 void setShowClusters(boolean showClusters)
           
 void setShowDensity(boolean showDensity)
           
 void setShowFingers(boolean showFingers)
           
 void setShowFingerTips(boolean showFingerTips)
           
 void setShowOnlyAcc(boolean showOnlyAcc)
           
 void setShowPalm(boolean showPalm)
           
 void setShowScore(boolean showScore)
           
 void setShowSecondFilter(boolean showSecondFilter)
           
 void setShowSegments(boolean showSegments)
           
 void setShowShape(boolean showShape)
           
 void setShowShapePoints(boolean showShapePoints)
           
 void setShowSkeletton(boolean showSkeletton)
           
 void setShowThin(boolean showThin)
           
 void setShowWindow(boolean showWindow)
           
 void setShowZones(boolean showZones)
           
 void setSmoothShape(boolean smoothShape)
           
 void setThin_Threshold(float thin_threshold)
           
 void setThinning(boolean thinning)
           
 void setTracker_time_bin(float tracker_time_bin)
           
 void setUseDualFilter(boolean useDualFilter)
           
 void setUseFingerDistanceSmooth(boolean useFingerDistanceSmooth)
           
 void setUseIntensity(boolean useIntensity)
           
 void setUseLowFilter(boolean useLowFilter)
           
 void setUseSimpleContour(boolean useSimpleContour)
           
protected  ch.unizh.ini.jaer.projects.pawtracker.PawTracker2.Line shortestLineToValue(int x, int y, int range, float orientation, float variation, float min_threshold, float value_threshold, float[][][] highResFrame, float[][][] lowResFrame)
           
protected  boolean testSeparation(java.util.Vector points)
           
 java.lang.String toString()
           
protected  int traceLine(int x0, int y0, int x1, int y1, int maxrange)
           
 void update(java.util.Observable o, java.lang.Object arg)
           
 
Methods inherited from class net.sf.jaer.eventprocessing.EventFilter2D
checkOutputPacketEventType, checkOutputPacketEventType, getEnclosedFilter, resetOut, setEnclosedFilter, setFilterEnabled
 
Methods inherited from class net.sf.jaer.eventprocessing.EventFilter
getChip, getDescription, getEnclosedFilterChain, getEnclosingFilter, getPrefs, getPropertyChangeSupport, getPropertyTooltip, isAnnotationEnabled, isEnclosed, isFilterEnabled, prefsEnabledKey, setAnnotationEnabled, setChip, setEnclosed, setEnclosedFilter, setEnclosedFilterChain, setEnclosingFilter, setPreferredEnabledState, setPrefs, setPropertyTooltip
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface net.sf.jaer.graphics.FrameAnnotater
isAnnotationEnabled, setAnnotationEnabled
 

Field Detail

chip

protected AEChip chip

defaultClusterRadius

protected float defaultClusterRadius

pawIsDetected

protected boolean pawIsDetected

showDetectedClusters

protected boolean showDetectedClusters

palm

protected ch.unizh.ini.jaer.projects.pawtracker.PawTracker2.Palm palm

contour

protected PawTracker2.Contour contour

segments

protected PawTracker2.Segment[] segments

nbSegments

protected int nbSegments

accOrientationMax

protected int accOrientationMax

nbFingersActive

protected int nbFingersActive

knuckle_polygon_created

protected boolean knuckle_polygon_created

accEvents

protected float[][][] accEvents
accumulate events as would do the accumulate view mode 'P' from the gui


filteredEvents

protected float[][][] filteredEvents

secondFilteredEvents

protected float[][][] secondFilteredEvents

thinned

protected int[][][] thinned

skeletton

protected PawTracker2.Contour skeletton

bones

protected PawTracker2.Segment[] bones

nbBones

protected int nbBones

nodes

protected java.util.Vector nodes

grayValue

protected float grayValue

colorScale

protected int colorScale

insideIntensities

protected float[][][] insideIntensities
intensity inside the paw shape as accumulated value of projections from border segments


intensityIncrease

protected float intensityIncrease

scoresFrame

protected float[][][] scoresFrame

scoresFrameMax

protected float scoresFrameMax

fingerTips

protected java.util.Vector fingerTips

fingerLines

protected java.util.Vector fingerLines

fingerTipClusters

protected ch.unizh.ini.jaer.projects.pawtracker.PawTracker2.FingerCluster[] fingerTipClusters
Constructor Detail

PawTracker2

public PawTracker2(AEChip chip)
Creates a new instance of PawTracker

Method Detail

initFilter

public void initFilter()
Description copied from class: EventFilter
this should allocate and initialize memory: it may be called when the chip e.g. size parameters are changed after creation of the filter

Specified by:
initFilter in class EventFilter

processTracking

public void processTracking(float currentTime)

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

resetArray

public void resetArray(float[][][] array,
                       float value)

resetArray

public void resetArray(float[][][] array,
                       float value,
                       int k)

emptyIntoSameArray

public void emptyIntoSameArray(float[][][] array,
                               int k1,
                               int k2)

copyFrame

public float[][][] copyFrame(float[][][] source,
                             float[][][] dest)

scale

protected void scale(float[][][] fr)

scale

protected void scale(float[][][] fr,
                     int x1,
                     int y1,
                     int x2,
                     int y2)

decayArray

public void decayArray(float[][][] array,
                       float currentTime,
                       int xa,
                       int xb,
                       int ya,
                       int yb,
                       float decayLimit)

distanceBetween

protected float distanceBetween(int x1,
                                int y1,
                                int x2,
                                int y2)

findContour

public PawTracker2.Contour findContour(float[][][] f)

findContourGC

public PawTracker2.ContourPoint findContourGC(PawTracker2.Contour contour,
                                              int label)

resetDoubleArray

protected void resetDoubleArray(int[][] array,
                                int x_max,
                                int y_max)

testSeparation

protected boolean testSeparation(java.util.Vector points)

detectNodes

public java.util.Vector detectNodes(PawTracker2.Contour contour,
                                    int label,
                                    int range)

detectSegments

public int detectSegments(PawTracker2.Contour contour,
                          int label,
                          int range,
                          PawTracker2.Segment[] segments,
                          float[][][] fr,
                          boolean useIntensity)
detectSegments : new method to detect segments, replaces computeLocalOrientations create segments out of points from the contour labelled 1 (touching door)


findInsideDirOfSegment

protected double findInsideDirOfSegment(PawTracker2.Segment s,
                                        float[][][] fr)

longestLine

protected ch.unizh.ini.jaer.projects.pawtracker.PawTracker2.Line longestLine(int x,
                                                                             int y,
                                                                             int range,
                                                                             float orientation,
                                                                             float[][][] accEvents)

lineToShape

protected ch.unizh.ini.jaer.projects.pawtracker.PawTracker2.Line lineToShape(int x,
                                                                             int y,
                                                                             int range,
                                                                             float orientation,
                                                                             float min_threshold,
                                                                             float[][][] frame)

shortestLineToValue

protected ch.unizh.ini.jaer.projects.pawtracker.PawTracker2.Line shortestLineToValue(int x,
                                                                                     int y,
                                                                                     int range,
                                                                                     float orientation,
                                                                                     float variation,
                                                                                     float min_threshold,
                                                                                     float value_threshold,
                                                                                     float[][][] highResFrame,
                                                                                     float[][][] lowResFrame)

mostValuableLine

protected ch.unizh.ini.jaer.projects.pawtracker.PawTracker2.Line mostValuableLine(int x,
                                                                                  int y,
                                                                                  int range,
                                                                                  PawTracker2.Contour thin,
                                                                                  float[][][] accEvents)

mostValuableLine

protected ch.unizh.ini.jaer.projects.pawtracker.PawTracker2.Line mostValuableLine(int x,
                                                                                  int y,
                                                                                  int range,
                                                                                  float orientation,
                                                                                  float variation,
                                                                                  PawTracker2.Contour thin,
                                                                                  float[][][] accEvents)

longestLines

protected java.util.Vector longestLines(int x,
                                        int y,
                                        int range,
                                        int midlength,
                                        int nb_lines_avg,
                                        float[][][] accEvents)

meanLineOf

protected ch.unizh.ini.jaer.projects.pawtracker.PawTracker2.Line meanLineOf(java.util.Vector lines)

lineOrientation

protected float lineOrientation(ch.unizh.ini.jaer.projects.pawtracker.PawTracker2.Line line)

lineDirection

protected float lineDirection(ch.unizh.ini.jaer.projects.pawtracker.PawTracker2.Line line)

traceLine

protected int traceLine(int x0,
                        int y0,
                        int x1,
                        int y1,
                        int maxrange)

meanValueOfLine

protected float meanValueOfLine(int x0,
                                int y0,
                                int x1,
                                int y1,
                                float[][][] accEvents)

increaseIntensityOfRectangle

protected void increaseIntensityOfRectangle(int x0,
                                            int y0,
                                            int x1,
                                            int y1,
                                            int x2,
                                            int y2)

findArrayMax

protected float findArrayMax(float[][][] array)

increaseIntentisyOfLine

protected void increaseIntentisyOfLine(int x0,
                                       int y0,
                                       int x1,
                                       int y1)

nearDoor

protected boolean nearDoor(int x,
                           int y,
                           int range)

insideDoor

protected boolean insideDoor(int x,
                             int y)

getFilterState

public java.lang.Object getFilterState()
Description copied from class: EventFilter
should return the filter state in some useful form

Specified by:
getFilterState in class EventFilter

resetFilter

public void resetFilter()
Description copied from class: EventFilter
should reset the filter to initial state

Specified by:
resetFilter in class EventFilter

filterPacket

public EventPacket filterPacket(EventPacket in)
Description copied from class: EventFilter2D
Subclasses implement this method to define custom processing.

Specified by:
filterPacket in class EventFilter2D
Parameters:
in - the input packet
Returns:
the output packet

update

public void update(java.util.Observable o,
                   java.lang.Object arg)
Specified by:
update in interface java.util.Observer

annotate

public void annotate(java.awt.Graphics2D g)
Description copied from interface: FrameAnnotater
each annotator is called by the relevant class (e.g. EyeTracker) and enters annotate with graphics context current, in coordinates with pixel 0,0 in UL corner and pixel spacing 1 unit before scaling transform (which is already active).

Specified by:
annotate in interface FrameAnnotater
Parameters:
g - the Graphics2D context

drawBoxCentered

protected void drawBoxCentered(javax.media.opengl.GL gl,
                               int x,
                               int y,
                               int sx,
                               int sy)

drawBox

protected void drawBox(javax.media.opengl.GL gl,
                       int x,
                       int x2,
                       int y,
                       int y2)

annotate

public void annotate(javax.media.opengl.GLAutoDrawable drawable)
Description copied from interface: FrameAnnotater
Each annotator enters annotate with graphics context current, in coordinates with pixel 0,0 in LL corner (note opposite from Java2D) and pixel spacing 1 unit after the scaling transform (which is already active). The FrameAnnotater then can use JOGL calls to render to the screen by getting the GL context, e.g. the following code, used in the context of an AEChip object, draws a golden lines from LL to UR of the pixel array.
        GL gl = drawable.getGL();
        gl.glBegin(GL.GL_LINES);
        gl.glColor3f(.5f, .5f, 0);
        gl.glVertex2f(0, 0);
        gl.glVertex2f(getSizeX() - 1, getSizeY() - 1);
        gl.glEnd();
 

Specified by:
annotate in interface FrameAnnotater
Parameters:
drawable - the OpenGL drawable components, e.g., GLCanvas

annotate

public void annotate(float[][][] frame)
annotate the rendered retina frame to show locations of clusters

Specified by:
annotate in interface FrameAnnotater
Parameters:
frame - the RGB pixel information. First dimension is Y, second is X, third is RGB

isLogDataEnabled

public boolean isLogDataEnabled()

setLogDataEnabled

public void setLogDataEnabled(boolean logDataEnabled)

setLine_threshold

public void setLine_threshold(float line_threshold)

getLine_threshold

public float getLine_threshold()

setLine_range

public void setLine_range(int line_range)

getLine_range

public int getLine_range()

setLines_n_avg

public void setLines_n_avg(int lines_n_avg)

getLines_n_avg

public int getLines_n_avg()

setCluster_lifetime

public void setCluster_lifetime(int cluster_lifetime)

getCluster_lifetime

public int getCluster_lifetime()

setScore_range

public void setScore_range(int score_range)

getScore_range

public int getScore_range()

setScore_threshold

public void setScore_threshold(int score_threshold)

getScore_threshold

public int getScore_threshold()

setScore_in_threshold

public void setScore_in_threshold(float score_in_threshold)

getScore_in_threshold

public float getScore_in_threshold()

setScore_sup_threshold

public void setScore_sup_threshold(float score_sup_threshold)

getScore_sup_threshold

public float getScore_sup_threshold()

setLine2shape_thresh

public void setLine2shape_thresh(float line2shape_thresh)

getLine2shape_thresh

public float getLine2shape_thresh()

setMinDiff

public void setMinDiff(float minDiff)

getMinDiff

public float getMinDiff()

setIntensityZoom

public void setIntensityZoom(int intensityZoom)

getIntensityZoom

public int getIntensityZoom()

setIn_length

public void setIn_length(int in_length)

getIn_length

public int getIn_length()

setIn_test_length

public void setIn_test_length(int in_test_length)

getIn_test_length

public int getIn_test_length()

setDoor_xa

public void setDoor_xa(int door_xa)

getDoor_xa

public int getDoor_xa()

setDoor_xb

public void setDoor_xb(int door_xb)

getDoor_xb

public int getDoor_xb()

setDoor_ya

public void setDoor_ya(int door_ya)

getDoor_ya

public int getDoor_ya()

setDoor_yb

public void setDoor_yb(int door_yb)

getDoor_yb

public int getDoor_yb()

setNode_range

public void setNode_range(float node_range)

getNode_range

public float getNode_range()

setFinger_sensitivity

public void setFinger_sensitivity(float finger_sensitivity)

getFinger_sensitivity

public float getFinger_sensitivity()

setFinger_mv_smooth

public void setFinger_mv_smooth(float finger_mv_smooth)

getFinger_mv_smooth

public float getFinger_mv_smooth()

setFinger_length

public void setFinger_length(float finger_length)

getFinger_length

public float getFinger_length()

setFinger_start_threshold

public void setFinger_start_threshold(int finger_start_threshold)

getFinger_start_threshold

public int getFinger_start_threshold()

setFinger_cluster_range

public void setFinger_cluster_range(float finger_cluster_range)

getFinger_cluster_range

public float getFinger_cluster_range()

setFinger_ori_variance

public void setFinger_ori_variance(float finger_ori_variance)

getFinger_ori_variance

public float getFinger_ori_variance()

setPalmback_below

public void setPalmback_below(float palmback_below)

getPalmback_below

public float getPalmback_below()

setPalmback_value

public void setPalmback_value(float palmback_value)

getPalmback_value

public float getPalmback_value()

setPalmback_distance

public void setPalmback_distance(int palmback_distance)

getPalmback_distance

public int getPalmback_distance()

setContour_min_thresh

public void setContour_min_thresh(float contour_min_thresh)

getContour_min_thresh

public float getContour_min_thresh()

setContour_act_thresh

public void setContour_act_thresh(float contour_act_thresh)

getContour_act_thresh

public float getContour_act_thresh()

setContour_range

public void setContour_range(int contour_range)

getContour_range

public int getContour_range()

setTracker_time_bin

public void setTracker_time_bin(float tracker_time_bin)

getTracker_time_bin

public float getTracker_time_bin()

setMaxDiff

public void setMaxDiff(float maxDiff)

getMaxDiff

public float getMaxDiff()

setDoorMinDiff

public void setDoorMinDiff(float doorMinDiff)

getDoorMinDiff

public float getDoorMinDiff()

setDoorMaxDiff

public void setDoorMaxDiff(float doorMaxDiff)

getDoorMaxDiff

public float getDoorMaxDiff()

setMinZeroes

public void setMinZeroes(int minZeroes)

getMinZeroes

public int getMinZeroes()

setMaxZeroes

public void setMaxZeroes(int maxZeroes)

getMaxZeroes

public int getMaxZeroes()

getLinkSize

public int getLinkSize()

setLinkSize

public void setLinkSize(int linkSize)

getBoneSize

public int getBoneSize()

setBoneSize

public void setBoneSize(int boneSize)

getSegSize

public int getSegSize()

setSegSize

public void setSegSize(int segSize)

getMaxSegSize

public int getMaxSegSize()

setMaxSegSize

public void setMaxSegSize(int maxSegSize)

isResetPawTracking

public boolean isResetPawTracking()

setResetPawTracking

public void setResetPawTracking(boolean resetPawTracking)

setUseFingerDistanceSmooth

public void setUseFingerDistanceSmooth(boolean useFingerDistanceSmooth)

isUseFingerDistanceSmooth

public boolean isUseFingerDistanceSmooth()

setUseSimpleContour

public void setUseSimpleContour(boolean useSimpleContour)

isUseSimpleContour

public boolean isUseSimpleContour()

setShowSkeletton

public void setShowSkeletton(boolean showSkeletton)

isShowSkeletton

public boolean isShowSkeletton()

setShowSecondFilter

public void setShowSecondFilter(boolean showSecondFilter)

isShowSecondFilter

public boolean isShowSecondFilter()

setShowPalm

public void setShowPalm(boolean showPalm)

isShowPalm

public boolean isShowPalm()

setShowThin

public void setShowThin(boolean showThin)

isShowThin

public boolean isShowThin()

setThinning

public void setThinning(boolean thinning)

isThinning

public boolean isThinning()

getThin_Threshold

public float getThin_Threshold()

setThin_Threshold

public void setThin_Threshold(float thin_threshold)

setShowSegments

public void setShowSegments(boolean showSegments)

isShowSegments

public boolean isShowSegments()

setScaleAcc

public void setScaleAcc(boolean scaleAcc)

isScaleAcc

public boolean isScaleAcc()

setScaleIntensity

public void setScaleIntensity(boolean scaleIntensity)

isScaleIntensity

public boolean isScaleIntensity()

setShowAcc

public void setShowAcc(boolean showAcc)

isShowAcc

public boolean isShowAcc()

setShowOnlyAcc

public void setShowOnlyAcc(boolean showOnlyAcc)

isShowOnlyAcc

public boolean isShowOnlyAcc()

getDensityMinIndex

public int getDensityMinIndex()

setDensityMinIndex

public void setDensityMinIndex(int densityMinIndex)

getDensityMaxIndex

public int getDensityMaxIndex()

setDensityMaxIndex

public void setDensityMaxIndex(int densityMaxIndex)

setShowDensity

public void setShowDensity(boolean showDensity)

isShowDensity

public boolean isShowDensity()

setScaleInDoor

public void setScaleInDoor(boolean scaleInDoor)

isScaleInDoor

public boolean isScaleInDoor()

getDecayLimit

public int getDecayLimit()

setDecayLimit

public void setDecayLimit(int decayLimit)

setDecayOn

public void setDecayOn(boolean decayOn)

isDecayOn

public boolean isDecayOn()

setShowWindow

public void setShowWindow(boolean showWindow)

isShowWindow

public boolean isShowWindow()

setShowScore

public void setShowScore(boolean showScore)

isShowScore

public boolean isShowScore()

setUseIntensity

public void setUseIntensity(boolean useIntensity)

isUseIntensity

public boolean isUseIntensity()

setHideInside

public void setHideInside(boolean hideInside)

isHideInside

public boolean isHideInside()

setShowFingers

public void setShowFingers(boolean showFingers)

isShowFingers

public boolean isShowFingers()

setShowClusters

public void setShowClusters(boolean showClusters)

isShowClusters

public boolean isShowClusters()

setShowFingerTips

public void setShowFingerTips(boolean showFingerTips)

isShowFingerTips

public boolean isShowFingerTips()

setShowZones

public void setShowZones(boolean showZones)

isShowZones

public boolean isShowZones()

setShowAll

public void setShowAll(boolean showAll)

isShowAll

public boolean isShowAll()

setShowShape

public void setShowShape(boolean showShape)

isShowShape

public boolean isShowShape()

setShowShapePoints

public void setShowShapePoints(boolean showShapePoints)

isShowShapePoints

public boolean isShowShapePoints()

setSmoothShape

public void setSmoothShape(boolean smoothShape)

isSmoothShape

public boolean isSmoothShape()

setUseDualFilter

public void setUseDualFilter(boolean useDualFilter)

isUseDualFilter

public boolean isUseDualFilter()

setUseLowFilter

public void setUseLowFilter(boolean useLowFilter)

isUseLowFilter

public boolean isUseLowFilter()

getLowFilter_radius

public int getLowFilter_radius()

setLowFilter_radius

public void setLowFilter_radius(int lowFilter_radius)

getLowFilter_density

public int getLowFilter_density()

setLowFilter_density

public void setLowFilter_density(int lowFilter_density)

getLowFilter_threshold

public float getLowFilter_threshold()

setLowFilter_threshold

public void setLowFilter_threshold(float lowFilter_threshold)

getLowFilter_radius2

public int getLowFilter_radius2()

setLowFilter_radius2

public void setLowFilter_radius2(int lowFilter_radius2)

getLowFilter_density2

public int getLowFilter_density2()

setLowFilter_density2

public void setLowFilter_density2(int lowFilter_density2)

jAER project on SourceForge