我正在尝试使用以下代码在图像的某个位置应用Canny运算符://regionofinterestfrommyRGBimageMatdevilROI=img(Rect(r->x+lowerRect.x,r->y+lowerRect.y,lowerRect.width,lowerRect.height));Matcanny;//tograyscalesoIcanapplycannycvtColor(devilROI,canny,CV_RGB2GRAY);//makesmyregionofinterestwithCannyCanny(canny,canny,low_threshold,hig