imagej / imagej/imagej-ops

Wrapped FunctionOp using Converters

Open
#231 7 comments 0 reactions 1 assignee Claimed by @ctrueden View on GitHub
2016-07-hackathon matching
Dominant language
Java
Stars
94
Forks
44
PR merge metrics
No merged PRs in 30d

Description

Hi @ctrueden,

there is some problem with `FunctionOp`s which are discovered using the `OpService`. Assume that I try to resolve a `FunctionOp` based on an input of type `A` and some output of type `O`. The `OpService` finds an `FunctionOp` `B to O` as there exists a converter from `A` to `B`. However, the resulting `FunctionOp` will only accept `A`s in the `compute(A in)`. Shouldn't the `OpService` wrap the orginal `FunctionOp`, such that the wrapped `FunctionOp` uses a converter inside the `compute(B...)`.

Does this make sense?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.