Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Handle (or ignore) "0" assignments from the cleave server. #125

Closed
stuarteberg opened this issue Apr 24, 2018 · 1 comment
Closed

Handle (or ignore) "0" assignments from the cleave server. #125

stuarteberg opened this issue Apr 24, 2018 · 1 comment

Comments

@stuarteberg
Copy link
Member

stuarteberg commented Apr 24, 2018

Currently, the cleave server sends back label assignments for only those supervoxels which actually ended up with a non-zero label:

{
  "body-id": 99,
  "assignments": {
    "1": [10,11,12],
    "2": [13,14,15]
  }
}

In the event that some supervoxel ends up with no label, I would like to return unassigned supervoxels as being assigned to "0":

{
  "body-id": 99,
  "assignments": {
    "0": [20,21,22],
    "1": [10,11,12],
    "2": [13,14,15]
  }
}

For now, you can simply ignore that list. In the future, we might want to do something with them (e.g. display extra error information if those supervoxels have no meshes associated with them.

@stuarteberg
Copy link
Member Author

Update: The current version of the cleave server does include the "0" assignments as described above. It doesn't seem to cause neu3 any problems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant