Learn R Programming

SpatialVx (version 1.0-3)

disjointer: Identify Disjoint Sets of Connected Components

Description

Identify disjoint sets of contiguous events in a binary field. In many areas of research, this function finds connected components.

Usage

disjointer(x, method = "C")

Value

An unnamed list object where each component is an image describing one set of connected components (or blobs).

Arguments

x

A numeric matrix or other object that as.im from package spatstat works on.

method

Same argument as that in connected from package spatstat.

Author

Eric Gilleland

Details

disjointer essentially follows the help file for connected to produce a list object where each component is an image describing one set of connected components (or blobs). It is essentially a wrapper function to connected. This function is mainly used internally by FeatureFinder and similar, but could be of use outside such functions.

References

Park, J.-M., Looney, C.G. and Chen, H.-C. (2000) Fast connected component labeling algorithm using a divide and conquer technique. Pages 373-376 in S.Y. Shin (ed) Computers and Their Applications: Proceedings of the ISCA 15th International Conference on Computers and Their Applications, March 29--31, 2000, New Orleans, Louisiana USA. ISCA 2000, ISBN 1-880843-32-3.

Rosenfeld, A. and Pfalz, J.L. (1966) Sequential operations in digital processing. Journal of the Association for Computing Machinery 13 471--494.

Examples

Run this code
##
## For examples, see FeatureFinder
##

Run the code above in your browser using DataLab