A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://arrayfire.github.io/arrayfire-rust/arrayfire/../arrayfire/../arrayfire/fn.regions.html below:

arrayfire::regions - Rust

[−][src]Function arrayfire::regions
pub fn regions<OutType>(
    input: &Array<bool>,
    conn: Connectivity
) -> Array<OutType> where
    OutType: HasAfEnum + RealNumber

Find blobs in given image.

Given a binary image (with zero representing background pixels), regions computes a floating point image where each connected component is labeled from 1 to N, the total number of components in the image.

A component is defined as one or more nonzero pixels that are connected by the specified connectivity (either Connectivity::FOUR or Connectivity::EIGHT) in two dimensions.

Array with labels indicating different regions


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4