Le 04/10/2012 16:35, Pierre Haessig a écrit :
> So I think this code indeed resamples the rastered plot image on a
> shaken coordinate grid. I kind of understand that the noise on
> coordinates is spatially smoothed by a 10px Gaussian Point Spread
> Function (if I understand correctly...)
I've implemented this processing in a tiny "image_shake" script.
https://gist.github.com/3834536
A nice occasion to learn how to use some scipy image processing functions...

I've attached the before/after images because I didn't manage to put
them in the Gist (it's not a plot image but gives the idea of line shaking).

Now, I think it's unfortunately outside the frame of Fernando's
challenge, because this script uses zero matplotlib methods!!

Best,
Pierre


<<attachment: grid_image.png>>

<<attachment: grid_image-shaken.png>>

Attachment: signature.asc
Description: OpenPGP digital signature

------------------------------------------------------------------------------
Don't let slow site performance ruin your business. Deploy New Relic APM
Deploy New Relic app performance management and know exactly
what is happening inside your Ruby, Python, PHP, Java, and .NET app
Try New Relic at no cost today and get our sweet Data Nerd shirt too!
http://p.sf.net/sfu/newrelic-dev2dev
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to