Edge Detection in pure Ruby

Hi everyone,

after I had to implement an edge detection algorithm in Java, I wanted to know
how well ruby can handle image manipulation. So I started to write a little gem,
that does exactly that. It is written in pure ruby, without any c extensions and
uses the chunky_png gem to read images. It works quite well, but is far away
from being production ready or fast enough to be used in any real world
application, it's just a proof of concept. The gem provides two basic ways to
edge detect an image, a very naive approach just diffing the individual pixels,
as well as the sobel operator <https://en.wikipedia.org/wiki/Sobel_operator> .
It's not very optimized, but still capable of running in under a half a minute
with small images (400-700px^2).

Greetings,
Tim