Thanks for your reply @bogovicj, to explain my situation better I took these screenshots:
My problem is mainly that I can't get calibration info and metadata to display the same way than in ImageJ1 (see picture). An
object has a
, which can be used to set the physical voxel sizes and calibration function. The former is displayed in the image info, and on the info bar in the image window (36.86 mm x 36.86 mm). The calibration function affects the pixel values shown to the user in the ImageJ window. These values also affect any statistics computed from the image. An
also has a
which can be used to display Scanco format meta data in the image info window.
I don't know how to achieve this in ImageJ2 / Scifio. I can use the
ImageMetadata.setAxes to set the space calibration, but I don't know how where the calibration function comes from, or how to get the Scanco metadata to show. I've tried to set the axes to have the "1/cm" calibration function, but then the image size info becomes weird. Maybe the solution for now would be to scale the pixel values with a converter function, and forget about calibration info.