[SciPy-user] ndimage.convolve and NaN...

fred fredmfp at gmail.com
Mon Jul 2 09:20:54 EDT 2007


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




More information about the SciPy-User mailing list