Code covered by the BSD License  

Highlights from
Create a quadratic Matrix of DICOM images

Be the first to rate this file! 9 Downloads (last 30 days) File Size: 1.79 KB File ID: #40503

Create a quadratic Matrix of DICOM images

by

 

25 Feb 2013 (Updated )

Load all DICOM images, change the Matrix size and save them again, keeping the header (Metadata).

| Watch this File

File Information
Description

Create a quadratic Matrix of all DICOM images in the specified folder
The files are neither cropped, nor are the images stretched, only the
Matrixsize is changed (all pixels without image data are then filled up with
zeros)

Please keep in mind:

The change is only useful, when ALL images in the folder have the same unequal number of rows and columns (as the size is only determined of the first image!)

If one dimension is odd numbered, the padarray function does not work (I donĀ“t know if that could be the case, personally, I never had an uneven Matrix size). If this happens to someone, please message me.

MATLAB release MATLAB 7.10 (R2010a)
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Updates
26 Feb 2013

changed the Description

Contact us