inpaintn

Syntax: inpaintn(image, flag)

Replaces pixels that have specific flag value by the value of the nearest pixel that does not have the specific flag value.

This command cannot be used in the distributed processing mode. If you need it, please contact the authors.

Arguments

image [input & output]

Data type: uint8 image, uint16 image, uint32 image, uint64 image, int8 image, int16 image, int32 image, int64 image, float32 image, complex32 image

Image to process.

flag [input]

Data type: real

Default value: 0

Values of pixels that have this (flag) value are inpainted.

See also

inpaintn, inpaintg