Herror ::fill_dvf (
    Hobject Image,
    Hobject *ImageExpanded,
    const HTuple &Width,
    const HTuple &Height,
    const HTuple &Iterations
)
HImage HImage::FillDvf (
    const HTuple &Width,
    const HTuple &Height,
    const HTuple &Iterations
) const
HImageArray HImageArray::FillDvf (
    const HTuple &Width,
    const HTuple &Height,
    const HTuple &Iterations
) const

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) -> Hobject: HImage(Array) ( dvf )
Input image.

ImageExpanded (output_object)
image(-array) -> Hobject * : HImage(Array) ( dvf )
Result of adding the points which are missing.

Width (input_control)
extent.x -> HTuple.long
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 -> HTuple.long
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 -> HTuple.long
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


Possible Predecessors

::optical_flow_match


Module

Image filters



Copyright © 1996-2002 MVTec Software GmbH