The exception I'm getting is this:Emgu::CV::Image<Gray,UInt16> ^currentFrame;
threshFrame = gcnew Emgu::CV::Image<Gray,UInt16>(cols,rows);
CvInvoke::cvThreshold(currentFrame, threshFrame, 160, 255, (Emgu::CV::CvEnum::THRESH)CV_THRESH_BINARY);
int c = cvWaitKey(40);
An unhandled exception of type 'Emgu.CV.CvException' occurred in Emgu.CV.dll
Additional information: OpenCV:
As you can see, the "Additional information" doesn't really offer much in terms of additional information. I'm very confused and very frustrated so if anyone could help me out that would be phenomenal. Thank you!