public abstract class CamIF
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static int |
SUCCESS |
static int |
UNRESOLVED_ERROR |
| Constructor and Description |
|---|
CamIF() |
| Modifier and Type | Method and Description |
|---|---|
int |
getCurrentFrames(byte[] frameR,
byte[] frameI)
Retrieves the most current frames that have been recorded from the cameras.
|
int |
init()
Initialises connection to the camera system.
|
int |
setChunkTimeLength(int min)
Sets the maximum duration of the frames that are recorded in each chunk.
|
int |
setExposureTime(double sec)
Sets the exposure time of the frames to be recorded.
|
int |
startRecording()
Starts the recording of the frames, by creating a sequence of raw data chunks.
|
int |
status()
Retrieves/Updates the status identifiers and settings of the camera system.
|
int |
stopRecording()
Stops the recording of the files.
|
public static final int SUCCESS
public static final int UNRESOLVED_ERROR
public int init()
public int startRecording()
public int stopRecording()
public int setExposureTime(double sec)
sec - public int setChunkTimeLength(int min)
min - public int status()
public int getCurrentFrames(byte[] frameR,
byte[] frameI)
frameR - a buffer to be filled with the intensity values of the frame in RframeI - a buffer to be filled with the intensity values of the frame in I