Blocks#
Every block of this toolkit, from its catalog.
opencv#
Block |
Type |
What it does |
|---|---|---|
|
How much two images differ: motion against a background, a before and after. |
|
|
Black and white by local brightness: for uneven light. |
|
|
Learns a background and shows what changed: a motion mask, the background and the changed fraction. |
|
|
Combines two images pixel by pixel (and with a grey second image: a mask). |
|
|
Mixes two images: alpha of the first, the rest of the second. |
|
|
Softens an image. |
|
|
Finds edges. |
|
|
The largest white blob’s centroid, area and radius, plus a marked image. |
|
|
Local histogram equalisation (CLAHE), for uneven lighting. |
|
|
Fills small black holes. |
|
|
The white blobs’ count, the largest one’s centre, area and box, and a marked image. |
|
|
Changes the colour space (grey, BGR, RGB, HSV, HLS, Lab). |
|
|
Keeps a rectangle of an image (0 width or height: the rest of it). |
|
|
Grows white areas. |
|
|
How far each white pixel is from black. |
|
|
Draws a box, circle, cross or text on an image (u, v centre; width, height or radius). |
|
|
Spreads the histogram: more contrast in a flat or dark image. |
|
|
Shrinks white areas. |
|
|
Mirrors an image horizontally, vertically or both. |
|
|
Turns an image to grey. |
|
|
Finds circles: how many, the largest one’s centre and radius, and a marked image. |
|
|
Finds straight lines: how many, the longest one’s angle and length, and a marked image. |
|
|
Keeps the pixels within a range of colour. |
|
|
Swaps black and white. |
|
|
The second derivative: edges in every direction. |
|
|
Removes speckle noise, keeping edges. |
|
|
Stretches an image’s values into a range. |
|
|
Removes small white specks. |
|
|
Changes an image’s size (pixels, or a scale when both are 0). |
|
|
Rotates an image about its centre (expand = 1 keeps the corners in view). |
|
|
Writes its input to a picture file (once, or every step) and passes it on. |
|
|
A directional derivative: bright where the image changes along x or y. |
|
|
Mean, spread, range and non-black count of an image. |
|
|
Finds a template picture in an image: where, how well, and a marked image. |
|
|
Splits an image into black and white at a level. |
|
|
Shows an image on the Board. |
group#
Block |
Type |
What it does |
|---|---|---|
|
An input of the subsystem or story it is in: a port on the group’s block outside, named by name, and its value here. |
|
|
An output of the subsystem or story it is in: what is wired to it leaves by a port on the group’s block outside, named by name. |