ct3 - A Simple Mousewheel-based 3D Image Browser for Medical Images

Version 1.2.0.0 (2.61 KB) by Tripp
A minimalist 3D Medical Image browser. Use the mousewheel to scroll between slices in all 3 planes.
1.3K Downloads
Updated 12 Sep 2011

View License

File exchange contains a wealth of full-functioned, gui-based 3D medical image viewers. ct3 is a simple alternative that plots a 3D array containing CT or MRI greyscale values into 3 separate windows, and allows the use of the mousewheel to page from slice to slice. It allows the user to quickly identify features of interest and determine their location within the image.

function ct3(im,w)

Allows simple browsing of a CT scan using the mousewheel. Assumes a grid
spacing ratio of 3:1 axial thickness:radial thickness for display purposes

Usage: ct3(im) will open Figures 1,2, and 3 and use imshow() to display the
CT dataset contained in "im" in all 3 orthogonal planes (sagittal,
coronal, axial). Scrolling the mousewheel will move to the
next/previous slice in the active figure window. Clicking the mouse
will print the current slice number of all figure windows in
the console.

input:
-im: 3D array of grayscale values. This function assumes that the
1st and 2nd dimensions of the array contain the radial (or
sagittal/coronal) data, and the 3rd dimension of "im" contains
axial data. This function also assumes a voxel size ratio of
1:1:3.

-w : (optional) window to use for display. Default=[-140 160]
1x2 numerical array that contains the range of values of interest
to be displayed using ct3
note - use Matlab built-in function "imcontrast" (Image Proc Toolbox)
or plot the image data using hist() to easily determine the proper
window for your dataset

output:
none

ex:
ct3(im)
ct3(im, [-140 160])

Cite As

Tripp (2024). ct3 - A Simple Mousewheel-based 3D Image Browser for Medical Images (https://www.mathworks.com/matlabcentral/fileexchange/32173-ct3-a-simple-mousewheel-based-3d-image-browser-for-medical-images), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2011a
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.2.0.0

Force the image to occupy the full figure window, which improves ease-of-use for small datasets.

1.1.0.0

Added small slice position indicator lines. Slight efficiency update.

1.0.0.0