-
Notifications
You must be signed in to change notification settings - Fork 10
Open
Description
The render plugin is a good starting point to play around with different ideas. Wonder if we should have an 'experimental' branch maybe? /cc @jburel @dgault @francesw
Here's a first attempt, kind of a hybrid of the current render plugin output and the current NGFF draft specification
(code see draft PR #54 ):
{
"channels": {
"0": {
"active": true,
"color": "00FF00",
"color-format": "hex",
"color-type": "rgb",
"label": "CEP192-M",
"window": {
"end": 16633.45703125,
"max": 16633.45703125,
"min": 0.0,
"start": 0.0
}
},
"1": {
"active": true,
"color": "FF0000",
"color-format": "hex",
"color-type": "rgb",
"label": "CENT2",
"window": {
"end": 103353.1796875,
"max": 103353.1796875,
"min": 0.0,
"start": 0.0
}
}
},
"color-model": "color",
"default-dimension-0": 0,
"default-dimension-1": 0,
"dimensions": "zt",
"plane": "xy",
"version": 3
}
Instead of defaultZ/T it's more generic default-dimension- and what the dimensions actually mean is specified in dimensions, what a plane actually means likewise in plane. Also the color can be more generic. See above for the common html color specification, but it could also hold lookup tables (e.g. specified by a name or maybe url, etc.), e.g.
"channels": {
"0": {
"active": true,
"color": "glasbey",
"color-format": "name",
"color-type": "lut",
"label": "CEP192-M",
"window": {
"end": 23900.765625,
"max": 23900.765625,
"min": 0.0,
"start": 0.0
}
},
...
}
Edit: Actually default-dimension- should better be a list, not several keys.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels