Whenever an new image is loaded into Jim, the image loader attempts to determine the physical size of the pixels (in mm). In UNC format images, these come from the "Info Fields":
pixel_x_size for the width of a pixel.
pixel_y_size for the height of a pixel.
pixel_z_size or slice_thickness for the depth of a pixel.
In Analyze and NIFTI-1 format images, the pixel dimensions are set in the
image header. These dimensions are used by Jim to display dimensions,
and to calculate areas and volumes.
Note: if Jim cannot
find the pixel dimensions when it loads an image, then it
displays a warning message, and sets the size of a pixel to
1.0 mm.
The coordinate system when image dimensions are shown in millimetres is:
As you move the mouse over the image, the dimension display
towards the bottom of the display window will show the position
of the cursor, and the image intensity under the cursor.
The things shown in the dimension display are:
Note: when the displayed image is a complex image, the
intensity displayed depends on the complex display mode.
If a movie is running, then the image intensity is continuously
updated as the movie steps through the frames.
Note: it is assumed that pixel sizes are specified in millimetres in
the image files.
Switching Between Pixels and mm
The dimensions of displayed image objects can be displayed either in
pixels or in millimetres (mm).
Click either button to toggle between display in pixels or mm.
in the top left of
some windows.
in the top left of
some windows.
Coordinate System
The coordinate system when image dimensions are shown in pixels is:
Dimension Display
Note: when the displayed image is an R,G,B image, the
intensity displayed is the luminance value of the pixel, where
luminance is defined as:
0.299 Red + 0.587 Green + 0.114 BlueRed, Green and
Blue are the red green and blue gun values.
Storage of Dimensions
Whenever image dimensions are saved to disk (for example, as part of
the definition of a Region of Interest, the coordinates of the
outline are stored), they are stored in mm rather than
pixels. This ensures that if these dimensions are loaded into
other images (for example, when a Region of Interest is loaded
into another image), the dimensions are independent of the pixel
size and field of view in the two images.