Closed thewtex closed 2 years ago
Towards OME-NGFF channel support:
MultiscaleChunkedImage
MultiscaleSpatialImage
Map
numberOfChunks
sizeChunks
sizeElements
ranges -> a Map where values are an array of two components (min, max) and keys are the channel index
scaleInfo = [{ // scale 0 information dims: ['x', 'y'], // Valid elements: 'c', 'x', 'y', 'z', or 't' coords: .get() Promise resolves a Map('x': Float64Array([0.0, 2.0, ...), 'y' ... numberOfCXYZTChunks: [1, 10, 10, 5, 1], // array shape in chunks sizeCXYZTChunks: [1, 64, 64, 64, 1], // chunk shape in elements sizeCXYZTElements: [1, 1, 1, 1, 1], // array shape in elements ranges: [[0, 255],], // or null if unknown. Range of values for each component name: 'dataset_name' },
Towards OME-NGFF channel support:
MultiscaleChunkedImage
toMultiscaleSpatialImage
and associated classes.Map
namednumberOfChunks
Map
namedsizeChunks
Map
namedsizeElements
ranges -> a
Map
where values are an array of two components (min, max) and keys are the channel indexscaleInfo = [{ // scale 0 information dims: ['x', 'y'], // Valid elements: 'c', 'x', 'y', 'z', or 't' coords: .get() Promise resolves a Map('x': Float64Array([0.0, 2.0, ...), 'y' ... numberOfCXYZTChunks: [1, 10, 10, 5, 1], // array shape in chunks sizeCXYZTChunks: [1, 64, 64, 64, 1], // chunk shape in elements sizeCXYZTElements: [1, 1, 1, 1, 1], // array shape in elements ranges: [[0, 255],], // or null if unknown. Range of values for each component name: 'dataset_name' },