User Documentation
RAVL, Recognition And Vision Library
DEVELOP HOME PAGE CLASS LIST CONTENTS
Ravl - Images - Converters - ImageC<ByteT> DoubleImageCT2ByteImageCT(const ImageC<RealT> & dat)
 

   ImageC<ByteT> DoubleImageCT2ByteImageCT(const ImageC<RealT> & dat)    
 
Double -> Byte (clipped to fit)
 
include "Ravl/Image/ImageConv.hh"
Created:16/03/1999 
User Level:Normal
Library:RavlImageIO
In Scope:RavlImageN

This will clip, then round the double value (NOT floor!) to fit in a byte value 0 to 255.
Maintainer:Charles Galambos, Created: 16/03/1999, Documentation by CxxDoc: Tue Aug 13 10:00:21 2002