Code covered by the BSD License  

Highlights from
Medical Image Processing Toolbox

4.3 | 3 ratings Rate this file 164 Downloads (last 30 days) File Size: 241 KB File ID: #41594
image thumbnail

Medical Image Processing Toolbox


Alberto Gomez (view profile)


Classes and functions for N-dimensional medical image processing, inspired by ITK

| Watch this File

File Information

This package contains a collection of classes and functions, which allow to comfortably work with medical images and meshes. It provides a intuitive and transparent way of dealing with spacing, origin, image orientation, etc. The package includes functions for input-output with common image formats (mhd, gipl) and mesh formats (vtk, stl), and basic (although not necessarily simple) image processing operations such as image resample, image reslice and image transform.

Please do not hesitate to propose new features, examples or any constructive comments!


Read Medical Data 3 D inspired this file.

This file inspired Simple Viewer 3 D.

Required Products Image Processing Toolbox
MATLAB release MATLAB 8.0 (R2012b)
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (10)
27 Jan 2015 Alberto Gomez

you can display the image by doing imshow(


Comment only
22 Jan 2015 Shruti naik

hi alberto, thanks! :) do we directly need to run read_mhd and how exactly display the .mha files using imshow()? do revert :) waiting!! regards

10 Dec 2014 RÜZGAR YANIK

first of all thanks sharing code

i want to ask a question

i have dwi brain image .gipl format.i want to tick on .gipl image with roi and then want to make logic one in roi area and logic zero outside of roi area

if someone knows how it is done, kindly help me

waiting feedback


06 Oct 2014 Alberto Gomez

Alberto Gomez (view profile)

Hi Noha,
You do not need to change paths for this package in particular. You will need to add the files to your matlab path (as you would do for any other package) or put the file in your working directory. Usually it is enough to right click in the folder where the files are from the matlab file browser and click on "add to path"-> "selected folders and subfolders".

Comment only
04 Oct 2014 Noha Asas

How could I deploy that package, so as to use the functions immediately without the need to change paths??

Comment only
11 Apr 2014 Alberto Gomez

Unfortunately it currently reads/writes ASCII vtk mesh files only. Mhd binary files are supported though.

Comment only
10 Apr 2014 Arso

Arso (view profile)

Can it read binary VTK?

Comment only
20 Nov 2013 Alberto Gomez

Yes Akshay, among several other functionalities that is exactly what it does

Comment only
20 Nov 2013 Akshay Gore

Is this function used to read raw/mhd file?

Comment only
03 Jul 2013 Bo Sun

Bo Sun (view profile)

Could this toolbox read and write '.mha' files? Since i only found the function used to read and write '.mhd' files.Thanks

Contact us