Skip to content
New issue

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

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

Already on GitHub? # to your account

Passive Acquisition cannot load multiple images #2179

Open
jepietryga opened this issue Jun 24, 2021 · 0 comments
Open

Passive Acquisition cannot load multiple images #2179

jepietryga opened this issue Jun 24, 2021 · 0 comments

Comments

@jepietryga
Copy link
Contributor

jepietryga commented Jun 24, 2021

Describe the bug
In using Passive Acquisition, there is an issue where the first file will load correctly, but the second will crash tomviz.

To Reproduce
Following the Passive Acquisition tutorial, I am able to set up the server and begin monitoring files. Next, I load a .tiff following the standard naming convention into the monitored folder--this tiff is loaded, though the slice is listed as the maximum negative value for integers. The next image dragged into the folder will then crash tomviz.

Expected behavior
The tiffs should be loaded into one datasource.

Desktop (please complete the following information):

  • Operating system: Linux
  • Tomviz version: 1.9.0

Hardware (please complete the following information):
Several different devices

Additional context
I believe the issue is with how tomviz Datasource's appendImage function works. It seems like it's only used by Passive Acquisition, and some reading into vtk indicates how images are appended might've been changed since Passive Acquisition was implemented. I tried to fix it, but I am not experienced enough in vtk to come up with a working solution. Maybe the vtkImageAppend class could be useful?

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

No branches or pull requests

1 participant