imagej / imagej/imagej-common

Saving an image should preserve more metadata

Open
#4 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
12
Forks
15
PR merge metrics
No merged PRs in 30d

Description

When saving an image, there is some view-related metadata that is currently not being recorded. Specifically, knowing the composite mode of an image would be useful, as well as other display properties, such as the current index for each axis.

One way to handle it would be for `DatasetService#save` to add (key, value) pairs to the `ImgPlus`'s [properties](https://github.com/imglib/imglib/commit/46feae1f3f253b00ce5f9f9fd2a11e2f42705f98), which [SCIFIO then preserves](https://github.com/scifio/scifio/issues/172). This would work around the fact that SCIFIO knows nothing about ImageJ `DatasetView`s.

Migrated-From: http://trac.imagej.net/ticket/1081

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reading DatasetService#save and the linked ImgPlus properties and SCIFIO references. Determine how view-related metadata such as composite mode and each axis's current index can be represented as properties. Done means saving an image preserves these values for later access.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
data
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.