ColorImageUV8.cpp
Go to the documentation of this file.
00001 /*******************************************************************************
00002  *  ColorImageUV8.cpp
00003  *
00004  *  (C) 2006 AG Aktives Sehen <agas@uni-koblenz.de>
00005  *           Universitaet Koblenz-Landau
00006  *
00007  *  Additional information:
00008  *  $Id: ColorImageUV8.cpp 44313 2011-04-06 22:46:28Z agas $
00009  *******************************************************************************/
00010 
00011 #include "ColorImageUV8.h"
00012 
00013 #include <string>
00014 // #include "ImageReader.h" // TODO
00015 // #include "ImageWriter.h" // TODO
00016 #include "MultiElementImage.h"
00017 
00018 using namespace std;
00019 using namespace puma2;
00020 
00021 ColorImageUV8::ColorImageUV8(int x, int y)
00022         : MultiElementImage<byte,2>(x,y)
00023 {
00024   setupImageBaseVariables();
00025 }
00026 
00027 ColorImageUV8::ColorImageUV8(int x, int y, ColorImageUV8 * m, int xo, int yo)
00028         : MultiElementImage<byte,2>(x,y,m,xo,yo)
00029 {
00030   setupImageBaseVariables();
00031 }
00032 
00033 void ColorImageUV8::assign(int x, int y, int u, int v)
00034 {
00035   c0[y][x][0] = u;
00036   c0[y][x][1] = v;
00037 }
00038 
00039 /*
00040 void ColorImageUV8::operator= (const ColorImageUV8 & o)
00041 {
00042   ColorImage::operator=(o);
00043   MultiElementImage<byte,2>::operator=(o);
00044 }
00045 */
00046 
00047 void ColorImageUV8::reset()
00048 {
00049 }


obj_rec_gui
Author(s): AGAS/agas@uni-koblenz.de
autogenerated on Mon Oct 6 2014 02:53:43