Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

histogram1d #20

Closed
MichaelZinsmaier opened this issue Jun 20, 2013 · 8 comments
Closed

histogram1d #20

MichaelZinsmaier opened this issue Jun 20, 2013 · 8 comments

Comments

@MichaelZinsmaier
Copy link
Contributor

Hi all,

With the introduction of histogram1d our own (much simpler) histogram implementation becomes obsolete. Therefore
we want to migrate the ops that rely on it to histogram1d and remove OpsHistogram.

However as histogram1d is currently in the project imglib-algorithms and Ops has no dependency towards algorithms this is
not possible.

I would therefore suggest to move the histogram package either to ops or to core. Core might be the better solution?

Looking forward for your thoughts

Michael

@ctrueden
Copy link
Member

Another option would be add a dependency on imglib2-algorithms to imglib2-ops. This might be preferred since there was significant discussion about whether histograms belong in core during the last hackathon, and IIRC the primary ImgLib2 authors wanted the histograms outside core. (Personally I do not care much either way, although I think histograms are rather "core" as far as usefulness goes.) @bdezonia is currently on vacation but will comment when he returns. Anyone else have a preference?

@tpietzsch
Copy link
Member

Hi all,

I also remembered the discussion regarding where to place histograms. I think we agreed to put them outside core for now because it wasn't necessary at the time. I think no one had really strong opinions either way.
So now that the need comes up, I think we should move it to core (or to ops, I don't mind).
I think that op's should not depend on algorithms. I fear that would at some point in the future cause ops to pull in a lot of transitive dependencies that are not really needed.
So I prefer putting histogram in core.

Of course, ops and algorithms are quite related and we might also think about a complete restructuring at some point. I could imagine imglib2-ops only containing interfaces and stuff needed for chaining ops etc and
all the op implementation going into imglib2-algorithms.

best regards,
Tobias

On Jun 20, 2013, at 6:16 PM, Curtis Rueden notifications@github.com wrote:

Another option would be add a dependency on imglib2-algorithms to imglib2-ops. This might be preferred since there was significant discussion about whether histograms belong in core during the last hackathon, and IIRC the primary ImgLib2 authors wanted the histograms outside core. (Personally I do not care much either way, although I think histograms are rather "core" as far as usefulness goes.) @bdezonia is currently on vacation but will comment when he returns. Anyone else have a preference?


Reply to this email directly or view it on GitHub.

@ctrueden
Copy link
Member

OK, if @tpietzsch is OK with histograms going into core, I vote we move them there. 👍

@MichaelZinsmaier, if you want to move the code, go ahead and file a PR for it. Otherwise, @bdezonia can do it next week after he returns from vacation.

@MichaelZinsmaier
Copy link
Contributor Author

I wait for @bdezonia s return from vacation, than he can decide where in the core it fits best (maybe util)

@ctrueden
Copy link
Member

Personally I like net.imglib2.histogram.

@tpietzsch
Copy link
Member

Sounds good.

On Jun 24, 2013, at 10:55 AM, Curtis Rueden notifications@github.com wrote:

Personally I like net.imglib2.histogram.


Reply to this email directly or view it on GitHub.

@bdezonia
Copy link
Contributor

All, I have moved the histogram classes into net.imglib2.histogram in core.

@ctrueden
Copy link
Member

Thanks @bdezonia!

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

No branches or pull requests

4 participants