Heh.  Thanks for answering this, Chris.  I missed it the first time 'round.

Elzbieta, you can find whether a particular pattern is present in an image by 
convolving the image with the pattern you're looking for.  The resulting 
convolved image will have a spike everywhere that the pattern is present.  One 
PDL function you can use to do that is convolveND().


On Jun 27, 2014, at 6:24 AM, Chris Marshall <[email protected]> wrote:

> Perl and PDL can be used for image processing.
> Probably the easiest way to familiarize yourself
> with PDL capabilities is to install PDL and then
> look at the PDL Book.  You can find this and other
> PDL information starting at the PDL home page:
> 
>  http://pdl.perl.org
> 
> --Chris
> 
> On Tue, Jun 24, 2014 at 3:03 AM, Elżbieta Jakubska
> <[email protected]> wrote:
>> I need to compare many images to pattern image (logo) and find out which of
>> them match the pattern (shape is more meaningful than colour). Logo has the
>> same size, the same rotation etc on every picture, but backgrounds are
>> different, including additional edges in interesting area. Till now I was
>> doing this with Image Magick (edge detection + compare), but it is slow and
>> not always works correctly.
>> Is there a way to do this using PDL? Could anybody help me?
>> 
>> Thank you very much!
>> 
>> Ela
>> 
>> _______________________________________________
>> Perldl mailing list
>> [email protected]
>> http://mailman.jach.hawaii.edu/mailman/listinfo/perldl
>> 
> 
> _______________________________________________
> Perldl mailing list
> [email protected]
> http://mailman.jach.hawaii.edu/mailman/listinfo/perldl
> 


_______________________________________________
Perldl mailing list
[email protected]
http://mailman.jach.hawaii.edu/mailman/listinfo/perldl

Reply via email to