OpenCL (realtime) implementation of seam carving image resizing algorithm
Python C
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
README
bg.png
facebook.png
main.py
seam.c

README

CLSeamCarving
=============

http://en.wikipedia.org/wiki/Seam_carving

This code contains the OpenCL (realtime) implementation of the seam carving algorithm. Seam carving allows sizing down an image without removing its keys components, by finding minimal vertical and horizontal cuts throughout the image, and carving them out.

What conforms minimality, can be defined using an energy function and a default is included. The algorithm is implemented using Python and C, in OpenCL, and works in real-time.

Seam carving algorithm is very slow, and carving each pixel requires a few seconds in normal code.