Seeing More in the Diagnostic Mode
Programs can be executed in two different modes: Diagnostic and Non-Diagnostic. The difference between them is in the computation of values on the diagnostic outputs. Values of this kind of outputs are computed only in the Diagnostic mode. They can be helpful in debugging programs but are not necessary in its final version. In the Non-Diagnostic mode, execution is faster because no diagnostic values are computed.
The execution mode can be easily changed in Adaptive Vision Studio using a button on the Application Toolbar. Outside of Adaptive Vision Studio, programs are always executed in the Non-Diagnostic mode to provide the highest performance.
Diagnostic Filter Instances
Filters that have inputs connected to diagnostic outputs of some filters above them, are said to be diagnostic too. They are executed only when the program runs in the Diagnostic mode.
The ScanSingleEdge filter has three diagnostic outputs:
- diagBrightnessProfile is the profile of image brightness sampled along the scan path.
- diagResponseProfile is the profile derivative after preprocessing.
- diagSamplingPoints visualizes the points on the input image from where the brightness samples were taken.
|Previous: Analysing Filter Performance||Next: Deploying Programs with the Runtime Application|