See thread here for description of use case and end goals Imglyb + BigDataViewer.
To a similar end, I am exploring real time visualization of our data using BigVolumeViewer through Python. The code below does work (a viewing window pops up displaying the volume - awesome!).
A few questions about current functionality are:
-
Is it possible to open a BigStitcher style H5 file with BVV? In essence a single H5 file containing multiple image volumes, with positions specified in an XML file?
-
If not, is it possible to add multiple volumes to a single BVV instance?
Thank you!
Adam
Working code
import scyjava_config
scyjava_config.add_endpoints('sc.fiji:bigvolumeviewer:0.1.5')
import imglyb
import imglyb.util as util
from jnius import autoclass, PythonJavaClass, java_method, cast
import time
import numpy as np
xmlFilename = 'X:\\test1\\data-f0.xml'
spimData = autoclass('bdv.spimdata.SpimDataMinimal')
spimXML = autoclass('bdv.spimdata.XmlIoSpimDataMinimal')
spimData = spimXML().load(xmlFilename)
BvvStackSource = autoclass('bvv.util.BvvStackSource')
BvvFunctions = autoclass('bvv.util.BvvFunctions')
BvvStackSource = BvvFunctions.show(spimData)