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

Expansion of a displacement vector field onto undefined areas.

The operator fill_image calculates a value for each undefined point in a displacement vector field by averaging its neighbors. The dimension of the neighbourhod 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
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
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
Range of values: 1 <= Iterations <= 100
Minimum increment: 1
Recommended increment: 1


Possible Predecessors

optical_flow1__, optical_flow2



Copyright © 1996-1997 MVTec Software GmbH