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