Inpaint

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

    Inpaint

Library

ComputerVision/Images/Operations

Parameters

Inpaint_0

NameLabelDescriptionData TypeValid 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'
'TELEA'

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
1

Ports

NameTypeDescriptionIO TypeNumber

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