Last change
on this file since 456 was
453,
checked in by sommeria, 13 years ago
|
series adapted to BATCH mode. Tests still needed.
|
File size:
396 bytes
|
Rev | Line | |
---|
[453] | 1 | %--read images or video objects |
---|
| 2 | function A=read_image(FileName,FileType,VideoObject,num) |
---|
| 3 | %------------------------------------------------------------------------ |
---|
| 4 | %num is the view number needed for an avi movie |
---|
| 5 | switch FileType |
---|
| 6 | case {'video','mmreader'} |
---|
| 7 | A=read(VideoObject,num); |
---|
| 8 | case 'multimage' |
---|
| 9 | A=imread(FileName,num); |
---|
| 10 | case 'image' |
---|
| 11 | A=imread(FileName); |
---|
| 12 | end |
---|
Note: See
TracBrowser
for help on using the repository browser.