SetFileName¶
- MLModule¶
author
package
dll
definition
keywords
Purpose¶
The module SetFileName allows for setting/overwriting the file name associated with an image in MeVisLab.
This can be useful for images that are created synthetically but are actually derived from another image.
Usage¶
Simply enter a new file name and connect an image to the input, the output will automatically have the new file name set.
Tips¶
Changing the file name while an image is connected will generate an additional image notification, which can trigger unnecessary image calculations. To avoid this you can add an ImageClear module after any module that modifies the image (properties) and only update the output of ImageClear if all other changes have happened.
Windows¶
Default Panel¶
Input Fields¶
input0¶
- name: input0, type: Image¶
Takes the image that should have the file name changed.
Output Fields¶
output0¶
- name: output0, type: Image¶
The image with the changed file name.
Parameter Fields¶
Visible Fields¶
File Name¶
- name: fileName, type: String¶
Sets the file name to set in the input image. This should be an absolute path.
Modify¶
- name: modifyFileName, type: Bool, default: TRUE¶
If checked, the file name is changed. Otherwise, the file name is left unchanged.