Когда я пытаюсь создать образ какC#: Emgu CV создания проблемы с имиджем
Image<Gray, Byte> testImage = new Image<Gray, Byte>("david.jpg");
При компиляции Гав An unhandled exception of type 'System.ArgumentException' occurred in System.Drawing.dll
исключение. Но если я использую
DialogResult result = openFileDialog1.ShowDialog();
if (result == DialogResult.OK || result == DialogResult.Yes)
{
textBox1.Text = openFileDialog1.FileName;
}
Image<Gray, Byte> testImage = new Image<Gray, Byte>(textBox1.Text);
Это works.Problem является то, что не может найти путь? Я добавляю все файлы .jpg в папку проекта.