SqueezeBrains SDK 1.18
sb_cs::SbSample Class Reference

Sample class that wraps the sb_t_sample structure. More...

#include <cs_sample.h>

Collaboration diagram for sb_cs::SbSample:

Data Fields

String uuid
 uuid of the sample. More...
 
String image_name
 Name of the image file with extension without path. More...
 
SbPoint centre
 Coordinates of the centre of the sample. More...
 
SbPoint centre_warp
 Coordinates of the centre in the warped image. More...
 
array< SbPoint^> vertex
 Coordinates of the 4 vertices of the box of the sample. More...
 
array< SbPoint^> vertex_warp
 Coordinates of the 4 vertices of the box of the sample in the warped image. More...
 
String model_name
 Name of the model. More...
 
float scale
 Scale factor. More...
 
SbObjType type
 Sample type. More...
 
float weight
 Weight of classification. More...
 
SbSampleWeightsImage weights_image
 Image of the weights of the sample. More...
 
SbTruth truth
 Truth of the sample. More...
 
SbSampleClassifyMode classify_mode
 Classification mode. More...
 
IntPtr user_data
 Pointer to the user data. More...
 
int user_data_size
 Size, in bytes, of the user data. More...
 
int is_near
 FALSE NEGATIVE with some other sample close to it. More...
 
float IoU
 

Detailed Description

Sample class that wraps the sb_t_sample structure.

Definition at line 136 of file cs_sample.h.

Field Documentation

◆ centre

SbPoint sb_cs::SbSample::centre

Coordinates of the centre of the sample.

See also
sb_t_sample::centre

Definition at line 155 of file cs_sample.h.

◆ centre_warp

SbPoint sb_cs::SbSample::centre_warp

Coordinates of the centre in the warped image.

See also
sb_t_sample::centre_warp

Definition at line 161 of file cs_sample.h.

◆ classify_mode

SbSampleClassifyMode sb_cs::SbSample::classify_mode

Classification mode.

See also
sb_t_sample::classify_mode

Definition at line 215 of file cs_sample.h.

◆ image_name

String sb_cs::SbSample::image_name

Name of the image file with extension without path.

See also
sb_t_sample::image_name

Definition at line 149 of file cs_sample.h.

◆ IoU

float sb_cs::SbSample::IoU

Percentage of overlap with the sample of ground truth.

See also
sb_t_sample::IoU

Definition at line 239 of file cs_sample.h.

◆ is_near

int sb_cs::SbSample::is_near

FALSE NEGATIVE with some other sample close to it.

See also
sb_t_sample::is_near

Definition at line 233 of file cs_sample.h.

◆ model_name

String sb_cs::SbSample::model_name

Name of the model.

See also
sb_t_sample::model_name

Definition at line 179 of file cs_sample.h.

◆ scale

float sb_cs::SbSample::scale

Scale factor.

See also
sb_t_sample::scale

Definition at line 185 of file cs_sample.h.

◆ truth

SbTruth sb_cs::SbSample::truth

Truth of the sample.

See also
sb_t_sample::truth

Definition at line 209 of file cs_sample.h.

◆ type

SbObjType sb_cs::SbSample::type

Sample type.

See also
sb_t_sample::type

Definition at line 191 of file cs_sample.h.

◆ user_data

IntPtr sb_cs::SbSample::user_data

Pointer to the user data.

See also
sb_t_sample::user_data

Definition at line 221 of file cs_sample.h.

◆ user_data_size

int sb_cs::SbSample::user_data_size

Size, in bytes, of the user data.

See also
sb_t_sample::user_data_size

Definition at line 227 of file cs_sample.h.

◆ uuid

String sb_cs::SbSample::uuid

uuid of the sample.

See also
sb_t_sample::uuid

Definition at line 143 of file cs_sample.h.

◆ vertex

array<SbPoint^> sb_cs::SbSample::vertex

Coordinates of the 4 vertices of the box of the sample.

See also
sb_t_sample::vertex

Definition at line 167 of file cs_sample.h.

◆ vertex_warp

array<SbPoint^> sb_cs::SbSample::vertex_warp

Coordinates of the 4 vertices of the box of the sample in the warped image.

See also
sb_t_sample::vertex_warp

Definition at line 173 of file cs_sample.h.

◆ weight

float sb_cs::SbSample::weight

Weight of classification.

See also
sb_t_sample::weight

Definition at line 197 of file cs_sample.h.

◆ weights_image

SbSampleWeightsImage sb_cs::SbSample::weights_image

Image of the weights of the sample.

See also
sb_t_sample::weights_image

Definition at line 203 of file cs_sample.h.


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