Video Pixel Density

Transforms a video flow into a grid of pixels density. It superimposes a grid and in each cell of the grid it counts the number of light pixels according the threshold. It also calculates the barycenter of the pixels density.

Can be used in motion detection, see /Library/Help Patches/Video/Pixel Density.pat example.

Settings

video in

Video input flow(s).

process time

Total time used for the calculation of the module.

grid width

Number of columns in the grid.

grid height

Number of rows in the grid.

threshold

Pixels that have intensity (lightness) lower than the threshold are ignored.

grid density

Array containing the calculated density. Its length is grid width x grid height and can be connected to a panel-matrix.

barycenter x

Barycenter of the pixels density on X axis (width)

barycenter y

Barycenter of the pixels density on Y axis (height)

nb pixels

Total number of pixels detected.

array points x

List of X coordinates of fulfilled cells as an array.

array points y

List of Y coordinates of fulfilled cells as an array.

array points density

List of density values (number of pixels) of fulfilled cells as an array.

auto scale

When ON, always maintains the output density array in the range [0..1].

contrasted

Increases the contrast of the video input. Can improve the video detection accuracy.

Common Settings

info

show manual

Opens the web browser to display information or help about the selected object, if it exists.

For more details about information/help creation, see create-help-file.

description

Description of the module for internal help purposes only. The description is not displayed in the interface.

ID's

visible only in god mode, see setup-panel-tab-expert.

unique ID

Current private ID for this control used to identify the object.

preset ID

Current private preset ID for this control used for presets.

recreate ID

If you experience difficulties in Polyphonic mode, try to recreate new id(s) with this button.

repair ID s

Each Patch shared on the local network uses its own ID (identification number). If you experience issues of Patches that don't send information to the good target, this button will rebuild all these id's.

Object Remote Address

absolute

Absolute remote address. see objects-address.

local

Local to the current patch remote address. see objects-address.

user addr

User defined remote address. see objects-address.

See also

version 7.0.250121

Edit All Pages