Hello *
I've a performance problem using a simple scan line flood fill image with
perl.
With 800x600 colour pictures coming from SEM microanalisys I would like to
engage porosity into the image so I started with a simple x,y loop.
The problem here is that requires too much seconds to scan and produce the
new colored image.
At the moment I use imlib2 to read and write pixel color.

I'm new to PDL and I cannot believe that it's true...it's so powerful!!

I don't how can I use PDL to speed up my scan.
Do you know how to flood fill images or count porosity, engage color range
and so on?

I can use boolean intersection between 2 sets, the firs my picture the
second a color mask but this close to 1 color, I've a range to parse because
I have to take into account the error (like the fuzzy option in magickperl
floodfill), that will be: my picked pixel color +/- error range so I don't
understand how to use matrix solution.

May you help me please?

Thank you in advance,

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

Reply via email to