imagej / imagej/imagej-common

Support in ImgLib2 for per-plane metadata

Open
#31 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Java
Stars
12
Forks
15
PR merge metrics
No merged PRs in 30d

Description

The restructure plugins maintain existing color tables, but the code needs to make some assumptions, because `Dataset` currently keeps its per-plane color tables in a separate data structure from the `ImgPlus` itself.

More generally, things like `Views` cannot properly preserve per-plane metadata since there is no such thing at the moment. (We have per-_axis_ metadata, but not per-plane.)

Ultimately, we probably need something like `AnnotatedSpace` but for intervals, so that each position of the interval can have some `Metadata`... although that would be per-_pixel_ metadata if implemented naively. To handle it per-_plane_ in a general way will require further consideration...

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

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reading the Dataset and ImgPlus handling in the restructure plugins, then inspect how Views preserve axis metadata and how AnnotatedSpace represents metadata. Compare these existing structures with the issue's per-plane metadata requirement and determine a suitable interval-level design; done means the model can preserve per-plane metadata without the current separate color-table assumptions.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
data
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.