MIL_ID SrcContextClassId, | //in |
MIL_INT64 SrcIndex, | //in |
MIL_ID DstContextClassId, | //in |
MIL_INT64 DstIndex, | //in |
MIL_INT64 CopyType, | //in |
MIL_INT64 ControlFlag | //in |
This function copies data from the specified source classification context to the specified destination classification context. The source and the destination context must be for the same type of classifier (predefined CNN or tree ensemble).
Specifies the identifier of the source classification context from which to copy. Set this parameter to one of the following values.
For specifying the source classification
context
|
|||||||||||||||||||||||||||||||||||||||
Value | Description | ||||||||||||||||||||||||||||||||||||||
ContextClassifierId |
Specifies the identifier of a predefined CNN or tree ensemble classifier context. This context is allocated using MclassAlloc() with M_CLASSIFIER_CNN_PREDEFINED or M_CLASSIFIER_TREE_ENSEMBLE. Note that this value is not available when the CopyType is set to M_AUTHORS or M_DATASET. (summarize)Specifies the identifier of a predefined CNN or tree ensemble classifier context. (more details...) |
||||||||||||||||||||||||||||||||||||||
ContextDatasetFeaturesId |
Specifies the identifier of a features dataset context. This context is allocated using MclassAlloc() with M_DATASET_FEATURES. If the source is a features dataset context, the destination must be a features dataset context or a tree ensemble classifier context. (summarize)Specifies the identifier of a features dataset context. (more details...) |
||||||||||||||||||||||||||||||||||||||
ContextDatasetImagesId |
Specifies the identifier of an images dataset context. This context is allocated using MclassAlloc() with M_DATASET_IMAGES. If the source is an images dataset context, the destination must be an images dataset context or a predefined CNN classifier context. (summarize)Specifies the identifier of an images dataset context. (more details...) |
Specifies the identifier of the destination classification context in which to copy. Set this parameter to one of the following values.
For specifying the destination classification
context
|
|||||||||||||||||||||||||||||||||||||||
Value | Description | ||||||||||||||||||||||||||||||||||||||
ContextClassifierId |
Specifies the identifier of a predefined CNN or tree ensemble classifier context. This context is allocated using MclassAlloc() with M_CLASSIFIER_CNN_PREDEFINED or M_CLASSIFIER_TREE_ENSEMBLE. Note that this value is not available when the CopyType is set to M_AUTHORS or M_DATASET. (summarize)Specifies the identifier of a predefined CNN or tree ensemble classifier context. (more details...) |
||||||||||||||||||||||||||||||||||||||
ContextDatasetFeaturesId |
Specifies the identifier of the features dataset context. This context is allocated using MclassAlloc() with M_DATASET_FEATURES. Note that this value is not available when the CopyType is set to M_DATASET and SrcContextClassId is set to an identifier of an images dataset context. (summarize)Specifies the identifier of the features dataset context. (more details...) |
||||||||||||||||||||||||||||||||||||||
ContextDatasetImagesId |
Specifies the identifier of the images dataset context. This context is allocated using MclassAlloc() with M_DATASET_IMAGES. Note that this value is not available when the CopyType is set to M_DATASET and SrcContextClassId is set to an identifier of a features dataset context. (summarize)Specifies the identifier of the images dataset context. (more details...) |
Specifies the type of copy operation to perform.
Specifies the type of copy operation
|
|||||||||||||||||||||||||||||||||||||||
Value | Description | ||||||||||||||||||||||||||||||||||||||
M_AUTHORS |
Specifies to copy the authors from the source dataset to the destination dataset or classifier object. It overrides any existing class definitions in the destination object. If the destination is a dataset, it should not contain any entries. When using M_AUTHORS, you must set the SrcContextClassId parameter to the identifier of a features dataset or images dataset context. The DstContextClassId parameter must be set to the identifier of a features dataset or images dataset context. (summarize)Specifies to copy the authors from the source dataset to the destination dataset or classifier object. (more details...) |
||||||||||||||||||||||||||||||||||||||
M_CLASS_DEFINITIONS |
Specifies to copy the class definitions from the source classification context to the destination classification context. Class definitions already in the destination are overwritten. When using M_CLASS_DEFINITIONS, you must set the SrcContextClassId parameter to the identifier a predefined CNN classifier, tree ensemble classifier, features dataset, or images dataset context. The DstContextClassId parameter must be set to the identifier of a predefined CNN classifier, tree ensemble classifier, features dataset, or images dataset context. (summarize)Specifies to copy the class definitions from the source classification context to the destination classification context. (more details...) |
||||||||||||||||||||||||||||||||||||||
M_DATASET |
Specifies to copy the entire dataset. It overrides the entries, class definitions, and authors. When using M_DATASET, you must set the SrcContextClassId parameter to the identifier of a features or images dataset context. The DstContextClassId parameter must be set to the identifier of a features or images dataset context. The source and the destination context must be for the same type of dataset. (summarize)Specifies to copy the entire dataset. (more details...) |
Header | Include mil.h. |
Library | Use mil.lib; milclass.lib. |
DLL | Requires mil.dll; milclass.dll. |