Previous Topic

Next Topic

Book Contents

Book Index

External Script

This tool allows running an external program, which needs to be placed in Pmod3.9/resources/extlibs/scripts. It then shows up in the External script to execute list as a new entry. Input to the script is an image file with the name defined in the Script's Input field. The script may apply any processing to the image and needs to save the resulting image under the name defined in the Script's Output field. Note also the image format definitions for the input and the output which must meet the file content.

When the external tool is executed, it will first save the current image with the Script's Input definition, call the script, and then try loading an image file with Script's Output definition.

Example: Execution of Matlab Script

A Matlab script example which requires Matlab's Image Processing Toolbox is available in Pmod3.9/resources/extlibs/scripts. It consists of two files: