Generic Image Library: CornerDetectionAlgorithms

###  | #  |

Functions
CornerDetectionAlgorithms

Algorithms that are used to find corners in an image. More...

## Functions
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)
| function to record Harris responses

## Detailed Description

Algorithms that are used to find corners in an image.

These algorithms are used to find spots from which sliding the window will produce large intensity change

## Function Documentation

## ◆ compute_harris_responses()

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 )

function to record Harris responses

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.