Skip to content

voxel_vote is slow #50

@bcdarwin

Description

@bcdarwin

Currently voxel_vote makes len(dimension 0) * n_files calls to getHyperslab, resulting in a quite a number of I/O syscalls. It would be better to read in each file at a time and maintain a (sparse) label histogram at each voxel.

(One minor question is how to store the histograms, e.g. some sparse array format with a channels dimension for the label histograms seems appropriate, but it might be necessary to determine the maximum label in advance.)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions