#include <LadybugCamera.h>
Public Member Functions | |
bool | areImagesSelected (uint32_t images) |
int | getNumSelectedImages () |
uint32_t | getSelectedImages () |
LadybugCamera (dc1394camera_t *camera) | |
LadybugCamera () | |
void | setFormat7Roi (dc1394video_mode_t videoMode, int32_t packetSize=9792) |
void | setSelectedImages (uint32_t images) |
virtual | ~LadybugCamera () |
Static Public Member Functions | |
static void | format7FrameInfo (const dc1394video_mode_t videoMode, int &frameWidth, int &frameHeight, int &imageWidth, int &imageHeight, int &numImages) |
Static Public Attributes | |
static const uint32_t | ALL_CAMERAS = 0xffffff |
static const uint32_t | BAYER_CHANNELS [NUM_CAMERAS][NUM_BAYER_CHANNELS] |
static const uint32_t | CAMERA_0 = 0xf00000 |
static const uint32_t | CAMERA_0_BAYER_CHANNEL_0 = 0x800000 |
static const uint32_t | CAMERA_0_BAYER_CHANNEL_1 = 0x400000 |
static const uint32_t | CAMERA_0_BAYER_CHANNEL_2 = 0x200000 |
static const uint32_t | CAMERA_0_BAYER_CHANNEL_3 = 0x100000 |
static const uint32_t | CAMERA_1 = 0x0f0000 |
static const uint32_t | CAMERA_1_BAYER_CHANNEL_0 = 0x080000 |
static const uint32_t | CAMERA_1_BAYER_CHANNEL_1 = 0x040000 |
static const uint32_t | CAMERA_1_BAYER_CHANNEL_2 = 0x020000 |
static const uint32_t | CAMERA_1_BAYER_CHANNEL_3 = 0x010000 |
static const uint32_t | CAMERA_2 = 0x00f000 |
static const uint32_t | CAMERA_2_BAYER_CHANNEL_0 = 0x008000 |
static const uint32_t | CAMERA_2_BAYER_CHANNEL_1 = 0x004000 |
static const uint32_t | CAMERA_2_BAYER_CHANNEL_2 = 0x002000 |
static const uint32_t | CAMERA_2_BAYER_CHANNEL_3 = 0x001000 |
static const uint32_t | CAMERA_3 = 0x000f00 |
static const uint32_t | CAMERA_3_BAYER_CHANNEL_0 = 0x000800 |
static const uint32_t | CAMERA_3_BAYER_CHANNEL_1 = 0x000400 |
static const uint32_t | CAMERA_3_BAYER_CHANNEL_2 = 0x000200 |
static const uint32_t | CAMERA_3_BAYER_CHANNEL_3 = 0x000100 |
static const uint32_t | CAMERA_4 = 0x0000f0 |
static const uint32_t | CAMERA_4_BAYER_CHANNEL_0 = 0x000080 |
static const uint32_t | CAMERA_4_BAYER_CHANNEL_1 = 0x000040 |
static const uint32_t | CAMERA_4_BAYER_CHANNEL_2 = 0x000020 |
static const uint32_t | CAMERA_4_BAYER_CHANNEL_3 = 0x000010 |
static const uint32_t | CAMERA_5 = 0x00000f |
static const uint32_t | CAMERA_5_BAYER_CHANNEL_0 = 0x000008 |
static const uint32_t | CAMERA_5_BAYER_CHANNEL_1 = 0x000004 |
static const uint32_t | CAMERA_5_BAYER_CHANNEL_2 = 0x000002 |
static const uint32_t | CAMERA_5_BAYER_CHANNEL_3 = 0x000001 |
static const uint32_t | CAMERAS [NUM_CAMERAS] = { 0xf00000, 0x0f0000, 0x00f000, 0x000f00, 0x0000f0, 0x00000f } |
static const uint64_t | IMAGE_SELECTION_REGISTER = 0x1E88 |
static const int | MONO_HALF_HEIGHT = 308 |
static const int | MONO_HEIGHT = 616 |
static const int | MONO_NUM_IMAGES = 24 |
static const int | MONO_WIDTH = 808 |
static const int | NUM_BAYER_CHANNELS = 4 |
static const int | NUM_CAMERAS = 6 |
static const int | RAW_HALF_HEIGHT = 616 |
static const int | RAW_HEIGHT = 1232 |
static const int | RAW_NUM_IMAGES = 6 |
static const int | RAW_WIDTH = 1616 |
Private Attributes | |
uint32_t | selectedImages |
Definition at line 20 of file LadybugCamera.h.
nifti::dc1394::LadybugCamera::LadybugCamera | ( | dc1394camera_t * | camera | ) |
Definition at line 90 of file LadybugCamera.cpp.
Definition at line 94 of file LadybugCamera.cpp.
nifti::dc1394::LadybugCamera::~LadybugCamera | ( | ) | [virtual] |
Definition at line 98 of file LadybugCamera.cpp.
bool nifti::dc1394::LadybugCamera::areImagesSelected | ( | uint32_t | images | ) |
Definition at line 128 of file LadybugCamera.cpp.
void nifti::dc1394::LadybugCamera::format7FrameInfo | ( | const dc1394video_mode_t | videoMode, |
int & | frameWidth, | ||
int & | frameHeight, | ||
int & | imageWidth, | ||
int & | imageHeight, | ||
int & | numImages | ||
) | [static] |
Definition at line 59 of file LadybugCamera.cpp.
Definition at line 132 of file LadybugCamera.cpp.
uint32_t nifti::dc1394::LadybugCamera::getSelectedImages | ( | ) |
Definition at line 111 of file LadybugCamera.cpp.
void nifti::dc1394::LadybugCamera::setFormat7Roi | ( | dc1394video_mode_t | videoMode, |
int32_t | packetSize = 9792 |
||
) |
Definition at line 101 of file LadybugCamera.cpp.
void nifti::dc1394::LadybugCamera::setSelectedImages | ( | uint32_t | images | ) |
Definition at line 115 of file LadybugCamera.cpp.
const uint32_t nifti::dc1394::LadybugCamera::ALL_CAMERAS = 0xffffff [static] |
Definition at line 25 of file LadybugCamera.h.
const uint32_t nifti::dc1394::LadybugCamera::BAYER_CHANNELS[NUM_CAMERAS][NUM_BAYER_CHANNELS] [static] |
Definition at line 58 of file LadybugCamera.h.
const uint32_t nifti::dc1394::LadybugCamera::CAMERA_0 = 0xf00000 [static] |
Definition at line 26 of file LadybugCamera.h.
const uint32_t nifti::dc1394::LadybugCamera::CAMERA_0_BAYER_CHANNEL_0 = 0x800000 [static] |
Definition at line 32 of file LadybugCamera.h.
const uint32_t nifti::dc1394::LadybugCamera::CAMERA_0_BAYER_CHANNEL_1 = 0x400000 [static] |
Definition at line 33 of file LadybugCamera.h.
const uint32_t nifti::dc1394::LadybugCamera::CAMERA_0_BAYER_CHANNEL_2 = 0x200000 [static] |
Definition at line 34 of file LadybugCamera.h.
const uint32_t nifti::dc1394::LadybugCamera::CAMERA_0_BAYER_CHANNEL_3 = 0x100000 [static] |
Definition at line 35 of file LadybugCamera.h.
const uint32_t nifti::dc1394::LadybugCamera::CAMERA_1 = 0x0f0000 [static] |
Definition at line 27 of file LadybugCamera.h.
const uint32_t nifti::dc1394::LadybugCamera::CAMERA_1_BAYER_CHANNEL_0 = 0x080000 [static] |
Definition at line 36 of file LadybugCamera.h.
const uint32_t nifti::dc1394::LadybugCamera::CAMERA_1_BAYER_CHANNEL_1 = 0x040000 [static] |
Definition at line 37 of file LadybugCamera.h.
const uint32_t nifti::dc1394::LadybugCamera::CAMERA_1_BAYER_CHANNEL_2 = 0x020000 [static] |
Definition at line 38 of file LadybugCamera.h.
const uint32_t nifti::dc1394::LadybugCamera::CAMERA_1_BAYER_CHANNEL_3 = 0x010000 [static] |
Definition at line 39 of file LadybugCamera.h.
const uint32_t nifti::dc1394::LadybugCamera::CAMERA_2 = 0x00f000 [static] |
Definition at line 28 of file LadybugCamera.h.
const uint32_t nifti::dc1394::LadybugCamera::CAMERA_2_BAYER_CHANNEL_0 = 0x008000 [static] |
Definition at line 40 of file LadybugCamera.h.
const uint32_t nifti::dc1394::LadybugCamera::CAMERA_2_BAYER_CHANNEL_1 = 0x004000 [static] |
Definition at line 41 of file LadybugCamera.h.
const uint32_t nifti::dc1394::LadybugCamera::CAMERA_2_BAYER_CHANNEL_2 = 0x002000 [static] |
Definition at line 42 of file LadybugCamera.h.
const uint32_t nifti::dc1394::LadybugCamera::CAMERA_2_BAYER_CHANNEL_3 = 0x001000 [static] |
Definition at line 43 of file LadybugCamera.h.
const uint32_t nifti::dc1394::LadybugCamera::CAMERA_3 = 0x000f00 [static] |
Definition at line 29 of file LadybugCamera.h.
const uint32_t nifti::dc1394::LadybugCamera::CAMERA_3_BAYER_CHANNEL_0 = 0x000800 [static] |
Definition at line 44 of file LadybugCamera.h.
const uint32_t nifti::dc1394::LadybugCamera::CAMERA_3_BAYER_CHANNEL_1 = 0x000400 [static] |
Definition at line 45 of file LadybugCamera.h.
const uint32_t nifti::dc1394::LadybugCamera::CAMERA_3_BAYER_CHANNEL_2 = 0x000200 [static] |
Definition at line 46 of file LadybugCamera.h.
const uint32_t nifti::dc1394::LadybugCamera::CAMERA_3_BAYER_CHANNEL_3 = 0x000100 [static] |
Definition at line 47 of file LadybugCamera.h.
const uint32_t nifti::dc1394::LadybugCamera::CAMERA_4 = 0x0000f0 [static] |
Definition at line 30 of file LadybugCamera.h.
const uint32_t nifti::dc1394::LadybugCamera::CAMERA_4_BAYER_CHANNEL_0 = 0x000080 [static] |
Definition at line 48 of file LadybugCamera.h.
const uint32_t nifti::dc1394::LadybugCamera::CAMERA_4_BAYER_CHANNEL_1 = 0x000040 [static] |
Definition at line 49 of file LadybugCamera.h.
const uint32_t nifti::dc1394::LadybugCamera::CAMERA_4_BAYER_CHANNEL_2 = 0x000020 [static] |
Definition at line 50 of file LadybugCamera.h.
const uint32_t nifti::dc1394::LadybugCamera::CAMERA_4_BAYER_CHANNEL_3 = 0x000010 [static] |
Definition at line 51 of file LadybugCamera.h.
const uint32_t nifti::dc1394::LadybugCamera::CAMERA_5 = 0x00000f [static] |
Definition at line 31 of file LadybugCamera.h.
const uint32_t nifti::dc1394::LadybugCamera::CAMERA_5_BAYER_CHANNEL_0 = 0x000008 [static] |
Definition at line 52 of file LadybugCamera.h.
const uint32_t nifti::dc1394::LadybugCamera::CAMERA_5_BAYER_CHANNEL_1 = 0x000004 [static] |
Definition at line 53 of file LadybugCamera.h.
const uint32_t nifti::dc1394::LadybugCamera::CAMERA_5_BAYER_CHANNEL_2 = 0x000002 [static] |
Definition at line 54 of file LadybugCamera.h.
const uint32_t nifti::dc1394::LadybugCamera::CAMERA_5_BAYER_CHANNEL_3 = 0x000001 [static] |
Definition at line 55 of file LadybugCamera.h.
const uint32_t nifti::dc1394::LadybugCamera::CAMERAS = { 0xf00000, 0x0f0000, 0x00f000, 0x000f00, 0x0000f0, 0x00000f } [static] |
Definition at line 57 of file LadybugCamera.h.
const uint64_t nifti::dc1394::LadybugCamera::IMAGE_SELECTION_REGISTER = 0x1E88 [static] |
Definition at line 24 of file LadybugCamera.h.
const int nifti::dc1394::LadybugCamera::MONO_HALF_HEIGHT = 308 [static] |
Definition at line 66 of file LadybugCamera.h.
const int nifti::dc1394::LadybugCamera::MONO_HEIGHT = 616 [static] |
Definition at line 65 of file LadybugCamera.h.
const int nifti::dc1394::LadybugCamera::MONO_NUM_IMAGES = 24 [static] |
Definition at line 67 of file LadybugCamera.h.
const int nifti::dc1394::LadybugCamera::MONO_WIDTH = 808 [static] |
Definition at line 64 of file LadybugCamera.h.
const int nifti::dc1394::LadybugCamera::NUM_BAYER_CHANNELS = 4 [static] |
Definition at line 23 of file LadybugCamera.h.
const int nifti::dc1394::LadybugCamera::NUM_CAMERAS = 6 [static] |
Definition at line 22 of file LadybugCamera.h.
const int nifti::dc1394::LadybugCamera::RAW_HALF_HEIGHT = 616 [static] |
Definition at line 62 of file LadybugCamera.h.
const int nifti::dc1394::LadybugCamera::RAW_HEIGHT = 1232 [static] |
Definition at line 61 of file LadybugCamera.h.
const int nifti::dc1394::LadybugCamera::RAW_NUM_IMAGES = 6 [static] |
Definition at line 63 of file LadybugCamera.h.
const int nifti::dc1394::LadybugCamera::RAW_WIDTH = 1616 [static] |
Definition at line 60 of file LadybugCamera.h.
uint32_t nifti::dc1394::LadybugCamera::selectedImages [private] |
Definition at line 81 of file LadybugCamera.h.