jAER project on SourceForge

net.sf.jaer.stereopsis
Class Stereopsis

java.lang.Object
  extended by net.sf.jaer.stereopsis.Stereopsis

public class Stereopsis
extends java.lang.Object

General helper methods and static values for stereopsis.

Author:
tobi

Field Summary
static int MASK_RIGHT_ADDR
          the bit mask used for constructing a right eye event from a raw event
static byte MASK_RIGHT_TYPE
           
 
Constructor Summary
Stereopsis()
          Creates a new instance of Stereopsis
 
Method Summary
static boolean isLeftRawAddress(int addr)
           
static boolean isLeftType(byte type)
           
static boolean isRightRawAddress(int addr)
           
static boolean isRightType(byte type)
          return true if type signals right eye
static byte setLeftType(byte type)
           
static byte setRightType(byte type)
           
static byte stripEye(byte type)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

MASK_RIGHT_ADDR

public static final int MASK_RIGHT_ADDR
the bit mask used for constructing a right eye event from a raw event

See Also:
Constant Field Values

MASK_RIGHT_TYPE

public static final byte MASK_RIGHT_TYPE
See Also:
Constant Field Values
Constructor Detail

Stereopsis

public Stereopsis()
Creates a new instance of Stereopsis

Method Detail

isLeftRawAddress

public static final boolean isLeftRawAddress(int addr)
Returns:
true if raw address signals left eye event

isRightRawAddress

public static final boolean isRightRawAddress(int addr)
Returns:
true if raw address signals right eye event

isLeftType

public static final boolean isLeftType(byte type)
Returns:
true of type of event signals left eye

isRightType

public static final boolean isRightType(byte type)
return true if type signals right eye


setRightType

public static final byte setRightType(byte type)

setLeftType

public static final byte setLeftType(byte type)

stripEye

public static final byte stripEye(byte type)

jAER project on SourceForge