Does MetalKit or Core Image have methods such as OpenCV’s cv::matchTemplate(inputMat, tmpMat, resultMat, cv::TM_CCOEFF_NORMED)?

Does MetalKit or Core Image have methods such as OpenCV’s cv::matchTemplate(inputMat, tmpMat, resultMat, cv::TM_CCOEFF_NORMED)?