sparse_localmaxlabel
sparse_localmaxlabel(v, i, j, MV, iMV, labels)
Categories: Peak labelling, Sparse
Description
assigns labels to sparse array in sorted coo format supplied in (v,(i,j)). MV and iMV are temporaries. single threaded
Parameters
| Name | Description |
|---|---|
MV |
Temp float32. |
i |
Rows (uint16). |
iMV |
Temp int32. |
j |
Cols (uint16). |
labels |
Output labels (int32). |
v |
Values (float32). |
Constraints
v.slow_axis == 0i.format == 'H' or i.itemsize == 2j.format == 'H' or j.itemsize == 2j.n == i.nv.n == i.nMV.format == 'f'MV.n == i.n( iMV.format == 'i' or iMV.format == 'l' )iMV.n == i.n( labels.format == 'i' or labels.format == 'l' )labels.n == i.n
Overloads
| C function | Condition |
|---|---|
sparse_localmaxlabel_u32 |
always |
sparse_localmaxlabel_u16 |
always |
sparse_localmaxlabel_u8 |
always |
sparse_localmaxlabel |
always |
Built from commit 7ba8255fa8d680e1a1df79e67aee3873247ce69c (v0.4.5)