Opencv Emgucv中是否有查找非零像素的功能?
有一个名为findNonZero的函数,用于查找Opencv中非零像素的位置。我想知道Emgucv中是否有类似的东西?恐怕没有,但是您可以使用CvInvoke直接调用OpenCV函数 调用上述函数的语法如下Opencv Emgucv中是否有查找非零像素的功能?,opencv,pixel,emgucv,Opencv,Pixel,Emgucv,有一个名为findNonZero的函数,用于查找Opencv中非零像素的位置。我想知道Emgucv中是否有类似的东西?恐怕没有,但是您可以使用CvInvoke直接调用OpenCV函数 调用上述函数的语法如下 CvInvoke.findNonZero();// pass the suitable parameters in the function suitably 这是为了了解更多 // // Summary: // Find the location of t
CvInvoke.findNonZero();// pass the suitable parameters in the function suitably
这是为了了解更多
//
// Summary:
// Find the location of the non-zero pixel
//
// Parameters:
// src:
// The source array
//
// idx:
// The output array where the location of the pixels are sorted
public static void FindNonZero(IInputArray src, IOutputArray idx);
在CvInvoke.FindNonZerosrc,outputImage上调用它 问题在于Emgucv中没有findNonZero或cvfindNonZero。以下是错误:“Emgu.CV.CvInvoke”不包含“findNonZero”的定义!有解决办法吗?