Home > . > imageread.m

imageread

PURPOSE ^

[status,dat,ftype,fpath,fname] = imageread(fname, nlin, npix) reads image files;

SYNOPSIS ^

function [status, dat1, ftype, fpath, fname] = imageread(filename, nlin, npix)

DESCRIPTION ^

[status,dat,ftype,fpath,fname] = imageread(fname, nlin, npix) reads image files;
 tif, jpeg, DICOM, rvg and raw (byte data without header) data with file browser
 if needed. The file extension is used to idntify file format.
 filename = optional file name
 status   = 0 OK
          = 1 not OK
 dat      = image data array
 ftype    = file extension (if file chosen ins a DIC0M file, ftype is
            returned as the DICOM header stucture). 

 Needs: imread, dicomread (image proc. toolbox)
        readraw1, readrawgui
        Matlab 7.1 or higher for RVG files
 Examples
>> [status, dat] = imageread;
>> [status, dat, ftype] = imageread('test.tif');

Peter Burns , 30 August 2007
 Copyright (c) Peter D. Burns 2007-2008

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:
Generated on Mon 27-Jul-2009 13:44:16 by m2html © 2003