Skip to content

Viewing image arrays

Hal Clark edited this page May 2, 2023 · 2 revisions

In this tutorial, we'll open a 3D CT scan for viewing.

Getting DICOMautomaton

First, download a recent build of DICOMautomaton. See installation instructions.

Loading image files

Run the program without any command-line arguments. The SDL_Viewer interactive workspace will appear. Select File > Open menu option to open the file selector.

Open files

Normally DICOM image files (CT, MR, PET, ...) would be selected, but we'll use FITS-format files here. Each image is a 2D 'slice' through the 3D volume.

Select files

Reordering images

Files lacking appropriate metadata (such as FITS files) might be loaded in the wrong order, so we'll re-order them according to the position in 3D space.

Reorder images 1

Edit the script (note the trailing ',' on the ImageSelection line) and click the Run button. (Congratulations! You just ran your first DICOMautomaton script!)

Reorder images 2

Navigating images

To navigate through the 3D volume, click on the Image Navigation sliders. Scrolling the mouse wheel, using the middle-mouse button, and ctrl-clicking on the image will also help you navigate.

Image navigation

Hovering the mouse over the image will cause a tooltip to appear. It contains information about the specific voxel that the mouse is hovering over.

Mouse hover text

Adjusting the image

The window and level settings and colour map can be altered in the Adjust menu.

Adjustments

There are several preset window and level settings, or you can adjust them directly.

Window and level

There are also several colour maps to choose from.

Colour maps

Conclusion

This concludes the first tutorial!

Conclusion

Clone this wiki locally