Hi all,
I'm writing the following class for digital image inpainting:
http://graphics.csie.ntu.edu.tw/~jon...mgPlane.h.html
http://graphics.csie.ntu.edu.tw/~jon...Plane.cpp.html
However, when I compile, I get the following error:
FBInpainting/imgPlane.cpp: In member function ‘void imgPlane::writeLine(pixel, pixel, int, int)’:
FBInpainting/imgPlane.cpp:207: error: aggregate ‘pixel now’ has incomplete type and cannot be defined
I'm not sure what is "incomplete type", actually, I have no forward reference, etc.
So, I have no idea how to fix this error.
Any suggestion?
As the definition of pixel, please refer to the lines 21 ~ 23 of the header file.
Thanks a lot!