Compute Library
 21.02
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 1352 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 1367 of file Types.h.

1369  : _im_height(im_height), _im_width(im_width), _im_scale(im_scale), _spatial_scale(spatial_scale), _pre_nms_topN(pre_nms_topN), _post_nms_topN(post_nms_topN), _nms_thres(nms_thres),
1370  _min_size(min_size), _values_per_roi(values_per_roi)
1371  {
1372  }

Member Function Documentation

◆ im_height()

float im_height ( ) const
inline

◆ im_scale()

float im_scale ( ) const
inline

Definition at line 1385 of file Types.h.

Referenced by NEGenerateProposalsLayer::configure(), CLGenerateProposalsLayer::configure(), and arm_compute::operator<<().

1386  {
1387  return _im_scale;
1388  }

◆ im_width()

float im_width ( ) const
inline

◆ min_size()

float min_size ( ) const
inline

Definition at line 1405 of file Types.h.

Referenced by NEGenerateProposalsLayer::configure(), and CLGenerateProposalsLayer::configure().

1406  {
1407  return _min_size;
1408  }

◆ nms_thres()

float nms_thres ( ) const
inline

Definition at line 1400 of file Types.h.

Referenced by NEGenerateProposalsLayer::configure(), and CLGenerateProposalsLayer::configure().

1401  {
1402  return _nms_thres;
1403  }

◆ post_nms_topN()

int post_nms_topN ( ) const
inline

Definition at line 1395 of file Types.h.

Referenced by NEGenerateProposalsLayer::configure(), and CLGenerateProposalsLayer::configure().

1396  {
1397  return _post_nms_topN;
1398  }

◆ pre_nms_topN()

int pre_nms_topN ( ) const
inline

Definition at line 1390 of file Types.h.

Referenced by NEGenerateProposalsLayer::configure(), and CLGenerateProposalsLayer::configure().

1391  {
1392  return _pre_nms_topN;
1393  }

◆ spatial_scale()

float spatial_scale ( ) const
inline

Definition at line 1410 of file Types.h.

Referenced by NEGenerateProposalsLayer::configure(), CLGenerateProposalsLayer::configure(), NEGenerateProposalsLayer::validate(), and CLGenerateProposalsLayer::validate().

1411  {
1412  return _spatial_scale;
1413  }

◆ values_per_roi()

size_t values_per_roi ( ) const
inline

Definition at line 1415 of file Types.h.

Referenced by NEGenerateProposalsLayer::configure(), CLGenerateProposalsLayer::configure(), NEGenerateProposalsLayer::validate(), and CLGenerateProposalsLayer::validate().

1416  {
1417  return _values_per_roi;
1418  }

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