public
Description: playful experimentation with image processing and ruby
Homepage:
Clone URL: git://github.com/bantic/image_labs.git
name age message
file .gitignore Tue Mar 10 19:18:30 -0700 2009 Fixed specs [bantic]
file README.md Tue Mar 24 19:47:57 -0700 2009 Updated readme [bantic]
directory benchmark/ Sat Mar 28 01:01:13 -0700 2009 Updated benchmarks [bantic]
directory bin/ Wed Mar 11 19:32:24 -0700 2009 Added welcome message to rmagick shell [bantic]
directory fixtures/ Wed Mar 25 11:14:18 -0700 2009 added missing fixture image [bantic]
directory images/ Tue May 05 17:57:24 -0700 2009 added a bunch of barcelona images [bantic]
directory lib/ Fri May 08 08:39:21 -0700 2009 removed unnecessary puts line [bantic]
directory scripts/ Fri May 08 07:43:01 -0700 2009 Added quick-and-dirty script to pull images fro... [bantic]
directory spec/ Sun Mar 22 14:43:58 -0700 2009 Fixed Prewitt x-mask kernel and changed edge de... [bantic]
README.md

= Image Labs

A collection of image processing experiments done in Ruby.

== /bin/rmagicksh ==

This is a script to launch irb w/ all the image_labs libraries as well as some convenience functions included.

== SeamCarver

Includes code to do edge detection (with the Prewitt kernel), energy mapping, and seam carving. Located in /lib/seamcarver

== Blender

Includes code to do image blending a la photoshop's blending layers. Located in /lib/blender

== Mosaicer/PhotoMosaicer

Includes code to generate large photomosaics and tiled mosaics (using the RMagick #mosaic function) of thumbnails.

== Evolution

Includes code that implements a darwinian-style genetic algorithm to "evolve" images out of a random collection of polygons. This code currently is too slow and often gets stuck in local minima.

== Facer

Interface to the ruby-opencv gem (see http://github.com/bantic/ruby-opencv for more info and installation instructions) to do face detection. Has opencv gem as a dependency. If you're using /bin/rmagicksh, type '$ load_facer' to load this gem and the Facer class.

== Spec

There is moderate test coverage in /spec. Run the tests with $ spec spec/*

== Fixtures and Images

/fixtures includes image data used by the tests, and /images includes sample images to play with the code.