{ } Raw JSON

bundles / skimage 0.26.1rc0.dev0+git20260530.b607368ff / skimage / feature / corner / corner_kitchen_rosenfeld

function

skimage.feature.corner:corner_kitchen_rosenfeld

source: /dev/scikit-image/src/skimage/feature/corner.py :602

Signature

def   corner_kitchen_rosenfeld ( image mode = constant cval = 0 )

Summary

Compute Kitchen and Rosenfeld corner measure response image.

Extended Summary

The corner measure is calculated as follows

(imxx * imy**2 + imyy * imx**2 - 2 * imxy * imx * imy)
    / (imx**2 + imy**2)

Where imx and imy are the first and imxx, imxy, imyy the second derivatives.

Parameters

image : ndarray of shape (M, N)

Input image.

mode : {'constant', 'reflect', 'wrap', 'nearest', 'mirror'}, optional

How to handle values outside the image borders.

cval : float, optional

Used in conjunction with mode 'constant', the value outside the image boundaries.

Returns

response : ndarray

Kitchen and Rosenfeld response image.

Aliases

  • skimage.feature.corner_kitchen_rosenfeld