imagej / imagej/imagej-common

Fix Dataset image typing

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

Description

`Dataset` has a `ImgPlus>`. This is wrong for multiple reasons:
1. `RealType` is not general enough. We need to support at least `ComplexType` as well, if not all `Type`s. See [ImageJ Trac ticket #845](http://trac.imagej.net/ticket/845) for related discussion.
2. `? extends RealType` causes many issues with the compiler. We might need to bite the bullet and have `Dataset` be generically typed. See also #12.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reading the Dataset declaration using ImgPlus> and the related discussion in ImageJ Trac ticket #845 and issue #12. Clarify whether Dataset should support ComplexType or all Type implementations and whether it must become generically typed; done means the chosen type model avoids the reported compiler problems.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.