Besides the examples in the next chapters, several programming examples are available in the MeVisLab software development kit.
For these modules to be available, the module group “Module Examples” has to be enabled, see Preferences → Module Groups.
The module data can be found at
Sources: Packages/MeVisLab/Examples/Sources/Examples/ML/...
Modules: Packages/MeVisLab/Examples/Modules/Examples/ML/...
Some modules are combined in one DLL, like the MLExample modules.
Tip | |
---|---|
See the chapter Section 14.3, “Combining Two Modules in One Project” on how to combine modules into one DLL. |
Here is an overview of the most important example modules, listed by module name.
AddImagesExample
(Class: AddImagesExample
; DLL: AddImagesExample)
Startup example for ML module programming.
ProcessAllPagesExample
(Class: ProcessAllPagesExample
; DLL: ProcessAllPagesExample)
Shows how to process all pages using multi-threading and the TypedOutputHandler.
GlobalPagedImageExample
(Class: mlGlobalPagedImageExample
; DLL: MLExample)
This module demonstrates how a
VirtualVolume
and/or a
TVirtualVolume
instance can be used to get a
random read/write access to an input image during page-based
processing and to demand driven image processing.
AsyncProcessAllPagesExample
(Class: mlAsyncProcessAllPagesExample
; DLL: MLBackgroundTasksExamples)
This module (like some others in the same DLL) demonstrates how image processing tasks can be performed in the background of the main process so that the GUI stays responsive.
ReadDICOMTagExample
(Class: mlReadDICOMTagExample
; DLL: MLReadDICOMTagExample)
Shows how to read DICOM tags from the internal image representation.
Kernel3In2OutExample
(Class: mlKernel3In2OutExample
; DLL: MLKernelExamples)
Example class to demonstrate the implementation of a kernel-based algorithm with three inputs and two outputs in the ML.
KernelExample
(Class: mlKernelExample
; DLL: MLKernelExamples)
Example class to demonstrate the implementation of a kernel-based algorithm in the ML.
SeparableKernelExample
(Class: mlSeparableKernelExample
; DLL: MLKernelExamples)
Example class of the implementation of a kernel-based algorithm in the ML which implements separable kernel filtering.
Tip | |
---|---|
Similar examples are available for MDL panels; for those, search for modules starting with “Test...”. |
© 2024 MeVis Medical Solutions AG