MIL_CONST_TEXT_PTR FileName, | //in |
MIL_ID ContextClassId, | //in |
MIL_INT64 ControlFlag | //in |
This function saves all the information about the previously allocated MIL Classification context (classifier, training, or dataset) to disk. This information can be reloaded, using MclassRestore() or MclassStream().
When you save the context, the preprocessing changes are not saved. Upon restoration, you must preprocess the context again.
Specifies the name and path of the file in which to save the classification context (that is, a classifier context, a training context, or a dataset context). The function internally handles the opening and closing of this file. For easier use with other Matrox Imaging software products, classifier context and training context files should have an MCLASS extension. Dataset context files should have an MCLASSD extension.
Set this parameter to one of the values below:
For specifying the file name and path
|
|||||||||||||||||||||||||||||||||||||||
Value | Description | ||||||||||||||||||||||||||||||||||||||
M_INTERACTIVE |
[This is
only applicable to Windows]
Opens a dialog box from which you can interactively specify the drive, directory, and name of the file. |
||||||||||||||||||||||||||||||||||||||
MIL_TEXT("FileName") 1 |
Specifies the drive, directory, and name of the classification context file (for example, "C:\mydirectory\WePutTheArtInArtificialIntelligence.mclass"). Classifier context and training context files should have an MCLASS extension. Dataset context files should have an MCLASSD extension. To specify a context file on a remote computer (under Distributed MIL), prefix the specified file name string with "remote:///" (for example, "remote:///C:\mydirectory\WePutTheArtInArtificialIntelligence.mclass"). (summarize)Specifies the drive, directory, and name of the classification context file (for example, "C:\mydirectory\WePutTheArtInArtificialIntelligence.mclass"). (more details...) |
1 If you are passing the value in a variable, don't enclose it in MIL_TEXT().
Header | Include mil.h. |
Library | Use mil.lib; milclass.lib. |
DLL | Requires mil.dll; milclass.dll. |