imagej / imagej-legacy

ImageJ+ImageJ2 compatibility layer
https://imagej.net/libs/imagej-legacy
BSD 2-Clause "Simplified" License
16 stars 25 forks source link

Add FromImagePlusConversionTest #258

Open imagejan opened 3 years ago

imagejan commented 3 years ago

This pull request adds tests converting from ImagePlus to:

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 https://github.com/imagej/imagej-legacy/issues/231.)