Logo
ApraPipes 1.0
Loading...
Searching...
No Matches
CalcHistogramCV::Detail Class Reference
Collaboration diagram for CalcHistogramCV::Detail:
Collaboration graph

Public Member Functions

 Detail (CalcHistogramCVProps &_props)
 
void setProps (CalcHistogramCVProps &_props)
 
 ~Detail ()
 
void setRoi (vector< int > &roi)
 
void loadMaskImg (string &maskImgPath)
 
void setInputMetadata (framemetadata_sp &metadata)
 
void setOutputMetadata (framemetadata_sp &metadata)
 
framemetadata_sp getOutputMetadata ()
 
void compute (frame_sp &inFrame, frame_sp &outFrame)
 
bool shouldTriggerSOS ()
 
CalcHistogramCVProps getProps ()
 

Public Attributes

int bins
 

Private Member Functions

void validateParams (framemetadata_sp metadata)
 
void setInputImg (frame_sp &frame)
 
void setOutputImgData (frame_sp &frame)
 

Private Attributes

cv::Rect mRoi
 
size_t mXOffset
 
cv::Mat mInputImg
 
cv::Mat mOutputImg
 
framemetadata_sp mOutputMetadata
 
framemetadata_sp mInputMetadata
 
cv::Mat maskImg
 
int channelNumber = 0
 
int numberOfPixels = 0
 
float * range
 
const float ** ranges
 
boost::shared_ptr< CalcHistogramCVPropsmProps
 

Constructor & Destructor Documentation

◆ Detail()

CalcHistogramCV::Detail::Detail ( CalcHistogramCVProps & _props)
inline
Here is the call graph for this function:

◆ ~Detail()

CalcHistogramCV::Detail::~Detail ( )
inline

Member Function Documentation

◆ compute()

void CalcHistogramCV::Detail::compute ( frame_sp & inFrame,
frame_sp & outFrame )
inline
Here is the call graph for this function:

◆ getOutputMetadata()

framemetadata_sp CalcHistogramCV::Detail::getOutputMetadata ( )
inline

◆ getProps()

CalcHistogramCVProps CalcHistogramCV::Detail::getProps ( )
inline

◆ loadMaskImg()

void CalcHistogramCV::Detail::loadMaskImg ( string & maskImgPath)
inline
Here is the caller graph for this function:

◆ setInputImg()

void CalcHistogramCV::Detail::setInputImg ( frame_sp & frame)
inlineprivate
Here is the caller graph for this function:

◆ setInputMetadata()

void CalcHistogramCV::Detail::setInputMetadata ( framemetadata_sp & metadata)
inline
Here is the call graph for this function:
Here is the caller graph for this function:

◆ setOutputImgData()

void CalcHistogramCV::Detail::setOutputImgData ( frame_sp & frame)
inlineprivate
Here is the caller graph for this function:

◆ setOutputMetadata()

void CalcHistogramCV::Detail::setOutputMetadata ( framemetadata_sp & metadata)
inline
Here is the call graph for this function:

◆ setProps()

void CalcHistogramCV::Detail::setProps ( CalcHistogramCVProps & _props)
inline
Here is the call graph for this function:
Here is the caller graph for this function:

◆ setRoi()

void CalcHistogramCV::Detail::setRoi ( vector< int > & roi)
inline
Here is the caller graph for this function:

◆ shouldTriggerSOS()

bool CalcHistogramCV::Detail::shouldTriggerSOS ( )
inline

◆ validateParams()

void CalcHistogramCV::Detail::validateParams ( framemetadata_sp metadata)
inlineprivate
Here is the call graph for this function:
Here is the caller graph for this function:

Member Data Documentation

◆ bins

int CalcHistogramCV::Detail::bins

◆ channelNumber

int CalcHistogramCV::Detail::channelNumber = 0
private

◆ maskImg

cv::Mat CalcHistogramCV::Detail::maskImg
private

◆ mInputImg

cv::Mat CalcHistogramCV::Detail::mInputImg
private

◆ mInputMetadata

framemetadata_sp CalcHistogramCV::Detail::mInputMetadata
private

◆ mOutputImg

cv::Mat CalcHistogramCV::Detail::mOutputImg
private

◆ mOutputMetadata

framemetadata_sp CalcHistogramCV::Detail::mOutputMetadata
private

◆ mProps

boost::shared_ptr<CalcHistogramCVProps> CalcHistogramCV::Detail::mProps
private

◆ mRoi

cv::Rect CalcHistogramCV::Detail::mRoi
private

◆ mXOffset

size_t CalcHistogramCV::Detail::mXOffset
private

◆ numberOfPixels

int CalcHistogramCV::Detail::numberOfPixels = 0
private

◆ range

float* CalcHistogramCV::Detail::range
private

◆ ranges

const float** CalcHistogramCV::Detail::ranges
private

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