// test_img.cc // robert - Programme du robot APBteam // Copyright (C) 2005 Olivier Gaillard #include "oconfig.hh" #include "video4linux/video4linux.hh" #include "image/image.hh" #include #include "imgInterface.hh" int main(int argc, char **argv) { ImgInterface img; OConfig config; // Chargement de l'image img.loadRaw (argv[1], Image::rgb, oconfig.width, oconfig.height); // Inversion de l'image img.mirror (); img.writeRaw ("../runtime/shots/toto.rgb"); }