Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[enh] add support for display window in meta.json #198

Open
chourroutm opened this issue Dec 10, 2024 · 2 comments
Open

[enh] add support for display window in meta.json #198

chourroutm opened this issue Dec 10, 2024 · 2 comments

Comments

@chourroutm
Copy link

As I have understood that voluba is shifting from transform.json (affine transform) to meta.json (which can ship extra display metadata), adding a key-value pair for the display window would ease the process of sharing voluba-integrated datasets.

@xgui3783
Copy link
Member

xgui3783 commented Dec 10, 2024

can you provide an example?

e.g. at the moment, the following meta.json is defined by the proposal. Whilst not all keyvalue are evaluated at the moment, we plan to do so in the medium term future.

GET /meta.json

{
    "version": 1,
    "preferredColormap": ["magma", "plasma", "greyscale"],
    "transform": [...4x4 affine, trimmed for brevity ...],
    "data": {
        "type": "image/1d",
        "range": [{
            "min": 0.2222,
            "max": 0.2233
        }]
    }
}

edit: maybe similar to FZJ-INM1-BDA/siibra-explorer#1273 ?

@chourroutm
Copy link
Author

Of interest for #198: does it mean display range or the boundaries of the histogram?

Originally posted by @chourroutm in FZJ-INM1-BDA/siibra-explorer#1348 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants