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

Add FromImagePlusConversionTest #258

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

Add FromImagePlusConversionTest #258

wants to merge 2 commits into from

Conversation

imagejan
Copy link
Member

@imagejan imagejan commented Oct 23, 2020

This pull request adds tests converting from ImagePlus to:

  • ImageDisplay
  • Dataset
  • ImgPlus (not yet functional, therefore disabled) converter added
  • Img

In addition, we test that the current plane position of an ImagePlus and its converted ImageDisplay equivalent stay in sync. This currently works ImageDisplay -> ImagePlus but not ImagePlus -> ImageDisplay.

(Note: Some of the tests are redundant because ImagePlusConversionTest has them already. The new tests added here are work in progress to improve the test coverage and move towards fixing the issues summarized in #231.)

This adds tests converting from ImagePlus to:
- ImageDisplay
- Dataset
- ImgPlus (not yet functional, therefore disabled)
- Img

In addition, we test that the current plane position of an ImagePlus
and its converted ImageDisplay equivalent stay in sync. This currently
works ImageDisplay -> ImagePlus but not ImagePlus -> ImageDisplay.
This commit adds a delegate converter from ImagePlus to ImgPlus via Dataset,
and enables the corresponding test that was added in the previous commit.
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.

1 participant