---
description: Apply a Figure filter to an Image
---

# Figure Filter

## Description

Apply a Figure filter to an Image

{% tabs %}
{% tab title="Preview" %}
![](https://3118158252-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FhT7C2oduVfvz0FwKt3nj%2Fuploads%2F85Y6rWmDeuw8CvE6AgGc%2FComponent-FilterFigure.png?alt=media\&token=d87eddb8-5d7e-481b-89cf-83e2386e5981)
{% endtab %}

{% tab title="Location" %}
**Name** | Figure Filter

**Nickname** | Figure

**Tab** | Bitmap

**Panel** | Filter

**Division** | 1
{% endtab %}

{% tab title="Inputs" %}
**I** | **Image** (_B+ Image, Bitmap_) | A Bitmap Plus Image or Bitmap

<mark style="color:blue;">**M**</mark> <mark style="color:blue;"></mark><mark style="color:blue;">|</mark> <mark style="color:blue;"></mark><mark style="color:blue;">**Mode**</mark> <mark style="color:blue;"></mark><mark style="color:blue;">(</mark>_<mark style="color:blue;">Integer</mark>_<mark style="color:blue;">) | Select filter mode</mark>
{% endtab %}

{% tab title="Ouputs" %}
<mark style="color:blue;">**I**</mark> <mark style="color:blue;"></mark><mark style="color:blue;">|</mark> <mark style="color:blue;"></mark><mark style="color:blue;">**Image**</mark> <mark style="color:blue;"></mark><mark style="color:blue;">(</mark>_<mark style="color:blue;">B+ Image</mark>_<mark style="color:blue;">) | A Bitmap Plus Image</mark>
{% endtab %}

{% tab title="Mode" %}
![](https://3118158252-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FhT7C2oduVfvz0FwKt3nj%2Fuploads%2FeV1ulrSGqAXPXGlo6uDD%2Fimage.png?alt=media\&token=fb42f272-523b-4276-8531-df4f25a0a55c)

**Save Image** | Opens a file save dialog to save a raster file of the current image.

**Copy Image to Clipboard** | Copies the image to the clipboard (no alpha)
{% endtab %}
{% endtabs %}

### **Filter** Mode

<details>

<summary><strong>Filter</strong> Mode Enumerable</summary>

* Closing = 0
* Dilation = 1
* Dilation Binary = 2
* Erosion = 3
* Erosion Binary = 4
* Hat Bottom = 5
* Hat Top = 6
* Opening = 7
* Skeletonization = 8
* Skeletonization Zhang Suen = 9

</details>

## Usage

### Figure Mode Samples

![Opening](https://3118158252-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FhT7C2oduVfvz0FwKt3nj%2Fuploads%2FZbTDtoe0Tdrgypkt8Xib%2FOpening.jpg?alt=media\&token=8ec49292-e280-4dff-99b6-160db7076e53) ![Hat Top](https://3118158252-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FhT7C2oduVfvz0FwKt3nj%2Fuploads%2Fcfpik6InXfYxXC5t3dB4%2FHatTop.jpg?alt=media\&token=ee2eb10a-2001-40f9-a884-57c188812a7b) ![Hat Bottom](https://3118158252-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FhT7C2oduVfvz0FwKt3nj%2Fuploads%2FpSJ67BfrRWB0XGMUNaze%2FHatBottom.jpg?alt=media\&token=97356ede-43f3-48d9-a538-18130c7f99e8)

![Erosion](https://3118158252-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FhT7C2oduVfvz0FwKt3nj%2Fuploads%2FEEQ98Z2eKECbXKMPljRV%2FErosion.jpg?alt=media\&token=ad47aaa5-c4f1-4f7f-b338-e6ccf8a9f6b8) ![Dilation](https://3118158252-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FhT7C2oduVfvz0FwKt3nj%2Fuploads%2F1bTiWEtQULokuOSCvmaO%2FDilation.jpg?alt=media\&token=54851f40-7510-4b40-bf95-214133b8a551) ![Closing](https://3118158252-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FhT7C2oduVfvz0FwKt3nj%2Fuploads%2FsZcVSFGwwwjW1rRWXH4m%2FClosing.jpg?alt=media\&token=5ec3e302-34a0-416e-b0db-ef67e05a313b)

![Skeletonization](https://3118158252-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FhT7C2oduVfvz0FwKt3nj%2Fuploads%2FfabMupZAdJgQ74Py7MGB%2FSkeletonization.jpg?alt=media\&token=c3da5226-f219-4a3c-9360-2d2031824bf9)
