comp.soft-sys.matlab
[Top] [All Lists]

Re: ? read MRI in MatLab

Subject: Re: ? read MRI in MatLab
From: "Cheng Cosine"
Date: Tue, 27 Dec 2005 19:28:18 GMT
Newsgroups: comp.soft-sys.matlab
Actually I already use basic commands to restrive the data, but using 
existing MatLab command

avoid email me scripts to cooperator and writing "help" for them.

I found the following for MRI but it did not work.

 DICOMREAD  Read a DICOM image.
    X = DICOMREAD(FILENAME) reads the image data from the compliant DICOM
    file FILENAME.  For single-frame grayscale images, X is an M-by-N
    array.  For single-frame true-color images, X is an M-by-N-by-3 array.
    Multiframe images are always 4-D arrays.

>> X = dicomread('img.001');
??? Error using ==> 
c:/win32app/matlab6p5/toolbox/images/images/private/dicom_set_mmeta_encoding
Could not determine file encoding.

Error in ==> 
C:\Win32App\MATLAB6p5\toolbox\images\images\private\dicom_get_tags.m
On line 30  ==> file = dicom_set_mmeta_encoding(file, info);

Error in ==> C:\Win32App\MATLAB6p5\toolbox\images\images\dicomread.m
On line 218  ==>         [tags, pos, info{p}, file] = dicom_get_tags(file, 
info{p});

   According to MatLab DICOMREAD help, I did use it correctly but it did not 
work.

by Cheng Cosine
    Dec/27/2k5 NC



<Prev in Thread] Current Thread [Next in Thread>