Hi. My bioconductor.org package, EBImage, should do that -- it allows you to
specify the structuring element, which can be a circle of any given radius
if you want. The package includes erosion, dilation, opening and closing. It
is also a general package for image analysis and processing built around
ImageMagick library with many functions added. The only minus, still no
Windows support -- Linux, Unix or Mac.

Best, Oleg Sklyar

On 20/11/06, Milton Cezar Ribeiro <milton_ruser@yahoo.com.br> wrote:
>
> Hi there,
>
>   Try this
>      require(adehabitat)
>      ?morphology
>
>   You can also try this for binary image
>      require(rimage)
>      ?maxImg
>
>   HTP
>
>   Miltinho
>   Brazil
>
>
> idegabea@usc.es escreveu:
>   Hello!
> I need a function to compute the erosion of a binary image by a
> structuring element. I need the structuring element to be a ball of a
> given radius.
> As far as I know the libraries adehabitat and spatstat include
> functions of mathematical morphology but I couldn't find a function
> which computes the erosion by a ball. Any idea?
>
> Thanks!
>
> ______________________________________________
> R-help@stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide
> http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>
>
>
>
>
> ---------------------------------
> Você quer respostas para suas perguntas? Ou você sabe muito e quer
> compartilhar seu conhecimento? Experimente o Yahoo! Respostas!
>         [[alternative HTML version deleted]]
>
>
>
> ______________________________________________
> R-help@stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide
> http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>
>
>

	[[alternative HTML version deleted]]

