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

Use rank order based downsampling for livestreaming #15

Open
2 tasks
micahwoodard opened this issue Aug 12, 2024 · 0 comments
Open
2 tasks

Use rank order based downsampling for livestreaming #15

micahwoodard opened this issue Aug 12, 2024 · 0 comments
Assignees

Comments

@micahwoodard
Copy link
Collaborator

Change downsampling class to new rank order based GPU processing. Sparse images will become dim and muted when doing traditional mean based downsampling. To retain sparse signals in downsampled images, rank order based downsampling can be used. This is now implemented in https://github.com/AllenNeuralDynamics/voxel/blob/develop/voxel/processes/downsample/gpu/gputools/rank_downsample_3d.py#L85-L88.

An init argument is rank, i.e. the value within a downsampled pixel neighborhood to retain in the downsampled volume. rank=0 would be a minimum value downsampling, rank=-1 would be a maximum value downsampling. Maximum value would propagate too much noise, therefore we should use rank=-2 to always retain the 2nd brightest pixel.

  • Change livestreaming downsampling class to new rank order class
  • Use rank=-2
@micahwoodard micahwoodard self-assigned this Aug 12, 2024
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