|
Re: masked arrays and nd_image: msg#00021python.numeric.general
Peter Verveer wrote: > I did not write nd_image with masked arrays in mind, I imagine it won't > work for most functions. I am not planning to support masked arrays Yes, I expected this. I knew I was pretending too much ;o) > . If you just want to mask out some of the results, apply the mask > afterwards. If you actually want to deal with masked values in the > convolution itself, you are out of luck with the convolve1d function, > it does not support that. In that case you could try to write your own, > using the generic filter functions (see the manual). Ok, this would imply writing a function with prototype FilterFunction1D, right? And the mask argument should be packed with the data or is there a way (which I don't see) to pass arguments to the filter other than the input image. Sorry if I'm annoying ;o) thanks, curzio ------------------------------------------------------- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: masked arrays and nd_image: 00021, Peter Verveer |
|---|---|
| Next by Date: | Re: masked arrays and nd_image: 00021, Todd Miller |
| Previous by Thread: | Re: masked arrays and nd_imagei: 00021, Peter Verveer |
| Next by Thread: | Re: masked arrays and nd_image: 00021, Peter Verveer |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |