bigdataviewer / bigdataviewer-vistools

Helpers to use BigDataViewer as a quick visualization tool in other projects.
BSD 2-Clause "Simplified" License
25 stars 17 forks source link

Volatile Wrapping of bdv.viewer.Source + Helper functions to fetch datasets #38

Closed NicoKiaru closed 4 years ago

NicoKiaru commented 5 years ago

This PR attempts to automatically wrap bdv Sources whenever it is possible.

An example https://github.com/BIOP/bigdataviewer-vistools/blob/master/src/test/java/bdv/util/ExampleMultiresolutionSource.java shows a generative multiresolution source - with long computation. When it is not volatile, it is slow to display. This PR makes it possible to automatically wraps this kind of Source.

(see youtube video : https://www.youtube.com/watch?v=SdngXeEatqA)

However the wrapping has limitations : it needs to check the class of the underlying RAI. For that it needs a valid timepoint. Currently it is 0.

Also included in the PR : an helper class to fetch Xml/Hdf5 datasets and store it locally on the hard drive. It's much easier to share sample datasets.

NicoKiaru commented 4 years ago

Probably obsolete now