Enhance the interface of carve_seam.
commitc43643c84c96964f3f94d879ef53fdf51cdb8fc7
authorBenoit Sigoure <tsuna@lrde.epita.fr>
Mon, 10 Dec 2007 14:47:37 +0000 (10 15:47 +0100)
committerBenoit Sigoure <tsuna@lrde.epita.fr>
Mon, 10 Dec 2007 14:47:37 +0000 (10 15:47 +0100)
treeeea0d6dd0713bfb835e9812fda1057f872f5fc4f
parent331fb1bedb3293b862ae5e131c1fb2e30dd83162
Enhance the interface of carve_seam.

* configure.ac: Use BOOST_CONVERSION.
* src/all.hh: Add some declarations.
* src/seam.cc (accumulate_nrg): Fix a bug by properly using
duplicate borders.
(carve_vertical_seam): Rename as `find_vertical_seam'.
(carve_vertical_seam, uncarve_vertical_seam): New.
* src/seam_main.cc (main):  Change the interface.  Take 5 arguments
and render the carved image and the image with the selected seams.

Signed-off-by: Benoit Sigoure <tsuna@lrde.epita.fr>
configure.ac
src/all.hh
src/seam.cc
src/seam_main.cc