Generating C++ Modules
The Command Shell
Pixels and Images
Graphics: plots, profiles
Image file I/O
Creating New Modules
Computing and Analyzing Difference Images
The diff-plugin demonstrates the functionalities of the segmentation module .
The binary difference image between the current image and the reference image is computed, and run-length encoded (class RLEImage). The reference image is the n-th image preceding the current image, as specified by the variable ref-delta.
Connectivity analysis is then carried out on the difference image, yielding a list of regions, sorted by size.
The difference image is displayed in screen position 1. For each connected region (larger than min-size), we display
Speeding up the computation.The difference computation samples the images according to the variables x-step, y-step. Tuning these values, you can trad speed for quality. A region is guaranteed to be found if its extension is greater than the sample step.
Globals and Modifiable Parameters
The following parameters can be consulted and modified during experimentation:
In order to modify one of the first 4 parameters, use the function:
The following global variables reflect the current state of the program: