Developer Documentation
RAVL, Recognition And Vision Library
USER 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 
Source file:Ravl/Image/ImageIO/ImageConv.hh
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 09:59:57 2002