00001 /** 00002 * @file LowResImage.h 00003 * 00004 * Declaration of class LowResImage 00005 * 00006 * @author Max Risler 00007 */ 00008 00009 #ifndef __LowResImage_h_ 00010 #define __LowResImage_h_ 00011 00012 #include "Image.h" 00013 00014 class LowResImage; 00015 00016 /** 00017 * Streaming operator that writes a low resolution image to a stream. 00018 * @param stream The stream to write on. 00019 * @param lrImage The LowResImage object. 00020 * @return The stream. 00021 */ 00022 Out& operator<<(Out& stream,const LowResImage& lrImage); 00023 00024 /** 00025 * Streaming operator that reads a low resolution image from a stream. 00026 * @param stream The stream to read from. 00027 * @param lrImage The LowResImage object. 00028 * @return The stream. 00029 */ 00030 In& operator>>(In& stream,LowResImage& lrImage); 00031 00032 /** 00033 * Definition of a class for streaming images in low resolution i.e. without the three additional y channels. 00034 */ 00035 class LowResImage 00036 { 00037 private: 00038 /** 00039 * A reference to the image 00040 */ 00041 Image ℑ 00042 00043 public: 00044 /** 00045 * Constructor. 00046 */ 00047 LowResImage(Image& src) : image(src) {} 00048 00049 friend Out& operator<<(Out& stream,const LowResImage& lrImage); 00050 friend In& operator>>(In& stream,LowResImage& lrImage); 00051 }; 00052 00053 #endif //__LowResImage_h_ 00054 00055 /* 00056 * Change log : 00057 * 00058 * $Log: LowResImage.h,v $ 00059 * Revision 1.3 2004/09/09 11:37:39 wachter 00060 * - Fixed some more doxygen-errors 00061 * 00062 * Revision 1.2 2004/09/08 14:39:03 wachter 00063 * - Fixed some doxygen-errors 00064 * 00065 * Revision 1.1.1.1 2004/05/22 17:25:59 cvsadm 00066 * created new repository GT2004_WM 00067 * 00068 * Revision 1.1 2004/04/07 13:00:44 risler 00069 * ddd checkin after go04 - second part 00070 * 00071 * Revision 1.1 2004/04/07 11:45:14 risler 00072 * added sending low res images 00073 * added Image::setCameraInfo 00074 * 00075 * 00076 */