Inpaint
The Inpaint block restores a degraded input image by replacing bad marks with its neighbouring pixels.

Library
ComputerVision/Images/Operations
Parameters

| Name | Label | Description | Data Type | Valid Values | 
|---|---|---|---|---|
| inpaintRadius | Inpaint Radius | Radius of the neighborhood of each point in handle that need to be reconstructed. | Scalar | |
| inpaintType | Inpaint Type | Method used for reconstruction. NS: Navier-Stokes based method TELEA - Telea algorithm | String | 'NS' | 
| externalActivation | External activation | This parameter defines if the block receives or inherits an external activation. When External Activation is used, an additional activation port is added to the block. Default is OFF. | Number | 0 | 
Ports
| Name | Type | Description | IO Type | Number | 
|---|---|---|---|---|
| src | explicit | input | 1 | |
| mask | explicit | Handle of a 8-bit, single channel image, scalar or a 2D real matrix. If mask is an image handle or 2D matrix, the size must match that of src. | input | 2 | 
| image | explicit | output | 1 | |
| Port 4 | activation | input | externalActivation |