---
title: "Edge Extend"
url: "https://help.maxon.net/ag/en-us/Content/html/Modifier_image_matte_edge_extend.html"
section_path: "Modifiers > Image > Matte > Edge Extend"
description: "Extend the edges of a matte, leaving RGB channels intact. If the input matte comes from a keyer, the alpha channel of the matte should be first eroded by …"
---

# Edge Extend

## Brief Description

Extend the edges of a matte, leaving RGB channels intact. If the input matte comes from a keyer, the alpha channel of the matte should be first eroded by a small amount to remove pixels containing mixed foreground/background colors. If not, these mixed colors may be extended instead of the pure foreground colors. The filling process works by iteratively blurring the image, and blending the non-blurred image over the blurred-image to get to the next iteration. The blur size at each iteration is linearly increasing.

## Controls

| Parameter / Script Name | Type | Default | Function |
| --- | --- | --- | --- |
| `Enabled / enabled` | Boolean | On |  |
| `Red / process_red` | Boolean | On | Enable the red channel in output. Otherwise if there's a source the content of the main source is returned instead, else 0 |
| `Green / process_green` | Boolean | On | Enable the green channel in output. Otherwise if there's a source the content of the main source is returned instead, else 0 |
| `Blue / process_blue` | Boolean | On | Enable the blue channel in output. Otherwise if there's a source the content of the main source is returned instead, else 0 |
| `Alpha / process_alpha` | Boolean | On | Enable the alpha channel in output. Otherwise if there's a source the content of the main source is returned instead, else 0 |
| `Size / size` | Float 2D | 0, 0 | Size of the largest blur used to extend the edge |
| `Slices / slices` | Float | 5 | Number of blur filter steps to apply |
| `Bounding Box / rod_mode` | Choice | Expand | - *Expand*<br>- *Crop to format*<br>- *Same as input* |
| `Filter / filter` | Choice | Gaussian | - *Gaussian*<br>- *Box*<br>- *Triangle*<br>- *Quadratic* |
| `Mask / mask` | Image | - |  |
| `Mix / mix_with_source` | Float | 1 | Dissolves between the original image at 0 and the image with the effect applied at 1 |
