Table of Contents ▸ List of Commands ▸ Input / Output ▸ pass | ◀ parse_gui | plot ▶ |
pass | Built-in command |
Arguments:
- _shared_state={ -1:Status only | 0:Non-shared (copy) | 1:Shared | 2:Adaptive }
Description:
Insert images from parent context of a custom command or a local environment.Command selection (if any) stands for a selection of images in the parent context.
By default (adaptive shared state), selected images are inserted in a shared state if they do not belong
to the context (selection) of the current custom command or local environment as well.
Typical use of command pass concerns the design of custom commands that take images as arguments.
This commands return the list of corresponding indices in the status.
Default values:
shared_state=2.
Example of use:
command "average : pass$""1 add[^-1] [-1] remove[-1] div 2" sample ? +mirror y +average[0] [1]