anirudh vij a écrit : > hi fred, > this is'nt a solution,but you might try replacing NaN by 0.That would > ensure that they have no effect on the surrounding pixels. Hmm, 0 are _real_ values. > Edges work fine because of padding. Yes, but can't we think replace NaN by padding ? -- http://scipy.org/FredericPetit