Comments (4)
The more I think about this I would be in favor of just having one creation method that deals with creating and instantiating the loader. That way we don't need to import classes directly. The async initialize feels a bit clunky above and could be removed in favor of something like:
// createLoader returns Promise for TiffLoader or ZarrLoader etc ...
import { createLoader } from 'data_utils';
createLoader('zarr', { ...props }).then(loader => this.setState({loader});
// or
createLoader('geotiff', { ...props }).then(loader => this.setState({loader});
// later
this.state.loader.getTile({x,y,z})
from viv.
Perhaps we can start ironing out some of the things we'd like to share with napari and this could be a place to formalise that: https://github.com/napari/napari/blob/f53d7448f2858a36ff7a57bcfc5176018f2af670/napari/layers/image/image.py#L20-L79
from viv.
Can we close this @manzt ?
from viv.
This has been formalized byvitessce-image-loader
](https://github.com/hubmapconsortium/vitessce-image-loader) and we aim to integrate back here #118
from viv.
Related Issues (20)
- Update release workflow HOT 4
- Avivator: Allow pre-signed URLs HOT 7
- Add support for loading stacked TIFFs and MIBI TIFFs. HOT 4
- Add support for loading local image files HOT 3
- Click Handler For Overview is Not Working HOT 3
- Highest Zoom Level Pixelation is Broken
- Issues loading some OME-TIFF files HOT 13
- HMR, useEffect is used without cleanup... HOT 1
- Avivator cannot render images with no channel Color attribute in metadata (as of release 0.13.4) HOT 5
- Problems installing with npm HOT 4
- Add Physical Size Information to `ZarrPixelSource`
- `modelMatrix` for loaders HOT 3
- Guidance on installing / building the development server HOT 6
- Set tile size manually HOT 1
- Avivator crashes when specifying OME-Zarr URL without explicit path (i.e. "0") HOT 3
- `zoomOffset` from `modelMatrix` in `MultiscaleImageLayer` might not be correct? HOT 2
- Cannot Display HCS Plate with Avivator HOT 1
- Max channels allowed HOT 14
- Round ScaleBar value HOT 12
- loadOmeTiff results in error HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from viv.