Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011 #ifndef RGB8ToY8UV8Operator_H
00012 #define RGB8ToY8UV8Operator_H
00013
00014 #include "ImageToImagePairOperator.h"
00015 #include "ColorImageUV8.h"
00016 #include "../../Workers/Puma2/GrayLevelImage8.h"
00017 #include "../../Workers/Puma2/ColorImageRGB8.h"
00018 #include "../ImageSources/Mutex.h"
00019
00020 namespace puma2 {
00021
00026 class RGB8ToY8UV8Operator :
00027 public ImageToImagePairOperator<ColorImageRGB8,GrayLevelImage8,ColorImageUV8>
00028 {
00029 public:
00030
00034 RGB8ToY8UV8Operator() {};
00035
00039 RGB8ToY8UV8Operator( const ColorImageRGB8& constRgbImage, GrayLevelImage8& imageY, ColorImageUV8& imageUV )
00040 {
00041 checkArgument( constRgbImage, imageY, imageUV );
00042 apply( constRgbImage, imageY, imageUV );
00043 }
00044
00048 virtual ~RGB8ToY8UV8Operator() {};
00049
00051 virtual void apply( const ColorImageRGB8& constRgbImage, GrayLevelImage8& imageY, ColorImageUV8& imageUV );
00052
00053 private:
00054
00055 };
00056
00057 }
00058
00059 #endif