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

Issue 47: 3D Viz Next Steps #48

Draft
wants to merge 4 commits into
base: main
Choose a base branch
from
Draft

Conversation

davramov
Copy link
Contributor

I am starting this as a draft PR for the features outlined here: #47

This initial commit includes:

  • a small 11MB scan for testing (examples/tomo_scan.h5)
  • downsampling methods using Torch and OpenCV (orchestration/flows/bl832/downsample.py)
    • For small datasets (~11MB), Torch/OpenCV performs similarly (4 seconds)
    • For large datasets (~7GB), OpenCV works well, however, Torch appears to run into a memory issue (at least on my laptop) which prevents some of the images from downsampling correctly (exchange/data). To address this, I include a memory check, enabling Torch chunking. This slows down the downsampling (OpenCV: 80 seconds vs Torch: 123 seconds), but at least it works. I am keeping both versions here in case one works better in production.

…irectory you want to visualize, and then it hosts it locally and opens the web browser to the full-screen itk-vtik-viewer widget.
…ds the itk-vtk-viewer in an iframe, with a goal to select the dataset using the Tiled Browser Seij is working on.
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

Successfully merging this pull request may close these issues.

1 participant