Skip to content

WIP: Widen projection op input - #293

Draft
gselzer wants to merge 2 commits into
mainfrom
scijava-ops-image/projection-improvements
Draft

WIP: Widen projection op input#293
gselzer wants to merge 2 commits into
mainfrom
scijava-ops-image/projection-improvements

Conversation

@gselzer

@gselzer gselzer commented Aug 13, 2026

Copy link
Copy Markdown
Member

Now we can pass projection functions that operate on RAIs, which makes matching them a little easier. I can imagine pitfalls, though (for example, we could write a stats.sum Op that works on ArrayImgs. If we want to project an ArrayImg using a summation, we'd match that new Op, and then not find a transform.project Op because the input type of our summation is too specific), so more thought is probably needed.

Designed to close #289 and hopefully also #292 after a little more work.

Now the project Op can project on a RAI input
Before the changes to the Op, this test failed, because the projection
operated on the interval [0, max-min] for an image defined on interval
[min, max]. With the changes to the Op, this Op works on [min, max]
@gselzer
gselzer force-pushed the scijava-ops-image/projection-improvements branch from 6ee3416 to e59977d Compare August 17, 2026 19:29
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

Successfully merging this pull request may close these issues.

Current projection APIs are hard to use

1 participant