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

Speed up display of SCIFIOCellImg (depends on PR in imglib2-ij) #202

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

Conversation

maarzt
Copy link
Member

@maarzt maarzt commented Sep 27, 2018

This PR depends on a PR in imglib2-ij: imglib/imglib2-ij#22

A cell image with planar cells has the same memory organization as an ImagePlus.
SCIFIOCellImage (which often or allways??) uses planar cells can therefor converted to ImagePlus without the copying of any pixel buffer. This PR removes such superfluous copy operation, and should result in a faster display of SCIFIOCellImg and faster operations with legacy code.

…gePlus

This speeds up  the conversion of CellImg to ImagePlus.
It only has an effect if the cells are planar. This is often the case
when SCIFIOCellImage is used.
@ctrueden
Copy link
Member

ctrueden commented Sep 28, 2018

Thanks, @maarzt. Please ping me again when imglib/imglib2-ij#22 has merged and this PR is finalized, and I'll look at it.

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.

2 participants