|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object simbad.sim.SensorData simbad.sim.SensorMatrix
A luminance Matrix : a 2d array of normalized luminances. It can be obtained from a vision sensor (Eye).
Field Summary | |
int |
height
|
int |
width
|
Constructor Summary | |
SensorMatrix(int width,
int height)
|
|
SensorMatrix(SensorMatrix lm)
|
Method Summary | |
java.lang.Object |
clone()
|
float |
get(float xf,
float yf)
Access matrix element. |
float |
get(int x,
int y)
Access matrix element. |
float[] |
getArray()
|
int |
getHeight()
Return the matrix height in pixels. |
int |
getWidth()
Return the matrix width in pixels. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public int width
public int height
Constructor Detail |
public SensorMatrix(int width, int height)
public SensorMatrix(SensorMatrix lm)
Method Detail |
public int getHeight()
public int getWidth()
public float get(int x, int y)
public float get(float xf, float yf)
xf
- x coord in range 0..1yf
- y coord in range 0..1
public float[] getArray()
public java.lang.Object clone()
clone
in class SensorData
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |