oa::image::corner_score
Per-pixel corner response over each plane: 3x3 Sobel gradients feed windowed second moments M = [sum Ix^2, sum IxIy; sum IxIy, sum Iy^2] inside a block_size x block_size box. Harris emits det(M) - k * trace(M)^2; MinEigen emits the smaller eigenvalue of M (Shi-Tomasi). Borders reflect101 like cornerHarris. The response map shares the input geometry; combine with a local max pass for candidate keypoints. Errors Returns an error unless the image is a nonempty FP32 NCHW/CHW image, k is finite, and block_size is odd and at least 3.
Function Documentation
Per-pixel corner response over each plane: 3x3 Sobel gradients feed windowed second moments M = [sum Ix^2, sum IxIy; sum IxIy, sum Iy^2] inside a block_size x block_size box. Harris emits det(M) - k * trace(M)^2; MinEigen emits the smaller eigenvalue of M (Shi-Tomasi). Borders reflect101 like cornerHarris. The response map shares the input geometry; combine with a local max pass for candidate keypoints. Errors Returns an error unless the image is a nonempty FP32 NCHW/CHW image, k is finite, and block_size is odd and at least 3.