Skip to content

sparse_connectedpixels_splat

sparse_connectedpixels_splat(v, i, j, th, lbl, Z, ni, nj)

Categories: Sparse

Description

is for debugging/timing. It splats the sparse array into a dense array and runs the old connectedpixels code on that.

Parameters

Name Description
Z Temp buffer.
i Rows (uint16).
j Cols (uint16).
lbl Output labels.
ni Rows.
nj Cols.
th Threshold.
v Values (float32).

Constraints

  • v.slow_axis == 0
  • v.format == 'f'
  • i.format == 'H' or i.itemsize == 2
  • j.format == 'H' or j.itemsize == 2
  • j.n == i.n
  • v.n == i.n
  • ( lbl.format == 'i' or lbl.format == 'l' )
  • lbl.n == i.n
  • ( Z.format == 'i' or Z.format == 'l' )

Overloads

C function Condition
sparse_connectedpixels_splat always

Built from commit 7ba8255fa8d680e1a1df79e67aee3873247ce69c (v0.4.5)