Compute Library
 23.11
GenerateProposalsInfo Class Reference

Generate Proposals Information class. More...

#include <Types.h>

Public Member Functions

 GenerateProposalsInfo (float im_width, float im_height, float im_scale, float spatial_scale=1.0, int pre_nms_topN=6000, int post_nms_topN=300, float nms_thres=0.7, float min_size=16.0, size_t values_per_roi=4)
 Constructor. More...
 
float im_height () const
 
float im_width () const
 
float im_scale () const
 
int pre_nms_topN () const
 
int post_nms_topN () const
 
float nms_thres () const
 
float min_size () const
 
float spatial_scale () const
 
size_t values_per_roi () const
 

Detailed Description

Generate Proposals Information class.

Definition at line 1308 of file Types.h.

Constructor & Destructor Documentation

◆ GenerateProposalsInfo()

GenerateProposalsInfo ( float  im_width,
float  im_height,
float  im_scale,
float  spatial_scale = 1.0,
int  pre_nms_topN = 6000,
int  post_nms_topN = 300,
float  nms_thres = 0.7,
float  min_size = 16.0,
size_t  values_per_roi = 4 
)
inline

Constructor.

Parameters
[in]im_widthWidth of the original image
[in]im_heightHeight of the original image
[in]im_scaleScale applied to the original image
[in]spatial_scale(Optional)Scale applied to the feature map. Defaults to 1.0
[in]pre_nms_topN(Optional)Number of the best scores to be selected from the transformations. Defaults to 6000.
[in]post_nms_topN(Optional)Number of the best scores to be selected from the NMS operation. Defaults to 300.
[in]nms_thres(Optional)NMS overlap threshold. Defaults to 0.7.
[in]min_size(Optional)Size used to validate the anchors produced. Defaults to 16.
[in]values_per_roi(Optional)Values used to represent a ROI(Region of interest). Defaults to 4.

Definition at line 1323 of file Types.h.

1332  : _im_height(im_height),
1333  _im_width(im_width),
1334  _im_scale(im_scale),
1335  _spatial_scale(spatial_scale),
1336  _pre_nms_topN(pre_nms_topN),
1337  _post_nms_topN(post_nms_topN),
1338  _nms_thres(nms_thres),
1339  _min_size(min_size),
1340  _values_per_roi(values_per_roi)
1341  {
1342  }

Member Function Documentation

◆ im_height()

float im_height ( ) const
inline

Definition at line 1345 of file Types.h.

1346  {
1347  return _im_height;
1348  }

Referenced by arm_compute::operator<<().

◆ im_scale()

float im_scale ( ) const
inline

Definition at line 1355 of file Types.h.

1356  {
1357  return _im_scale;
1358  }

Referenced by arm_compute::operator<<().

◆ im_width()

float im_width ( ) const
inline

Definition at line 1350 of file Types.h.

1351  {
1352  return _im_width;
1353  }

Referenced by arm_compute::operator<<().

◆ min_size()

float min_size ( ) const
inline

Definition at line 1375 of file Types.h.

1376  {
1377  return _min_size;
1378  }

◆ nms_thres()

float nms_thres ( ) const
inline

Definition at line 1370 of file Types.h.

1371  {
1372  return _nms_thres;
1373  }

◆ post_nms_topN()

int post_nms_topN ( ) const
inline

Definition at line 1365 of file Types.h.

1366  {
1367  return _post_nms_topN;
1368  }

◆ pre_nms_topN()

int pre_nms_topN ( ) const
inline

Definition at line 1360 of file Types.h.

1361  {
1362  return _pre_nms_topN;
1363  }

◆ spatial_scale()

float spatial_scale ( ) const
inline

Definition at line 1380 of file Types.h.

1381  {
1382  return _spatial_scale;
1383  }

◆ values_per_roi()

size_t values_per_roi ( ) const
inline

Definition at line 1385 of file Types.h.

1386  {
1387  return _values_per_roi;
1388  }

The documentation for this class was generated from the following file:
arm_compute::GenerateProposalsInfo::nms_thres
float nms_thres() const
Definition: Types.h:1370
arm_compute::GenerateProposalsInfo::im_height
float im_height() const
Definition: Types.h:1345
arm_compute::GenerateProposalsInfo::values_per_roi
size_t values_per_roi() const
Definition: Types.h:1385
arm_compute::GenerateProposalsInfo::post_nms_topN
int post_nms_topN() const
Definition: Types.h:1365
arm_compute::GenerateProposalsInfo::spatial_scale
float spatial_scale() const
Definition: Types.h:1380
arm_compute::GenerateProposalsInfo::im_width
float im_width() const
Definition: Types.h:1350
arm_compute::GenerateProposalsInfo::pre_nms_topN
int pre_nms_topN() const
Definition: Types.h:1360
arm_compute::GenerateProposalsInfo::im_scale
float im_scale() const
Definition: Types.h:1355
arm_compute::GenerateProposalsInfo::min_size
float min_size() const
Definition: Types.h:1375