|
jAER project on SourceForge | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.jaer.eventprocessing.tracking.RectangularClusterTracker.Cluster
net.sf.jaer.stereopsis.StereoClusterTracker.StereoCluster
public class StereoClusterTracker.StereoCluster
Extends the 2-d cluster to include 2.5-d disparity information. Adding an event updates the cluster's disparity value. The events added from left and right eye can have different x,y locations depending on misalignment and disparity. The cluster, however, has a single location in x,y,disparity space. When an event is added, the cluster disparity value is taken account of for determining the distance of the event to the cluster.
Nested Class Summary | |
---|---|
class |
StereoClusterTracker.StereoCluster.Point3d
x,y,z triplet for representing 3d spatial location of cluster. |
Nested classes/interfaces inherited from class net.sf.jaer.eventprocessing.tracking.RectangularClusterTracker.Cluster |
---|
RectangularClusterTracker.Cluster.PathPoint |
Field Summary | |
---|---|
StereoClusterTracker.StereoCluster.Point3d |
location3dm
location of cluster in 3d space as computed from pixel location and disparity, given chip's StereoGeometry. |
StereoClusterTracker.StereoCluster.Point3d |
velocity3dmps
velocity of cluster in 3d space as computed from pixel location and disparity, given chip's StereoGeometry. |
Fields inherited from class net.sf.jaer.eventprocessing.tracking.RectangularClusterTracker.Cluster |
---|
color, distanceToLastEvent, firstTimestamp, instantaneousEventRate, instantaneousISI, lastTimestamp, location, numEvents, path, previousNumEvents, velocity |
Constructor Summary | |
---|---|
StereoClusterTracker.StereoCluster()
|
|
StereoClusterTracker.StereoCluster(BasicEvent ev)
Constructs a new cluster centered on an event |
|
StereoClusterTracker.StereoCluster(StereoClusterTracker.StereoCluster one,
StereoClusterTracker.StereoCluster two)
Constructs a cluster by merging two clusters |
Method Summary | |
---|---|
void |
addEvent(BasicEvent event)
adds one BasicEvent event to this cluster, updating its parameters in the process |
void |
addEvent(BinocularEvent event)
adds one BinocularEvent to this cluster, updating its parameters in the process |
float |
distanceTo(BasicEvent event)
Computes ditance of cluster to event |
protected float |
distanceTo(StereoClusterTracker.StereoCluster c)
Computes distance to another cluster |
float |
getDisparity()
|
float |
getDisparityVelocity()
|
StereoClusterTracker.StereoCluster.Point3d |
getLocation3dm()
|
StereoClusterTracker.StereoCluster.Point3d |
getVelocity3dmps()
|
void |
setDisparity(float disparity)
|
void |
setDisparityVelocity(float disparityVelocity)
|
void |
setLocation3dm(StereoClusterTracker.StereoCluster.Point3d location3dm)
|
void |
setVelocity3dmps(StereoClusterTracker.StereoCluster.Point3d velocity3dmps)
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public StereoClusterTracker.StereoCluster.Point3d location3dm
public StereoClusterTracker.StereoCluster.Point3d velocity3dmps
Constructor Detail |
---|
public StereoClusterTracker.StereoCluster()
public StereoClusterTracker.StereoCluster(BasicEvent ev)
ev
- the eventpublic StereoClusterTracker.StereoCluster(StereoClusterTracker.StereoCluster one, StereoClusterTracker.StereoCluster two)
Method Detail |
---|
public void addEvent(BasicEvent event)
addEvent
in class RectangularClusterTracker.Cluster
event
- the event to addpublic void addEvent(BinocularEvent event)
event
- the event to addpublic float distanceTo(BasicEvent event)
event
- the event
protected final float distanceTo(StereoClusterTracker.StereoCluster c)
c
- the other StereoCluster
public java.lang.String toString()
toString
in class RectangularClusterTracker.Cluster
public float getDisparityVelocity()
public void setDisparityVelocity(float disparityVelocity)
public StereoClusterTracker.StereoCluster.Point3d getLocation3dm()
location3dm
public void setLocation3dm(StereoClusterTracker.StereoCluster.Point3d location3dm)
location3dm
public StereoClusterTracker.StereoCluster.Point3d getVelocity3dmps()
velocity3dmps
public void setVelocity3dmps(StereoClusterTracker.StereoCluster.Point3d velocity3dmps)
velocity3dmps
public float getDisparity()
public void setDisparity(float disparity)
|
jAER project on SourceForge | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |