誰かがコードを共有できる場合
C# EmguCV フレームワークの Image.setValue(...) メソッドに相当する C++(OpenCV) は何ですか。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);
ありがとう。