it's not a good idea to extract ```UMat``` from ```InputArray``` and then return with ```false``` like in ```matchTemplate_CCORR``` if naive approach is not applicable