EClassificationDataset::SetSegmentationMap
Sets the segmentation map of an image. The segmentation map is a 16-bit EROIBW16 image where the value of each pixel is equal to the corresponding segmentation label index (see EClassificationDataset::GetSegmentationLabel).
If an image has no segmentation (EClassificationDataset::HasSegmentation), the getter will throw an excpetion.
Namespace: Euresys::Open_eVision::EasyDeepLearning
[C++]
void SetSegmentationMap(
int imageIndex,
const EROIBW16& segmentationMap
)
Parameters
imageIndex
Image index
segmentationMap
Segmentation map
EClassificationDataset.SetSegmentationMap
Sets the segmentation map of an image. The segmentation map is a 16-bit EROIBW16 image where the value of each pixel is equal to the corresponding segmentation label index (see EClassificationDataset::GetSegmentationLabel).
If an image has no segmentation (EClassificationDataset::HasSegmentation), the getter will throw an excpetion.
Namespace: Euresys.Open_eVision.EasyDeepLearning
[C#]
void SetSegmentationMap(
int imageIndex,
Euresys.Open_eVision.EROIBW16 segmentationMap
)
Parameters
imageIndex
Image index
segmentationMap
Segmentation map