Skip to content

List all segment IDs given precomputed segmentation volume #648

@jakobtroidl

Description

@jakobtroidl

Is there a way to use cloud volume to generate a list of all segment IDs given a precomputed segmentation volume? Here's a pseudocode example of what I am looking for.

from cloudvolume import CloudVolume

vol_path = "https://storage.googleapis.com/neuroglancer/drosophila_v0/seg_190410_FAFB_v02_ws_size_threshold_200"
vol = CloudVolume(vol_path, parallel=True, progress=True)

vol.all_ids() # list all segmentation IDs in the volume as np.array

Thanks so much for your help.

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionWhat is going on??? :thinking emoji:

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions