Wolfram Language & System 10.3 (2015)|Legacy Documentation

This is documentation for an earlier version of the Wolfram Language.View current documentation (Version 11.2)

SelectComponents

SelectComponents[m,"prop",crit]
computes a property for all components in a label matrix m and returns a version of m in which components that do not satisfy crit are replaced with zeros.

SelectComponents[m,"prop",n]
gives a label matrix for the first n components, ranked by property .

SelectComponents[m,"prop",n,p]
uses an ordering function p.

Details and OptionsDetails and Options

Introduced in 2010
(8.0)
| Updated in 2014
(10.0)