Parallel processing with detection of the number of channels present
Description:
This snippet shows how to use the Select by Number function to trigger processing in 1-4 branches of the pipeline depending on the number of Image Window channels present. The number of channels are given by the channelcount variable. See more in Help/Expression Evaluation.