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

fred fredmfp@gmail....
Mon Jul 2 06:36:20 CDT 2007


Hi,

I want to apply a convolution on a 2D array data, which has a few NaN.

Works quite fine, but "holes" (ie NaN) are widened by the convolution.

By the way, as edges are processed correctly, I wonder if it could 
possible to process the holes
like the edges, ie without widening them.

Any clue are welcome.

TIA.


Cheers,

-- 
http://scipy.org/FredericPetit



More information about the SciPy-user mailing list