[BioC] EBImage: filtering in the presence of NAs
arnaud.duranel.09 at ucl.ac.uk
Fri Mar 8 15:43:33 CET 2013
None of the EBImage filtering functions seems to work when there are NAs
in the image:
lenac = readImage(system.file("images", "lena-color.png",
flo = makeBrush(21, shape='disc', step=FALSE)^2
flo = flo/sum(flo)
lenaflo = filter2(lenag, flo)
Is there a way to process an image that includes NAs, with some kind of
I am working with pictures of irregularly-shaped objects, and the pixels
between the picture margins and the object were set to NA using a mask.
I want to apply filters to the object itself, not to the whole image. Is
there another way to do this?
Many thanks for your help.
A. Duranel, UCL Department of Geography
More information about the Bioconductor