Skip to content

blobproperties

blobproperties(data, labels, npk, omega=0.0, verbose=0)

Categories: Peak labelling

Description

fills the array results with properties of each labelled object described by data (pixel values) and labels. The omega value is the angle for this frame. results are FIXME

Parameters

Name Description
data Input float32 2D.
labels Input int32 labels.
np Number of objects.
omega Omega angle.
results Output array (np, 36).
verbose Print diagnostics.

Constraints

  • data.ndim == 2
  • data.slow_axis == 0
  • ( labels.format == 'i' or labels.format == 'l' )
  • labels.n == data.n
  • results.format == 'd'
  • results.shape[0] == np
  • results.shape[1] == 36

Overloads

C function Condition
blobproperties_u32 always
blobproperties_u16 always
blobproperties_u8 always
blobproperties always

Built from commit 7ba8255fa8d680e1a1df79e67aee3873247ce69c (v0.4.5)