View License

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video

Highlights from
myslicer - make mouse-interactive slices of a 3-D volume

5.0 | 1 rating Rate this file 23 Downloads (last 30 days) File Size: 5.49 KB File ID: #25923 Version: 1.1
image thumbnail

myslicer - make mouse-interactive slices of a 3-D volume


Anders Brun (view profile)


23 Nov 2009 (Updated )

A minimal "slicer" for the exploration of 3-D volumes using mouse interaction

| Watch this File

File Information

The code includes a minimalistic software for interactive exploration of 3-D volumes. Its key feature is that the slices may be moved using the mouse pointer. Minimalistic means that it does not contain any junk and thus integrates nicely with your existing Matlab routines. The command myslicer.m may be used to display a volume, or you may call the command slice3i.m to generate a single (interactive) slice from a volume. Apart from volume data, slice direction and slice number, these commands also support the inclusion of a transformation matrix to position your volume in 3-D space. This matrix allows for anisotropic voxles, translation, rotation etcetera.

The code is short and may easily be modified for your own needs. The slice3i.m command gives back a handle to the slice, meaning that you may manipulate it with set/get commands like any Matlab graphics primitive. And you can easily delete it.

Run demo.m to discover the key features of the package.


Image3 inspired this file.

This file inspired Slicer.

MATLAB release MATLAB 7.7 (R2008b)
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (1)
03 Mar 2011 David Legland

David Legland (view profile)

simple but useful, I appreciate the possibility to manage non cubic voxels

24 Nov 2009 1.1

Added a better description.

Contact us