```{index} single: Filters; Compute Feature Boundary Element Fractions
```
# Compute Feature Boundary Element Fractions

## Group (Subgroup)

Statistics (Morphological)

## Description

This **Filter** calculates the fraction of **Elements** of each **Feature** that are on the "surface" of that **Feature**.  The **Filter** simply iterates through all **Elements** asking for the **Feature** that owns them and if the **Element** is a "surface" **Element**.  Each **Feature** counts the total number of **Elements** it owns and the number of those **Elements** that are "surface" **Elements**.  The fraction is then stored for each **Feature**.


### Input Cell Data

| Parameter Name | Parameter Type | Parameter Notes | Description |
|----------------|----------------|-----------------|-------------|
| Cell Feature Ids | Array Selection | Allowed Types: int32 Comp. Shape: 1 | Data Array that specifies to which Feature each Element belongs |
| Surface Elements | Array Selection | Allowed Types: int8 Comp. Shape: 1 | DataArray containing the number of neighboring Elements of a given Element that belong to a different Feature than itself |

### Input Feature Attribute Matrix

| Parameter Name | Parameter Type | Parameter Notes | Description |
|----------------|----------------|-----------------|-------------|
| Feature Data | AttributeMatrixSelection |  | Parent Attribute Matrix for the Surface Element Fractions Array to be created in |

### Output Feature Data

| Parameter Name | Parameter Type | Parameter Notes | Description |
|----------------|----------------|-----------------|-------------|
| Surface Element Fractions | DataObjectName |  | Name of created Data Array containing fraction of Elements belonging to the Feature that are "surface" Elements |

## Example Pipelines

## License & Copyright

Please see the description file distributed with this **Plugin**

## DREAM3D-NX Help

If you need help, need to file a bug report or want to request a new feature, please head over to the [DREAM3DNX-Issues](https://github.com/BlueQuartzSoftware/DREAM3DNX-Issues/discussions) GitHub site where the community of DREAM3D-NX users can help answer your questions.
