Changeset 604 for trunk/src/read_image.m


Ignore:
Timestamp:
Apr 4, 2013, 10:54:25 PM (8 years ago)
Author:
sommeria
Message:

bugs corrected in series, ima_levels cleaned as exemple

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/read_image.m

    r497 r604  
    55% OUTPUT:
    66% A(npy,npx,rgb): matrix of integers (iunt8 or uint16) representing the image, with sizes npy, npx, and possibly color component rgb=1:3
    7 % ObjectOut: video object (=[] for images)
     7% ObjectOut: video object (=[] for single images)
    88%
    99% INPUT:
    1010% FileName: input file name
     11%                 other inputs needed  only for video and multi-image file:
    1112% FileType: input file type, as determined by the function get_file_type.m
    1213% VideoObject: video object (for faster reading if availlable)
     
    1516function [A,ObjectOut]=read_image(FileName,FileType,VideoObject,num)
    1617%-----------------------------------------------------------------------
     18if ~exist(FileType,'var')
     19    FileType='image';
     20end
    1721if ~exist('VideoObject','var')
    1822    VideoObject=[];
Note: See TracChangeset for help on using the changeset viewer.