Fill in uncertain pixels.
Fill in uncertain pixels.
Input field with missing or uncertain pixels.
Applicability filter to use for interpolation. The object ApplicabilityFilter provides a simple way of generating some standard filters, though you may use others.
Scalar field of the same shape as input
where each
pixel specifies the certainty of the corresponding pixel in
input
. A value of 1.0 means "certain," a value of 0.0 means
"unknown," with intermediate values allowable.
The input field with uncertain pixels filled in.
Function which performs normalized averaging (often referred to as normalized convolution) of a field.
The result is similar to linear diffusion with Dirichlet boundary constraints (where the boundary is formed by the "certain" pixels in the field) but is much faster. This may not be what you want since it produces very fuzzy filled-in regions for large blocks of uncertain values.
Typical usage: