Image< AronImageT > Class Template Reference

A class template implementing the interface defined by ImageBase for a specific aron-generated class. More...

#include <VisionX/libraries/armem/vision/images/core/forward_declarations.h>

Public Member Functions

const cv::Mat & getImage () const override
 
cv::Mat & getImage () override
 
 Image (const armarx::armem::MemoryID &instanceID, size_t imageIndex)
 
std::string printFormat () const override
 
void resetImage (int rows, int cols) override
 Initialize the image matrix header with the correct size (and type) but without allocating data. More...
 
armarx::aron::data::DictPtr toAron () const override
 
CByteImage toCByteImage () const override
 
bool updateAronImage (const armarx::armem::wm::Memory &memory) override
 
bool usePixels (CByteImage *inputImage) override
 
bool usePixels (void *inputPixelBuffer) override
 

Public Attributes

AronImageT aronImage
 

Detailed Description

template<class AronImageT>
class visionx::armem_images::Image< AronImageT >

A class template implementing the interface defined by ImageBase for a specific aron-generated class.

It is assumed that AronImageT has an image member of the type cv::Mat, which is generated when using the Image tag in ARON XML.

Definition at line 33 of file forward_declarations.h.

Constructor & Destructor Documentation

◆ Image()

Image ( const armarx::armem::MemoryID instanceID,
size_t  imageIndex 
)
inline

Definition at line 90 of file Image.h.

Member Function Documentation

◆ getImage() [1/2]

const cv::Mat& getImage ( ) const
inlineoverride

Definition at line 103 of file Image.h.

◆ getImage() [2/2]

cv::Mat& getImage ( )
inlineoverride

Definition at line 97 of file Image.h.

◆ printFormat()

std::string printFormat ( ) const
inlineoverride

Definition at line 109 of file Image.h.

◆ resetImage()

void resetImage ( int  rows,
int  cols 
)
inlineoverride

Initialize the image matrix header with the correct size (and type) but without allocating data.

Definition at line 120 of file Image.h.

◆ toAron()

armarx::aron::data::DictPtr toAron ( ) const
inlineoverride

Definition at line 175 of file Image.h.

◆ toCByteImage()

CByteImage toCByteImage ( ) const
inlineoverride

Definition at line 201 of file Image.h.

+ Here is the call graph for this function:

◆ updateAronImage()

bool updateAronImage ( const armarx::armem::wm::Memory memory)
inlineoverride

Definition at line 181 of file Image.h.

+ Here is the call graph for this function:

◆ usePixels() [1/2]

bool usePixels ( CByteImage< AronImageT > *  inputImage)
inlineoverride

Definition at line 147 of file Image.h.

+ Here is the call graph for this function:

◆ usePixels() [2/2]

bool usePixels ( void *  inputPixelBuffer)
inlineoverride

Definition at line 161 of file Image.h.

+ Here is the call graph for this function:

Member Data Documentation

◆ aronImage

AronImageT aronImage

Definition at line 210 of file Image.h.


The documentation for this class was generated from the following files: