0
如果有人可以共享C++ OpenCV的等同於C#EmguCV Image.setValue(...)方法
代碼什麼是C++(OpenCV的)等效Image.setValue(...)在C#EmguCV框架方法。 emgucv參考: http://www.emgu.com/wiki/files/2.3.0/document/Index.html
例如如何在C++下一個代碼:
private static Image<Gray, Byte> FilterPlate(Image<Gray, Byte> plate)
{
...
Image<Gray, Byte> thresh = plate.ThresholdBinaryInv(new Gray(120), new Gray(255));
using (Image<Gray, Byte> plateMask = new Image<Gray, byte>(plate.Size))
plateMask.SetValue(255.0);
...
thresh.SetValue(0, plateMask);
}
尤其什麼是下一個C++當量:
thresh.SetValue(0, plateMask);
感謝。
非常感謝您的幫助,kiwaa。 –