pub fn match_template<T>(
search_img: &Array<T>,
template_img: &Array<T>,
mtype: MatchType
) -> Array<T::AbsOutType> where
T: HasAfEnum + ImageFilterType,
T::AbsOutType: HasAfEnum,
Image matching
Template matching is an image processing technique to find small patches of an image which match a given template image. A more in depth discussion on the topic can be found here.
search_img
is an array with image datatemplate_img
is the template we are looking for in the imagemtype
is metric that should be used to calculate the disparity between window in the image and the template image. It can be one of the values defined by the enum MatchType.This function returns an Array with disparity values for the window starting at corresponding pixel position.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4