Hi,
I've application to capture video of image, grab the still image and process it. It runs well until I put loop to regrab and the still images many times automatically.. and the error happened. The error is “ Null reference exception was unhandled.” I found that the error happened when I call one image file :
//// apply filter subtract===>>>> call file from out bin folder <<<<=====
System.Drawing. Bitmap subtract = filter1.Apply(i mage2);
In the code above, image2 is the name of file image that I retrieved from bin folder. However, if I not using loop, it can execute smoothly. I'm using C# Express edition. I’m stuck now. Could anybody help me please...
I've application to capture video of image, grab the still image and process it. It runs well until I put loop to regrab and the still images many times automatically.. and the error happened. The error is “ Null reference exception was unhandled.” I found that the error happened when I call one image file :
//// apply filter subtract===>>>> call file from out bin folder <<<<=====
System.Drawing. Bitmap subtract = filter1.Apply(i mage2);
In the code above, image2 is the name of file image that I retrieved from bin folder. However, if I not using loop, it can execute smoothly. I'm using C# Express edition. I’m stuck now. Could anybody help me please...
Comment