EClassificationDataset::AddRegionToSegment
Adds a region (see ERegion) to the given segment of an image. If, before this call, the image had no segmentation, the pixels not in the given region will be set to the background segmentation label.
Namespace: Euresys::Open_eVision::EasyDeepLearning
[C++]
void AddRegionToSegment(
int imageIndex,
int segmentationLabelIndex,
const ERegion& region
)
void AddRegionToSegment(
int imageIndex,
const std::string& label,
const ERegion& region
)
Parameters
imageIndex
Image index
segmentationLabelIndex
Segmentation label index
region
Region to add
label
Segmentation label
EClassificationDataset.AddRegionToSegment
Adds a region (see ERegion) to the given segment of an image. If, before this call, the image had no segmentation, the pixels not in the given region will be set to the background segmentation label.
Namespace: Euresys.Open_eVision.EasyDeepLearning
[C#]
void AddRegionToSegment(
int imageIndex,
int segmentationLabelIndex,
Euresys.Open_eVision.ERegion region
)
void AddRegionToSegment(
int imageIndex,
string label,
Euresys.Open_eVision.ERegion region
)
Parameters
imageIndex
Image index
segmentationLabelIndex
Segmentation label index
region
Region to add
label
Segmentation label