我正在尝试从一个图像中减去另一个图像,有点像这样:Image<Gray, byte> firstImage;但是它给出了一个错误
Operator '-' cannot be applied to operands of type 'Emgu.CV.Image<Emgu.CV.Structure.Gray,byte>' and 'Emg
AForge.Imaging.ImageStatistics stat = new AForge.Imaging.ImageStatistics(btm_1);this.textB_1.Text = gray.StdDev.ToString();
对象引用未设置为对象的实例。gray和stat.Gray都是空的。