Debian Codegraph @

cvd_src/noarch/convert_rgb_to_y.cc

raw symbols SCIP
1 #include <cvd/convert_image.h>
2 #include <cvd/utility.h>
3 namespace CVD
4 {
5
6 void ConvertImage<Rgb<byte>, byte, Pixel::CIE<Rgb<byte>, byte>, 1>::convert(const BasicImage<Rgb<byte>>& from, BasicImage<byte>& to)
7 {
8 for(int y = 0; y < from.size().y; y++)
9 for(int x = 0; x < from.size().x; x++)
10 Pixel::CIE<Rgb<byte>, byte>::convert(from[y][x], to[y][x]);
11 }
12 }