Play with cliqu's energies and 'recuit-simule' paramaters.
[seam-carving.git] / src / nrg_main.cc
blob6f10690013c870438c13ddc214a5834e86035e13
1 #include <iostream>
3 #include "all.hh"
5 using namespace mln;
6 using namespace mln::value;
8 int main (int argc, char** argv)
10 if (argc != 3)
12 std::cerr << "usage: " << *argv << " in.ppm out.pgm\n";
13 return 1;
16 image2d<rgb8> img = load (argv[1]);
17 image2d<float> nrg = get_nrg (img);
18 save (nrg, argv[2]);