Start » Filter Reference » Region » Region Features » RegionArea

RegionArea


Module: FoundationLite

Computes the number of pixels contained in a region.

Name Type Description
Input value
inRegion Region Input region
Output value
outArea Integer

Examples

Description of usage of this filter can be found in examples and tutorial: Detecting Chocolate Coverage on a Wafer.

Area of the sample region equals to 5567.

Errors

This filter can throw an exception to report error. Read how to deal with errors in Error Handling.

List of possible exceptions:

Error type Description
DomainError The area of the region exceeds the capacity of the integer type in RegionArea.

Complexity Level

This filter is available on Basic Complexity Level.

See Also