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
-
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
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 N.
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.
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 N.
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
VTK/Using JRuby - KitwarePublic
Metaprogramming with Ruby: Mapping Java Packages Onto Ruby Modules | Depth-First
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://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/