Skip to content

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