I found a c source for doing seamcarving
http://inamidst.com/code/seamless.c
The results are like this :
http://blog.eikke.com/index.php/ikke/2007/09/02/seam_carving_content_aware_image_resizin
I had to install zlib (from source)
then libpng12-0 (from source)
then libjpeg62
then libfreetype6
then libgd2-xpm
though the libjpeg didn't work so I ended up with
** Configuration summary for gd 2.0.33:
Support for PNG library: yes
Support for JPEG library: no
Support for Freetype 2.x library: yes
Support for Fontconfig library: no
Support for Xpm library: no
Support for pthreads: yes
packages.debian.org isn't working properly which is a pain
OK, i got it working but the results are a bit shite
look into it some other time
Record of some of the computer tech I deal with so that it's documented at least somewhere.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment