Skip to content

coverlaps

coverlaps(row1, col1, labels1, row2, col2, labels2, mat, results)

Categories: Sparse, Peak labelling

Description

Determine overlapping labels between two sparse frames.

Parameters

Name Description
col1 Cols 1 (uint16).
col2 Cols 2 (uint16).
labels1 Labels 1 (int32).
labels2 Labels 2 (int32).
mat Output overlap matrix (int32).
results Output triples (int32).
row1 Rows 1 (uint16).
row2 Rows 2 (uint16).

Constraints

  • row1.slow_axis == 0
  • row1.format == 'H' or row1.itemsize == 2
  • col1.format == 'H' or col1.itemsize == 2
  • col1.n == row1.n
  • labels1.format == 'i' or labels1.format == 'l'
  • labels1.n == row1.n
  • row2.format == 'H' or row2.itemsize == 2
  • col2.format == 'H' or col2.itemsize == 2
  • col2.n == row2.n
  • labels2.format == 'i' or labels2.format == 'l'
  • labels2.n == row2.n
  • ( mat.format == 'i' or mat.format == 'l' )
  • mat.ndim == 2
  • ( results.format == 'i' or results.format == 'l' )

Overloads

C function Condition
coverlaps always

Built from commit 7ba8255fa8d680e1a1df79e67aee3873247ce69c (v0.4.5)