Read a YARP-format image from a device. More...
#include <yarp/dev/FrameGrabberInterfaces.h>
Inheritance diagram for yarp::dev::IFrameGrabberImageRaw:Public Member Functions | |
| virtual | ~IFrameGrabberImageRaw () |
| Destructor. More... | |
| virtual bool | getImage (yarp::sig::ImageOf< yarp::sig::PixelMono > &image)=0 |
| Get a raw image from the frame grabber. More... | |
| virtual bool | getImageCrop (cropType_id_t cropType, yarp::sig::VectorOf< std::pair< int, int > > vertices, yarp::sig::ImageOf< yarp::sig::PixelMono > &image) |
| Get a crop of the rgb image from the frame grabber, if required demosaicking/color reconstruction is applied. More... | |
| virtual int | height () const =0 |
| Return the height of each frame. More... | |
| virtual int | width () const =0 |
| Return the width of each frame. More... | |
Read a YARP-format image from a device.
Definition at line 292 of file FrameGrabberInterfaces.h.
|
inlinevirtual |
Destructor.
Definition at line 298 of file FrameGrabberInterfaces.h.
|
pure virtual |
Get a raw image from the frame grabber.
| image | the image to be filled |
Implemented in USBCameraDriverRaw, USBCameraDriverRgb, and FakeFrameGrabber.
|
inlinevirtual |
Get a crop of the rgb image from the frame grabber, if required demosaicking/color reconstruction is applied.
Note: this is not configuring the camera sensor to acquire a crop of the image, nor to generate a cropped version of the streaming. Instead, the full image is acquired and then a crop is created from it. The crop is meant to be created by the image producer upon user request via RPC call.
| cropType | enum specifying how the crop shall be generated, defined at FrameGrabberInterfaces.h |
| vertices | the input coordinate (u,v) required by the cropType |
| image | the image to be filled |
Definition at line 322 of file FrameGrabberInterfaces.h.
|
pure virtual |
Return the height of each frame.
Implemented in USBCameraDriverRaw, USBCameraDriverRgb, and FakeFrameGrabber.
|
pure virtual |
Return the width of each frame.
Implemented in USBCameraDriverRaw, USBCameraDriverRgb, and FakeFrameGrabber.