image processing in ruby

M

Michal Suchanek

Hello

I was wondering if I could do image processing in Ruby or would have
to resort to something else for that.

Looking at available bindings I find

- ImageScience - thumbnailer only, useless
- RMagick - no useful functions
- Ruby-Processing - only drawing and very basic math
- ruby-dcl
- Camellia - a few basic functions
-
 
J

Jonathan Nielsen

I was wondering if I could do image processing in Ruby or would have
to resort to something else for that.

Looking at available bindings I find

=A0- ImageScience - thumbnailer only, useless
=A0- RMagick - no useful functions
=A0- Ruby-Processing - only drawing and very basic math
=A0- ruby-dcl
=A0- Camellia - a few basic functions

RMagick has no useful functions? I beg to differ. What kind of image
processing do you need? RMagick has always done the job for me.

-Jonathan Nielsen
 
J

Jonathan Nielsen

I was wondering if I could do image processing in Ruby or would have
RMagick has no useful functions? =A0I beg to differ. =A0What kind of imag= e
processing do you need? =A0RMagick has always done the job for me.

OK, after looking at Camellia, I think I see what you want... you want
to be able to 'detect' things in images? I guess I had my definitions
for image processing mixed up if that's the case... I've never had to
do that so I don't have any useful advice, sorry...

-Jonathan Nielsen
 
M

Michal Suchanek

Sorry, ignore the previous message.

Looking at available bindings I find

- ImageScience - thumbnailer only, useless
- RMagick - no useful functions
- DevIL - besides supporting some odd image formats just another ImageMagick
- Ruby-Processing - only drawing, 3D and very basic math (and IDE/GUI
which might be useful) (documentation mentions JRuby)
- ruby-dcl - documented mostly in Japanese, the English documentation
suggests only drawing, UI, and basic math although the docs claim use
in oceanography and atmosphere research
- VTK-Ruby - only drawing, 3D, UI, and some basic math
- HornetsEye - seems to have a few basic functions but does not come
with pre-built docs and I cannot build it
- Camellia - a few basic functions
- Ruby/OpenCV - a companion to Camelia (uses same data format) -
quite a few useful funcions
- edge detection (multiple methods)
- FFT
- other dissection methods that might be useful

- ITK - companion to VTK, is supposed to be geared towards image
processing but only Java bindings are available
- includes edge detection, FFT, MI
- perhaps could be imported into JRuby - found nice articles on that
http://www.itk.org/Wiki/VTK/Using_JRuby
http://depth-first.com/articles/200...-ruby-mapping-java-packages-onto-ruby-modules

Overall ITK seems about on par or perhaps more complete than OpenCV
which are the best tools I could find.

ITK seems best suited so far because it is fairly complete according
to the docs and ability to use JRuby means I could add stuff that runs
at decent speeds in the Sun JVM without resorting to something like C.

If somebody can suggest a better library I have overlooked I would like to know.

Thanks

Michal

http://seattlerb.rubyforge.org/ImageScience.html
http://rmagick.rubyforge.org/
http://openil.sourceforge.net/
http://github.com/jashkenas/ruby-processing
http://ruby.gfd-dennou.org/products/ruby-dcl/
http://www.gfd-dennou.org/arch/ruby/products/ruby-vtk/
http://camellia.sourceforge.net/index.html
http://rubyforge.org/projects/opencv/
http://www.itk.org/
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,774
Messages
2,569,599
Members
45,173
Latest member
GeraldReund
Top