Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011 #include "ColorImageUV8.h"
00012
00013 #include <string>
00014
00015
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
00041
00042
00043
00044
00045
00046
00047 void ColorImageUV8::reset()
00048 {
00049 }