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

PlotService: add converter from Plot to ImagePlus and Img #208

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

maarzt
Copy link
Member

@maarzt maarzt commented Dec 19, 2018

ImageJ users (that use the new PlotService) will want to convert plots to Img and ImagePlus.
The converters to enable this should be part of imagej-legacy, as the conversion depends on ImagePlus.

This PR depends on scijava/scijava-ui-swing#43

@imagejan
Copy link
Member

I'd suggest we support direct Plot => Img (or BufferedImage => Img) conversion in imagej-common so that we don't need to depend on ij.jar.

@haesleinhuepf
Copy link
Member

I'd suggest you get this merged before another 4 years pass by.

@imagejan
Copy link
Member

Hi @haesleinhuepf, what's up?

Sorry if I've been a bit too pressing. It's not urgent for me 😉

By the way, did you see that scijava/scijava-ui-swing#43 was effectively merged in April, and that PlotService is actively used by SNT? See also this forum topic Awesome, isn't it 😄

My suggestion above was really just to make sure we can also convert to Img when we don't have imagej-legacy on the class path. (Alright, I should open a new issue in imagej-common.) But it doesn't hurt having the converter here as well, of course.

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.

3 participants