Edit script
Description
Allows to edit a script.
Required input
Script name: each script requires a unique name.
Shortcut key: assign a shortcut key to the script. You can select a character in the range A..Z or 1..9.
For example when you select the letter A,
you will be able to execute the script by pressing the key combination Shift + Ctrl + A
Script commands: a list of commands that make up the script.
Script commands
- AnalyzeObjects [excludeborderobjects] [minarea maxarea]
- Extract object contours from the binary image.
Optional parameters:
excludeborderobjects: ignore objects that are on the image border
minarea: minimum area of objects
maxarea: maximum area of objects
- BackgroundCorrection
- Correct image defects caused by uneven illumination.
- Binarize [threshold]
- Convert the image to a binary image by converting all pixels below a threshold value to red and those above to white.
Optional parameter:
threshold
- ContrastAutoFix
- Maximize contrast automatically.
- Despeckle
- Remove noise from images without blurring edges.
- Flip vertical | horizontal
- Flip the image vertically or horizontally.
- Grayscale
- Convert the image to a grayscale image.
- Invert
- Create a negative of the image.
- Rotate left | right
- Rotate the image left or right.
- MorphDilate
- Add pixels at region boundaries and fill in holes (Morphological Dilate operation).
- MorphErode
- Remove pixels at boundaries or regions and increase the size of holes (Morphological Erode operation).
- MorphOpen
- Smooth boundaries, break narrow isthmuses and eliminate small noise regions (Morphological Open operation).
- MorphClose
- Smooth boundaries, join narrow breaks and fill small holes caused by noise (Morphological Close operation).
- SelectAll
- Selects all measurement objects in the image window.
- Sharpen [filtersize] [intensity]
- Apply a sharpen filter to the image.
Optional parameters:
filtersize: larger filter size yields stronger effect
intensity: % filter intensity
|