Measures where the image changes in each cell of a grid by comparing consecutive frames. Outputs per-cell X and Y arrays, the position of the change relative to the center of each cell, plus a global motion amount. It does not estimate motion vectors: an object that moves across a cell changes it on both of its edges, so the sign of the outputs does not give the direction of the motion.

Formerly Video Detection Optical Flow. Its motion X and motion Y outlets were called flow X and flow Y: saved patches keep their wires, but object addresses that end with .flow-x and .flow-y must now end with .motion-x and .motion-y.
Video input flow(s).
Total time used for the calculation of the module.
Motion detection sensitivity. Higher values detect smaller movements.
Grid size. Determines the number of cells used for motion analysis: the image is divided into grid x grid cells that cover the whole frame. A larger grid provides finer spatial resolution. Range 2 to 32, default 8.
Array output containing, for each grid cell, the horizontal position of the change between the two frames relative to the center of the cell, weighted by the strength of the change and multiplied by sensitivity (grid x grid values, line by line): positive when the change lies right of the center, negative on the left. A change spread evenly over a cell, such as a uniform change of brightness, gives 0.
Array output containing, for each grid cell, the vertical position of the change between the two frames relative to the center of the cell, weighted by the strength of the change and multiplied by sensitivity (grid x grid values, line by line): positive when the change lies below the center, negative above. A change spread evenly over a cell, such as a uniform change of brightness, gives 0.
Global scalar output representing the overall amount of motion detected in the frame, from 0 (no motion) to 1. It is an average per pixel, so it does not depend on the size of the video or on the grid.
Button. Opens the manual page of the selected object (or of its parent module for a control) in the web browser. If no page exists for this object, an error is traced in the trace panel.
For more details about information/help creation, see create-help-file.
Free multi-line text attached to the module, saved with the patch. When it is not empty, it is shown as the hint of the module (mouse over the module header in the patch) in place of the default module hint, even when the module hints are disabled.
visible only in god mode, see setup-panel-tab-expert.
Read-only, not saved. Current private numeric ID of the object, used internally to identify it (for example as the target of a bind ID).
Read-only, not saved. Private ID used to store and recall the values of this control in presets.
Button. Generates a new unique ID, original ID and preset ID for the object. Use it if you experience difficulties in Polyphonic mode or if two objects share the same ID. Preset values and binds referring to the old IDs are lost.
Read-only, not saved. Absolute address of the object in the Usine objects tree, built from the workspace root. This is the address to use to reach the object from scripts, the objects panel or remote messages. Only shown for objects that are registered in the objects list. See objects-address.
Read-only, not saved. Address of the object relative to the current patch, valid inside that patch only. See objects-address.
Free user-defined address for the object (empty by default). When set, the object is also registered in the objects tree under this name, so it can be reached independently of its position in the workspace (the value is also reported in the mouse-over and mouse-down chunks). Changing it rebuilds the objects list. Only available on objects that support a user address. See objects-address.
version 7.0.250921
Edit All Pages