43 Type(uint16_t _width, uint16_t _height,
Format _format)
44 : width(_width), height(_height), format(_format) {}
46 size_t GetSize()
const {
62 return pixelSize * width * height;
64 std::string GetDescription()
const {
return "cv image"; };
66 Format GetFormat()
const {
return format; };
67 uint16_t GetWidth()
const {
return width; };
68 uint16_t GetHeight()
const {
return height; };
89 cvimage(
const Object *parent, uint16_t width, uint16_t height,
90 Type::Format format, std::string name =
"",
bool allocate_data =
true,
106 Type const &GetDataType()
const {
return dataType; };
117 void RawRead(
char *dst)
const;
Abstract class for data types.
Definition: io_data.h:94
namespace of the flair Framework
Definition: Ahrs.h:19
Abstract class for data types.
Format
Definition: cvimage.h:37
cvimage(const Object *parent, uint16_t width, uint16_t height, Type::Format format, std::string name="", bool allocate_data=true, int n=1)
Constructor.
Class defining an image of kind IplImage.
Definition: cvimage.h:29
IplImage * img
IplImage.
Definition: cvimage.h:104
Object(const Object *parent=NULL, std::string name="", std::string type="")
Constructor.