boost::gil::compute_harris_responses

function to record Harris responses

Synopsis

template<
    typename T,
    typename Allocator>
void
compute_harris_responses(
    boost::gil::gray32f_view_t m11,
    boost::gil::gray32f_view_t m12_21,
    boost::gil::gray32f_view_t m22,
    boost::gil::detail::kernel_2d<T, Allocator> weights,
    float k,
    boost::gil::gray32f_view_t harris_response);

Description

This algorithm computes Harris responses for structure tensor represented by m11, m12_21, m22 views. Note that m12_21 represents both entries (1, 2) and (2, 1). Window length represents size of a window which is slided around to compute sum of corresponding entries. k is a discrimination constant against edges (usually in range 0.04 to 0.06). harris_response is an out parameter that will contain the Harris responses.

Parameters

Name

Description

weights

variable‐size kernel

Created with MrDocs