#include <opt_nm33_camera.h>
Classes | |
struct | buffer |
Public Member Functions | |
void | device_close () |
void | device_open (int camera_index) |
short | getActualFPS () |
std::string | getFirmwareVersion () |
void | getMiddleImage (IplImage *frame, CvMat &subframe) |
void | getNarrowImage (IplImage *frame, CvMat &subframe) |
void | getOmniImage (IplImage *frame, CvMat &subframe) |
std::string | getSerialID () |
void | getWideImage (IplImage *frame, CvMat &subframe) |
OptNM3xCamera (int camera_index) | |
IplImage * | queryFrame () |
IplImage * | queryMiddleFrame () |
IplImage * | queryNarrowFrame () |
IplImage * | queryOmniFrame () |
IplImage * | queryWideFrame () |
IplImage * | read_frame () |
bool | setAutoExposure (bool mode) |
bool | setAutoWhitebalance (bool mode) |
bool | setBrightness (int value) |
bool | setCaptureFPS (short value) |
bool | setExposure (int value) |
bool | setFlipScreen (char value) |
bool | setInfoDisplay (bool mode) |
bool | setIris (int value) |
bool | setJpegQuality (char value) |
bool | setLensType (char value) |
bool | setLocationAbsolute (int no, int pan, int tilt, int roll, int zoom) |
bool | setMedianFilter (bool mode) |
bool | setMode (int mode) |
bool | setPanAbsolute (double value) |
bool | setPanAbsolute (int value) |
bool | setPanAbsolute (int no, int value) |
bool | setRollAbsolute (double value) |
bool | setRollAbsolute (int value) |
bool | setRollAbsolute (int no, int value) |
bool | setSharpness (int value) |
bool | setSmallHemisphere (char value) |
bool | setTiltAbsolute (double value) |
bool | setTiltAbsolute (int value) |
bool | setTiltAbsolute (int no, int value) |
bool | setWhitebalance (int value) |
bool | setZoomAbsolute (double value) |
bool | setZoomAbsolute (int value) |
bool | setZoomAbsolute (int no, int value) |
~OptNM3xCamera () | |
Private Member Functions | |
bool | getXuValue (int selector, const char *str) |
bool | getXuValue (int selector, short *value) |
bool | setXuValue (int selector, char value) |
bool | setXuValue (int selector, short v1, short v2) |
bool | setXuValue (int selector, short v1, short v2, short v3, short v4, short v5) |
int | v4l2_get_ioctl (int selector) |
bool | v4l2_set_ioctl (int selector, int value) |
bool | xu_ioctl (int selector, int ctrl, void *value) |
Private Attributes | |
struct OptNM3xCamera::buffer * | buffers |
int | fd |
IplImage * | frame |
IplImage * | frame_middle |
IplImage * | frame_narrow |
IplImage * | frame_omni |
IplImage * | frame_wide |
int | height |
unsigned int | n_buffers |
int | width |
Definition at line 11 of file opt_nm33_camera.h.
OptNM3xCamera::OptNM3xCamera | ( | int | camera_index | ) |
Definition at line 293 of file opt_nm33_camera.cpp.
Definition at line 308 of file opt_nm33_camera.cpp.
void OptNM3xCamera::device_close | ( | ) |
Definition at line 227 of file opt_nm33_camera.cpp.
void OptNM3xCamera::device_open | ( | int | camera_index | ) |
Definition at line 29 of file opt_nm33_camera.cpp.
Definition at line 517 of file opt_nm33_camera.cpp.
Definition at line 485 of file opt_nm33_camera.cpp.
void OptNM3xCamera::getMiddleImage | ( | IplImage * | frame, |
CvMat & | subframe | ||
) |
Definition at line 348 of file opt_nm33_camera.cpp.
void OptNM3xCamera::getNarrowImage | ( | IplImage * | frame, |
CvMat & | subframe | ||
) |
Definition at line 353 of file opt_nm33_camera.cpp.
void OptNM3xCamera::getOmniImage | ( | IplImage * | frame, |
CvMat & | subframe | ||
) |
Definition at line 338 of file opt_nm33_camera.cpp.
Definition at line 506 of file opt_nm33_camera.cpp.
void OptNM3xCamera::getWideImage | ( | IplImage * | frame, |
CvMat & | subframe | ||
) |
Definition at line 343 of file opt_nm33_camera.cpp.
bool OptNM3xCamera::getXuValue | ( | int | selector, |
const char * | str | ||
) | [private] |
Definition at line 541 of file opt_nm33_camera.cpp.
bool OptNM3xCamera::getXuValue | ( | int | selector, |
short * | value | ||
) | [private] |
Definition at line 544 of file opt_nm33_camera.cpp.
IplImage * OptNM3xCamera::queryFrame | ( | ) |
Definition at line 314 of file opt_nm33_camera.cpp.
IplImage * OptNM3xCamera::queryMiddleFrame | ( | ) |
Definition at line 375 of file opt_nm33_camera.cpp.
IplImage * OptNM3xCamera::queryNarrowFrame | ( | ) |
Definition at line 383 of file opt_nm33_camera.cpp.
IplImage * OptNM3xCamera::queryOmniFrame | ( | ) |
Definition at line 359 of file opt_nm33_camera.cpp.
IplImage * OptNM3xCamera::queryWideFrame | ( | ) |
Definition at line 367 of file opt_nm33_camera.cpp.
IplImage * OptNM3xCamera::read_frame | ( | ) |
Definition at line 260 of file opt_nm33_camera.cpp.
bool OptNM3xCamera::setAutoExposure | ( | bool | mode | ) |
Definition at line 397 of file opt_nm33_camera.cpp.
Definition at line 421 of file opt_nm33_camera.cpp.
bool OptNM3xCamera::setBrightness | ( | int | value | ) |
Definition at line 409 of file opt_nm33_camera.cpp.
bool OptNM3xCamera::setCaptureFPS | ( | short | value | ) |
Definition at line 514 of file opt_nm33_camera.cpp.
bool OptNM3xCamera::setExposure | ( | int | value | ) |
Definition at line 401 of file opt_nm33_camera.cpp.
bool OptNM3xCamera::setFlipScreen | ( | char | value | ) |
Definition at line 494 of file opt_nm33_camera.cpp.
bool OptNM3xCamera::setInfoDisplay | ( | bool | mode | ) |
Definition at line 511 of file opt_nm33_camera.cpp.
bool OptNM3xCamera::setIris | ( | int | value | ) |
Definition at line 405 of file opt_nm33_camera.cpp.
bool OptNM3xCamera::setJpegQuality | ( | char | value | ) |
Definition at line 503 of file opt_nm33_camera.cpp.
bool OptNM3xCamera::setLensType | ( | char | value | ) |
Definition at line 522 of file opt_nm33_camera.cpp.
bool OptNM3xCamera::setLocationAbsolute | ( | int | no, |
int | pan, | ||
int | tilt, | ||
int | roll, | ||
int | zoom | ||
) |
Definition at line 537 of file opt_nm33_camera.cpp.
bool OptNM3xCamera::setMedianFilter | ( | bool | mode | ) |
Definition at line 500 of file opt_nm33_camera.cpp.
bool OptNM3xCamera::setMode | ( | int | mode | ) |
Definition at line 392 of file opt_nm33_camera.cpp.
bool OptNM3xCamera::setPanAbsolute | ( | double | value | ) |
Definition at line 425 of file opt_nm33_camera.cpp.
bool OptNM3xCamera::setPanAbsolute | ( | int | value | ) |
Definition at line 437 of file opt_nm33_camera.cpp.
bool OptNM3xCamera::setPanAbsolute | ( | int | no, |
int | value | ||
) |
Definition at line 525 of file opt_nm33_camera.cpp.
bool OptNM3xCamera::setRollAbsolute | ( | double | value | ) |
Definition at line 431 of file opt_nm33_camera.cpp.
bool OptNM3xCamera::setRollAbsolute | ( | int | value | ) |
Definition at line 443 of file opt_nm33_camera.cpp.
bool OptNM3xCamera::setRollAbsolute | ( | int | no, |
int | value | ||
) |
Definition at line 531 of file opt_nm33_camera.cpp.
bool OptNM3xCamera::setSharpness | ( | int | value | ) |
Definition at line 413 of file opt_nm33_camera.cpp.
bool OptNM3xCamera::setSmallHemisphere | ( | char | value | ) |
Definition at line 497 of file opt_nm33_camera.cpp.
bool OptNM3xCamera::setTiltAbsolute | ( | double | value | ) |
Definition at line 428 of file opt_nm33_camera.cpp.
bool OptNM3xCamera::setTiltAbsolute | ( | int | value | ) |
Definition at line 440 of file opt_nm33_camera.cpp.
bool OptNM3xCamera::setTiltAbsolute | ( | int | no, |
int | value | ||
) |
Definition at line 528 of file opt_nm33_camera.cpp.
bool OptNM3xCamera::setWhitebalance | ( | int | value | ) |
Definition at line 417 of file opt_nm33_camera.cpp.
bool OptNM3xCamera::setXuValue | ( | int | selector, |
char | value | ||
) | [private] |
Definition at line 547 of file opt_nm33_camera.cpp.
bool OptNM3xCamera::setXuValue | ( | int | selector, |
short | v1, | ||
short | v2 | ||
) | [private] |
Definition at line 550 of file opt_nm33_camera.cpp.
bool OptNM3xCamera::setXuValue | ( | int | selector, |
short | v1, | ||
short | v2, | ||
short | v3, | ||
short | v4, | ||
short | v5 | ||
) | [private] |
Definition at line 556 of file opt_nm33_camera.cpp.
bool OptNM3xCamera::setZoomAbsolute | ( | double | value | ) |
Definition at line 434 of file opt_nm33_camera.cpp.
bool OptNM3xCamera::setZoomAbsolute | ( | int | value | ) |
Definition at line 446 of file opt_nm33_camera.cpp.
bool OptNM3xCamera::setZoomAbsolute | ( | int | no, |
int | value | ||
) |
Definition at line 534 of file opt_nm33_camera.cpp.
int OptNM3xCamera::v4l2_get_ioctl | ( | int | selector | ) | [private] |
Definition at line 472 of file opt_nm33_camera.cpp.
bool OptNM3xCamera::v4l2_set_ioctl | ( | int | selector, |
int | value | ||
) | [private] |
Definition at line 450 of file opt_nm33_camera.cpp.
bool OptNM3xCamera::xu_ioctl | ( | int | selector, |
int | ctrl, | ||
void * | value | ||
) | [private] |
Definition at line 561 of file opt_nm33_camera.cpp.
struct OptNM3xCamera::buffer * OptNM3xCamera::buffers [private] |
int OptNM3xCamera::fd [private] |
Definition at line 21 of file opt_nm33_camera.h.
IplImage* OptNM3xCamera::frame [private] |
Definition at line 19 of file opt_nm33_camera.h.
IplImage * OptNM3xCamera::frame_middle [private] |
Definition at line 19 of file opt_nm33_camera.h.
IplImage * OptNM3xCamera::frame_narrow [private] |
Definition at line 19 of file opt_nm33_camera.h.
IplImage * OptNM3xCamera::frame_omni [private] |
Definition at line 19 of file opt_nm33_camera.h.
IplImage * OptNM3xCamera::frame_wide [private] |
Definition at line 19 of file opt_nm33_camera.h.
int OptNM3xCamera::height [private] |
Definition at line 20 of file opt_nm33_camera.h.
unsigned int OptNM3xCamera::n_buffers [private] |
Definition at line 18 of file opt_nm33_camera.h.
int OptNM3xCamera::width [private] |
Definition at line 20 of file opt_nm33_camera.h.