# Processing pictures

**URL:** <https://www.ruby-forum.com/t/processing-pictures/147967>\
**Category:** Rails\
**Created:** [September 7, 2008, 8:12pm UTC](https://www.ruby-forum.com/t/processing-pictures/147967 "2008-09-07T20:12:32Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![jsn1](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/7ea924/32.png) [@jsn1](https://www.ruby-forum.com/u/jsn1)\
**Post date:** [September 7, 2008, 8:12pm UTC](https://www.ruby-forum.com/t/processing-pictures/147967/1 "2008-09-07T20:12:32Z")

</div>

hi all,

Is there any application that allows to compare images and find some  
patterns that to classify the new picture in a specific group.

“We have a microscope that imports a picture into the computer and we  
need software to recognize, analyze and identify the correct treatment  
comparing the new picture with reference samples.”

Any suggestions?

Thanks  
Pepe

---

<div class="post-metadata">

**Author:** ![jsn1](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/7ea924/32.png) [@jsn1](https://www.ruby-forum.com/u/jsn1)\
**Post date:** [September 7, 2008, 8:21pm UTC](https://www.ruby-forum.com/t/processing-pictures/147967/2 "2008-09-07T20:21:52Z")

</div>

Pepe S. wrote:

> Is there any application that allows to compare images and find some  
> patterns that to classify the new picture in a specific group.
> 
> “We have a microscope that imports a picture into the computer and we  
> need software to recognize, analyze and identify the correct treatment  
> comparing the new picture with reference samples.”

Google for “chain code analysis”. However, this is not a Rails question,  
and any  
library you find will probably have some hook you can call, such as from  
system("").

Ruby itself is too slow of a language to do high-end number crunching.

Further, microscope views are fuzzy and low-contrast, so raw chain codes  
might  
not work!

Ask on news:comp.graphics.algorithms

–  
Phlip
