Regression label information.
More...
#include <sample_regression_image_list.hpp>
|
using | LabelType = std::vector<float> |
| Type of the labels.
|
|
◆ Add()
Add a new sample to an existing class.
- Parameters
-
[in] | srcImage | Image from which to extract the sample for the class. |
[in] | extractionLocation | Location at which to extract the sample for the class. Note that what the extraction location actually refers dependent on the value of the mode parameter. |
[in] | mode | Interpretation hint for the extractionLocation parameter. |
- Exceptions
-
◆ Index()
Get the index of this label.
- Returns
- The label index.
- Exceptions
-
Note that this index may change when samples are removed from the image list - therefore you should check this index often. Generally it is more recommendable to work label based, not index based.
◆ Label()
Get label under which this class is stored.
- Returns
- The label.
- Exceptions
-
You may change this label, but not to one that already exists in the SampleList. To Merge labels in the SampleList use the merge method(s) of the sample list.
◆ Relabel()
Modify the label of a sample set, but not to one that already exists in the sample list.
- Parameters
-
- Exceptions
-
To merge labels in the list use the merge method of the ImageClassificationInfoCollection.
◆ Samples()
Get samples under this label.
- Returns
- The samples.
- Exceptions
-