iCub-main
|
dragonfly2
: framegrabber device driver that can acquire RGB color images in 320x240 or 640x480 resolutions.
More...
#include <DragonflyDeviceDriver2.h>
Public Member Functions | |
DragonflyDeviceDriver2Rgb () | |
Constructor. More... | |
virtual | ~DragonflyDeviceDriver2Rgb () |
Destructor. More... | |
bool | getImage (yarp::sig::ImageOf< yarp::sig::PixelRgb > &image) |
FrameGrabber image interface, returns the last acquired frame as an rgb image. More... | |
bool | getImage (yarp::sig::ImageOf< yarp::sig::PixelMono > &image) |
FrameGrabber image interface, returns the last acquired frame as a raw image. More... | |
virtual int | height () const |
Return the height of each frame. More... | |
virtual int | width () const |
Return the width of each frame. More... | |
Public Member Functions inherited from yarp::dev::DragonflyDeviceDriver2 | |
DragonflyDeviceDriver2 (bool raw=false) | |
Constructor. More... | |
virtual | ~DragonflyDeviceDriver2 () |
Destructor. More... | |
virtual bool | open (yarp::os::Searchable &config) |
Open the device driver. More... | |
virtual bool | close (void) |
Closes the device driver. More... | |
virtual yarp::os::Stamp | getLastInputStamp () |
Implements the IPreciselyTimed interface. More... | |
virtual bool | setBrightness (double v) |
Set Brightness. More... | |
virtual bool | setExposure (double v) |
Set Exposure. More... | |
virtual bool | setSharpness (double v) |
Set Sharpness. More... | |
virtual bool | setWhiteBalance (double blue, double red) |
Set White Balance. More... | |
virtual bool | setHue (double v) |
Set Hue. More... | |
virtual bool | setSaturation (double v) |
Set Saturation. More... | |
virtual bool | setGamma (double v) |
Set Gamma. More... | |
virtual bool | setShutter (double v) |
Set Shutter. More... | |
virtual bool | setGain (double v) |
Set Gain. More... | |
virtual bool | setIris (double v) |
Set Iris. More... | |
virtual double | getBrightness () |
Get Brightness. More... | |
virtual double | getExposure () |
Get Exposure. More... | |
virtual double | getSharpness () |
Get Sharpness. More... | |
virtual bool | getWhiteBalance (double &blue, double &red) |
Get White Balance. More... | |
virtual double | getHue () |
Get Hue. More... | |
virtual double | getSaturation () |
Get Saturation. More... | |
virtual double | getGamma () |
Get Gamma. More... | |
virtual double | getShutter () |
Get Shutter. More... | |
virtual double | getGain () |
Get Gain. More... | |
virtual double | getIris () |
Get Iris. More... | |
virtual bool | hasFeatureDC1394 (int feature) |
Is feature present? More... | |
virtual bool | setFeatureDC1394 (int feature, double value) |
Set feature value. More... | |
virtual double | getFeatureDC1394 (int feature) |
Get feature value. More... | |
virtual bool | hasOnOffDC1394 (int feature) |
Can be feature turned on/off? More... | |
virtual bool | setActiveDC1394 (int feature, bool onoff) |
Switch feature on/off. More... | |
virtual bool | getActiveDC1394 (int feature) |
Is feature ON or OFF? More... | |
virtual bool | hasAutoDC1394 (int feature) |
Has feature Auto mode? More... | |
virtual bool | hasManualDC1394 (int feature) |
Has feature Manual mode? More... | |
virtual bool | hasOnePushDC1394 (int feature) |
Has feature Manual mode? More... | |
virtual bool | setModeDC1394 (int feature, bool auto_onoff) |
Switch feature Auto/Manual. More... | |
virtual bool | getModeDC1394 (int feature) |
Is feature mode Auto or Manual? More... | |
virtual bool | setOnePushDC1394 (int feature) |
Trigger feature One Push adjust. More... | |
virtual unsigned int | getVideoModeMaskDC1394 () |
Get supported video mode mask. More... | |
virtual unsigned int | getVideoModeDC1394 () |
Get camera acquisition mode. More... | |
virtual bool | setVideoModeDC1394 (int video_mode) |
Set camera acquisition mode. More... | |
virtual unsigned int | getFPSMaskDC1394 () |
Get supported framerates mask. More... | |
virtual unsigned int | getFPSDC1394 () |
Get camera framerate. More... | |
virtual bool | setFPSDC1394 (int fps) |
Set camera framerate. More... | |
virtual unsigned int | getISOSpeedDC1394 () |
Get camera Firewire ISO speed. More... | |
virtual bool | setISOSpeedDC1394 (int speed) |
Set camera Firewire ISO speed. More... | |
virtual unsigned int | getColorCodingMaskDC1394 (unsigned int video_mode) |
Get supported color coding mask. More... | |
virtual unsigned int | getColorCodingDC1394 () |
Get image color coding. More... | |
virtual bool | setColorCodingDC1394 (int coding) |
Set image color coding. More... | |
virtual bool | setWhiteBalanceDC1394 (double b, double r) |
Set White Balance. More... | |
virtual bool | getWhiteBalanceDC1394 (double &b, double &r) |
Get White Balance. More... | |
virtual bool | getFormat7MaxWindowDC1394 (unsigned int &xdim, unsigned int &ydim, unsigned int &xstep, unsigned int &ystep, unsigned int &xoffstep, unsigned int &yoffstep) |
Get maximum image dimensions in Format 7 mode. More... | |
virtual bool | getFormat7WindowDC1394 (unsigned int &xdim, unsigned int &ydim, int &x0, int &y0) |
Get image dimensions in Format 7 mode. More... | |
virtual bool | setFormat7WindowDC1394 (unsigned int xdim, unsigned int ydim, int x0, int y0) |
Set image dimensions in Format 7 mode. More... | |
virtual bool | setOperationModeDC1394 (bool b1394b) |
Set Operation Mode. More... | |
virtual bool | getOperationModeDC1394 () |
Get Operation Mode. More... | |
virtual bool | setTransmissionDC1394 (bool bTxON) |
Set image transmission ON/OFF. More... | |
virtual bool | getTransmissionDC1394 () |
Is image transmission ON or OFF? More... | |
virtual bool | setBroadcastDC1394 (bool onoff) |
Set feature commands propagation ON/OFF. More... | |
virtual bool | setDefaultsDC1394 () |
Set camera features to default. More... | |
virtual bool | setResetDC1394 () |
virtual bool | setPowerDC1394 (bool onoff) |
Switch camera power ON/OFF. More... | |
virtual bool | setCaptureDC1394 (bool bON) |
Switch image capture ON/OFF. More... | |
virtual unsigned int | getBytesPerPacketDC1394 () |
Get Firewire communication packet size. More... | |
virtual bool | setBytesPerPacketDC1394 (unsigned int bpp) |
Set Firewire communication packet size. More... | |
virtual int | getRgbHeight () |
Return the height of each frame. More... | |
virtual int | getRgbWidth () |
Return the width of each frame. More... | |
virtual bool | getRgbSupportedConfigurations (yarp::sig::VectorOf< yarp::dev::CameraConfig > &configurations) |
Get the possible configurations of the camera. More... | |
virtual bool | getRgbResolution (int &width, int &height) |
Get the resolution of the rgb image from the camera. More... | |
virtual bool | setRgbResolution (int width, int height) |
Set the resolution of the rgb image from the camera. More... | |
virtual bool | getRgbFOV (double &horizontalFov, double &verticalFov) |
Get the field of view (FOV) of the rgb camera. More... | |
virtual bool | setRgbFOV (double horizontalFov, double verticalFov) |
Set the field of view (FOV) of the rgb camera. More... | |
virtual bool | getRgbIntrinsicParam (yarp::os::Property &intrinsic) |
Get the intrinsic parameters of the rgb camera. More... | |
virtual bool | getRgbMirroring (bool &mirror) |
Get the mirroring setting of the sensor. More... | |
virtual bool | setRgbMirroring (bool mirror) |
Set the mirroring setting of the sensor. More... | |
virtual bool | getCameraDescription (CameraDescriptor *camera) |
virtual bool | hasFeature (int feature, bool *hasFeature) |
virtual bool | setFeature (int feature, double values) |
virtual bool | getFeature (int feature, double *values) |
virtual bool | setFeature (int feature, double value1, double value2) |
virtual bool | getFeature (int feature, double *value1, double *value2) |
virtual bool | hasOnOff (int feature, bool *HasOnOff) |
virtual bool | setActive (int feature, bool onoff) |
virtual bool | getActive (int feature, bool *isActive) |
virtual bool | hasAuto (int feature, bool *hasAuto) |
virtual bool | hasManual (int feature, bool *hasManual) |
virtual bool | hasOnePush (int feature, bool *hasOnePush) |
virtual bool | setMode (int feature, FeatureMode mode) |
virtual bool | getMode (int feature, FeatureMode *mode) |
virtual bool | setOnePush (int feature) |
Additional Inherited Members | |
Protected Member Functions inherited from yarp::dev::DragonflyDeviceDriver2 | |
FeatureMode | TRANSL_MODE (bool mode) |
bool | TRANSL_MODE (FeatureMode mode) |
Protected Attributes inherited from yarp::dev::DragonflyDeviceDriver2 | |
void * | system_resources |
bool | raw |
dragonfly2
: framegrabber device driver that can acquire RGB color images in 320x240 or 640x480 resolutions.
See dragonfly2 for for more details.
YARP device name |
---|
dragonfly2 |
Definition at line 883 of file DragonflyDeviceDriver2.h.
|
inline |
Constructor.
Definition at line 896 of file DragonflyDeviceDriver2.h.
|
inlinevirtual |
Destructor.
Definition at line 901 of file DragonflyDeviceDriver2.h.
bool DragonflyDeviceDriver2Rgb::getImage | ( | yarp::sig::ImageOf< yarp::sig::PixelMono > & | image | ) |
FrameGrabber image interface, returns the last acquired frame as a raw image.
image | that will store the last frame. |
Definition at line 31 of file DragonflyDeviceDriver2.cpp.
bool DragonflyDeviceDriver2Rgb::getImage | ( | yarp::sig::ImageOf< yarp::sig::PixelRgb > & | image | ) |
FrameGrabber image interface, returns the last acquired frame as an rgb image.
A demosaicking method is applied to reconstuct the color from the Bayer pattern of the sensor.
image | that will store the last frame. |
Definition at line 26 of file DragonflyDeviceDriver2.cpp.
|
virtual |
Return the height of each frame.
Definition at line 41 of file DragonflyDeviceDriver2.cpp.
|
virtual |
Return the width of each frame.
Definition at line 36 of file DragonflyDeviceDriver2.cpp.