Ok I implemented this change but wrote it as

    if (depth == 1)
      output = read_images<boolNDArray>(imvec, frameidx, depth);
    else if (depth > 1 && depth <= 8)
      output = read_images<uint8NDArray>(imvec, frameidx, depth);       
    else if (depth > 8 && depth <= 16)
      output = read_images<uint16NDArray>(imvec, frameidx, depth);       
    else
      error("Image depths bigger than 16-bit not supported");

instead as that seemed simpler.

D.

-- 
David Bateman                                [EMAIL PROTECTED]
Motorola Labs - Paris                        +33 1 69 35 48 04 (Ph) 
Parc Les Algorithmes, Commune de St Aubin    +33 6 72 01 06 33 (Mob) 
91193 Gif-Sur-Yvette FRANCE                  +33 1 69 35 77 01 (Fax) 

The information contained in this communication has been classified as: 

[x] General Business Information 
[ ] Motorola Internal Use Only 
[ ] Motorola Confidential Proprietary


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Octave-dev mailing list
Octave-dev@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/octave-dev

Reply via email to