|
jAER project on SourceForge | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.io.OutputStream
java.io.FilterOutputStream
java.io.DataOutputStream
ch.unizh.ini.jaer.projects.stereo3D.AE3DOutputStream
public class AE3DOutputStream
Class to stream out packets of 3D reconstructed events in binary. The file format is
int32 x
int32 y
int32 disparity
int32 method
int32 lead_side
float value
int32 timestamp
repeated for the number of events in the file.
| Field Summary |
|---|
| Fields inherited from class java.io.DataOutputStream |
|---|
written |
| Fields inherited from class java.io.FilterOutputStream |
|---|
out |
| Constructor Summary | |
|---|---|
AE3DOutputStream(java.io.OutputStream os,
int type)
Creates a new instance of AEOutputStream. |
|
| Method Summary | |
|---|---|
void |
writeHeaderLine(java.lang.String s)
Writes a comment header line. |
void |
writePacket(AEPacket3D ae)
Writes the packet out as sequence of address/timestamp's, just as they came as input from the device. |
| Methods inherited from class java.io.DataOutputStream |
|---|
flush, size, write, write, writeBoolean, writeByte, writeBytes, writeChar, writeChars, writeDouble, writeFloat, writeInt, writeLong, writeShort, writeUTF |
| Methods inherited from class java.io.FilterOutputStream |
|---|
close, write |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface java.io.DataOutput |
|---|
write |
| Constructor Detail |
|---|
public AE3DOutputStream(java.io.OutputStream os,
int type)
os - an output stream, e.g. from new BufferedOutputStream(new FileOutputStream(File f).| Method Detail |
|---|
public void writePacket(AEPacket3D ae)
throws java.io.IOException
ae - a raw addresse-event packet
java.io.IOException
public void writeHeaderLine(java.lang.String s)
throws java.io.IOException
s - the string
java.io.IOException
|
jAER project on SourceForge | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||