corner_response — 在图像中搜索角落。
corner_response(Image : ImageCorner : Size, Weight : )
算子 corner_response extracts gray value corners in
an image. The formula for the calculation of the response is:
where I is the input image and R the output image of the filter.
The operator gauss_image is used for smoothing (W), the
operator sobel_amp is used for calculating the
derivative。
The corner response function is invariant with regard to rotation.
In order to achieve a suitable dependency of the function R(x,y)
on the local gradient, the parameter Weight must be set to
0.04. With this, only gray value corners will return positive
values for R(x,y), while straight edges will receive negative
values. The output image type is identical to the input image
type. Therefore, the negative output values are set to 0 if byte
images are used as input images. If this is not desired, the input
image should be converted into a real or int2 image with
convert_image_type。
请注意,若使用域缩减后的图像作为输入,滤波器算子可能会返回意外结果。请参阅 滤波器 一章
Image (输入对象) (multichannel-)image(-array) → object (byte / uint2 / int2 / real)
输入图像。
ImageCorner (输出对象) multichannel-image(-array) → object (byte / uint2 / int2 / real)
Result of the filtering.
元素数量: ImageCorner == Image
Size (输入控制) integer → (integer)
Desired filtersize of the graymask.
默认值: 3
建议值: 3, 5, 7, 9, 11
Weight (输入控制) real → (real)
Weighting.
默认值: 0.04
值范围:
0.0
≤
Weight
≤
0.3
最小增量: 0.001
建议增量: 0.01
read_image(&Fabrik,"fabrik"); corner_response(Fabrik,&CornerResponse,3,0.04); local_max(CornerResponse,&LocalMax); disp_image(Fabrik,WindowHandle); set_color(WindowHandle,"red"); disp_region(LocalMax,WindowHandle);
gauss_filter,
sobel_amp,
convert_image_type
C.G. Harris, M.J. Stephens,
“A combined corner and edge detector”';
Proc. of the 4th Alvey Vision Conference; August 1988; pp. 147-152.
H. Breit,
“Bestimmung der Kameraeigenbewegung und Gewinnung von
Tiefendaten aus monokularen Bildfolgen”;
Diplomarbeit am Lehrstuhl für Nachrichtentechnik der TU München;
30. September 1990.
基础