[R-sig-Geo] clampy in binary image

Roger Bivand Roger.Bivand at nhh.no
Sun Oct 22 16:46:58 CEST 2006

On Sat, 21 Oct 2006, Milton Cezar Ribeiro wrote:

> Hi there,
>   I have a binary image and I need to identify each clump of non-zero
> values and attrib a diferent "patch" id-number.
>   Is there a R package that do that? 
>   By the way, what are the R packages for image manipulation?

Both rimage and EBImage (on Bioconductor) provide filtering and other 
tools. You may also find that you can use functions from the 
spatstat package such as solutionset() on your image, but it isn't 
obvious how to add the ID. A lot will depend on your specific application.

>   Kind regards,
>   Miltinho
> ---------------------------------
> 	[[alternative HTML version deleted]]

Please only send text email messages, HTML will be deleted.

> _______________________________________________
> R-sig-Geo mailing list
> R-sig-Geo at stat.math.ethz.ch
> https://stat.ethz.ch/mailman/listinfo/r-sig-geo

Roger Bivand
Economic Geography Section, Department of Economics, Norwegian School of
Economics and Business Administration, Helleveien 30, N-5045 Bergen,
Norway. voice: +47 55 95 93 55; fax +47 55 95 95 43
e-mail: Roger.Bivand at nhh.no

More information about the R-sig-Geo mailing list