Jump to content

SwisTrack/Components/BlobSelection

From Wikibooks, open books for an open world

Description

[edit | edit source]

This component detects the blobs resulting of a thresholding step and keeps those with their area, orientation and compactness between specified boundaries. It is really close to the blob detection component. The only difference is that the result is a black and white image and not particles. Therefore, additional binary processing can be done after this method (Such as erosion or dilation).

Input

[edit | edit source]

A binary (black and white) image.

Output

[edit | edit source]

A binary (black and white) image.

Parameters

[edit | edit source]

Area Selection

[edit | edit source]

Choose if a selection based on the blobs area is done.

Min. blob size

[edit | edit source]

Minimal area of a selected blob in pixels.

Max. blob size

[edit | edit source]

Maximal area of a selected blob in pixels.

Compactness Selection

[edit | edit source]

Choose if a selection based on the blobs compactness is done.

Min. compactness

[edit | edit source]

Minimal compactness of a selected blob (between 0 and 1).

Max. compactness

[edit | edit source]

Maximal compactness of a selected blob (between 0 and 1).

Orientation Selection

[edit | edit source]

Choose if a selection based on the blobs orientation is done.

Min. orientation

[edit | edit source]

Minimal orientation of a selected blob in degrees.

Max. orientation

[edit | edit source]

Maximal orientation of a selected blob in degrees.