Logo
ApraPipes 1.0
Loading...
Searching...
No Matches
RawImageMetadata Class Reference

#include <RawImageMetadata.h>

Inheritance diagram for RawImageMetadata:
Inheritance graph
Collaboration diagram for RawImageMetadata:
Collaboration graph

Public Member Functions

 RawImageMetadata ()
 
 RawImageMetadata (std::string _hint)
 
 RawImageMetadata (MemType _memType)
 
 RawImageMetadata (int _width, int _height, int _channels, int _type, size_t _step, int _depth)
 
 RawImageMetadata (int _width, int _height, ImageMetadata::ImageType _imageType, int _type, size_t alignLength, int _depth, MemType _memType, bool computeStep=false)
 
void reset ()
 
bool isSet ()
 
void setData (cv::Mat &img)
 
void setData (RawImageMetadata &metadata)
 
int getWidth ()
 
size_t getRowSize ()
 
int getHeight ()
 
int getType ()
 
size_t getStep ()
 
size_t getOffset (int offsetX, int offsetY)
 
int getChannels ()
 
int getDepth ()
 
ImageMetadata::ImageType getImageType ()
 

Protected Member Functions

void setDataSize ()
 
void initData (int _width, int _height, ImageMetadata::ImageType _imageType, int _type, size_t _step, int _depth, MemType _memType=MemType::HOST)
 

Protected Attributes

int width = NOT_SET_NUM
 
int height = NOT_SET_NUM
 
int channels = NOT_SET_NUM
 
int type = NOT_SET_NUM
 
size_t step = NOT_SET_NUM
 
int depth = NOT_SET_NUM
 
ImageMetadata::ImageType imageType = ImageMetadata::ImageType::MONO
 

Additional Inherited Members

Constructor & Destructor Documentation

◆ RawImageMetadata() [1/5]

RawImageMetadata::RawImageMetadata ( )
inline

◆ RawImageMetadata() [2/5]

RawImageMetadata::RawImageMetadata ( std::string _hint)
inline

◆ RawImageMetadata() [3/5]

RawImageMetadata::RawImageMetadata ( MemType _memType)
inline

◆ RawImageMetadata() [4/5]

RawImageMetadata::RawImageMetadata ( int _width,
int _height,
int _channels,
int _type,
size_t _step,
int _depth )
inline
Here is the call graph for this function:

◆ RawImageMetadata() [5/5]

RawImageMetadata::RawImageMetadata ( int _width,
int _height,
ImageMetadata::ImageType _imageType,
int _type,
size_t alignLength,
int _depth,
MemType _memType,
bool computeStep = false )
inline
Here is the call graph for this function:

Member Function Documentation

◆ getChannels()

int RawImageMetadata::getChannels ( )
inline

◆ getDepth()

int RawImageMetadata::getDepth ( )
inline

◆ getHeight()

int RawImageMetadata::getHeight ( )
inline
Here is the caller graph for this function:

◆ getImageType()

ImageMetadata::ImageType RawImageMetadata::getImageType ( )
inline

◆ getOffset()

size_t RawImageMetadata::getOffset ( int offsetX,
int offsetY )
inline
Here is the call graph for this function:

◆ getRowSize()

size_t RawImageMetadata::getRowSize ( )
inline
Here is the call graph for this function:

◆ getStep()

size_t RawImageMetadata::getStep ( )
inline
Here is the caller graph for this function:

◆ getType()

int RawImageMetadata::getType ( )
inline
Here is the caller graph for this function:

◆ getWidth()

int RawImageMetadata::getWidth ( )
inline
Here is the caller graph for this function:

◆ initData()

void RawImageMetadata::initData ( int _width,
int _height,
ImageMetadata::ImageType _imageType,
int _type,
size_t _step,
int _depth,
MemType _memType = MemType::HOST )
inlineprotected
Here is the call graph for this function:
Here is the caller graph for this function:

◆ isSet()

bool RawImageMetadata::isSet ( )
inlinevirtual

Reimplemented from FrameMetadata.

◆ reset()

void RawImageMetadata::reset ( )
inlinevirtual

Reimplemented from FrameMetadata.

Here is the call graph for this function:

◆ setData() [1/2]

void RawImageMetadata::setData ( cv::Mat & img)
inline
Here is the call graph for this function:

◆ setData() [2/2]

void RawImageMetadata::setData ( RawImageMetadata & metadata)
inline
Here is the call graph for this function:

◆ setDataSize()

void RawImageMetadata::setDataSize ( )
inlineprotected
Here is the caller graph for this function:

Member Data Documentation

◆ channels

int RawImageMetadata::channels = NOT_SET_NUM
protected

◆ depth

int RawImageMetadata::depth = NOT_SET_NUM
protected

◆ height

int RawImageMetadata::height = NOT_SET_NUM
protected

◆ imageType

ImageMetadata::ImageType RawImageMetadata::imageType = ImageMetadata::ImageType::MONO
protected

◆ step

size_t RawImageMetadata::step = NOT_SET_NUM
protected

◆ type

int RawImageMetadata::type = NOT_SET_NUM
protected

◆ width

int RawImageMetadata::width = NOT_SET_NUM
protected

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