Compute Library
 21.02
ComputeAnchorsInfo Class Reference

ComputeAnchors information class. More...

#include <Types.h>

Public Member Functions

 ComputeAnchorsInfo (float feat_width, float feat_height, float spatial_scale, size_t values_per_roi=4)
 Constructor. More...
 
float feat_height () const
 
float feat_width () const
 
float spatial_scale () const
 
size_t values_per_roi () const
 

Detailed Description

ComputeAnchors information class.

Definition at line 1433 of file Types.h.

Constructor & Destructor Documentation

◆ ComputeAnchorsInfo()

ComputeAnchorsInfo ( float  feat_width,
float  feat_height,
float  spatial_scale,
size_t  values_per_roi = 4 
)
inline

Constructor.

Parameters
[in]feat_widthFeature map width
[in]feat_heightFeature map height
[in]spatial_scaleFeature map scale
[in]values_per_roi(Optional)Values used to represent a ROI(Region Of Interest). Defaults to 4

Definition at line 1443 of file Types.h.

1444  : _feat_height(feat_height),
1445  _feat_width(feat_width),
1446  _spatial_scale(spatial_scale),
1447  _values_per_roi(values_per_roi)
1448  {
1449  }
size_t values_per_roi() const
Definition: Types.h:1470
float spatial_scale() const
Definition: Types.h:1464

Member Function Documentation

◆ feat_height()

float feat_height ( ) const
inline

◆ feat_width()

◆ spatial_scale()

float spatial_scale ( ) const
inline

◆ values_per_roi()

size_t values_per_roi ( ) const
inline

Definition at line 1470 of file Types.h.

Referenced by NEComputeAllAnchorsKernel::configure(), and CLComputeAllAnchorsKernel::configure().

1471  {
1472  return _values_per_roi;
1473  }

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