Hi,
I am developing programs in VC++ 2005 to perform a simple pattern matching. Here is what I would like to achieve
Program A:
1. read a jpg image from file.
2. learn the pattern.
3. save the pattern image as .png.
4. close A
Program B:
1. load the .png pattern image. (no learning is performed)
2. load the target image.
3. perform pattern matching.
The problem I am encounting is that when B is executed, step 1 never works. The error message was "not an image". I am just wondering what may cause this error. Thank you very much.