fill_dvf ( Image : ImageExpanded : Width, Height, Iterations : )

Expansion of a displacement vector field onto undefined areas.

The operator fill_dvf calculates a value for each undefined point in a displacement vector field by averaging its neighbors. The dimension of the neighborhod will be determined by the parameters Width and Height. As the gaps may be larger than the masks, the filter may be used iteratively (Iterations). Correctly defined values in the input image will not be modified.


Parameters

Image (input_object)
image(-array) -> object : dvf
Input image.

ImageExpanded (output_object)
image(-array) -> object : dvf
Result of adding the points which are missing.

Width (input_control)
extent.x -> integer
Width of the filtermask.
Default value: 5
Suggested values: 3, 5, 7, 9, 11, 15
Typical range of values: 3 <= Width <= 201
Minimum increment: 2
Recommended increment: 2

Height (input_control)
extent.y -> integer
Height of the filtermask.
Default value: 5
Suggested values: 3, 5, 7, 9, 11, 13, 15
Typical range of values: 3 <= Height <= 201
Minimum increment: 2
Recommended increment: 2

Iterations (input_control)
integer -> integer
Number of iterations.
Default value: 3
Suggested values: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15
Typical range of values: 1 <= Iterations <= 100
Minimum increment: 1
Recommended increment: 1


Parallelization Information

fill_dvf is reentrant and automatically parallelized (on tuple level, domain level).


Possible Predecessors

optical_flow_match


Module

Image filters



Copyright © 1996-2005 MVTec Software GmbH