imglib / imglib2-ij

Translation between ImgLib & ImageJ data structures (both 1.x and 2)
Other
4 stars 8 forks source link

ImagePlusAdapter.setCalibrationFromImagePlus1 copies scales wrong #7

Closed rimadoma closed 7 years ago

rimadoma commented 8 years ago

The scale of the axis in the calibration of an image gets copied incorrectly, because the variables are cast as float variables. This causes rounding errors. With my test image, calibration scales differed after the 4th decimal place.