4.5

4.5 | 2 ratings Rate this file 22 Downloads (last 30 days) File Size: 2.61 KB File ID: #32173
image thumbnail

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

by Tripp

 

11 Jul 2011 (Updated 12 Sep 2011)

A minimalist 3D Medical Image browser. Use the mousewheel to scroll between slices in all 3 planes.

| Watch this File

File Information
Description

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])

MATLAB release MATLAB 7.12 (2011a)
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Comments and Ratings (2)
12 Jul 2011 Said BOUREZG

Hi,
Good work thank you.

01 Aug 2011 Adam A

Works well, thanks.

Please login to add a comment or rating.
Updates
12 Jul 2011

Added small slice position indicator lines. Slight efficiency update.

12 Sep 2011

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

Tag Activity for this File
Tag Applied By Date/Time
medical imaging Tripp 11 Jul 2011 14:44:56
3d browser Tripp 11 Jul 2011 14:44:56
mousewheel Tripp 11 Jul 2011 14:44:56
ct Tripp 11 Jul 2011 14:44:56
mri Tripp 11 Jul 2011 14:44:56
dicom Tripp 11 Jul 2011 14:44:56
image processing Tripp 11 Jul 2011 14:44:56
data exploration Tripp 11 Jul 2011 14:44:56
medical Tripp 11 Jul 2011 14:44:56

Contact us at files@mathworks.com