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

fred fredmfp@gmail....
Mon Jul 2 08:20:54 CDT 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