Smorodov / TILT-Cpp-port

"TILT: Transform Invariant Low-rank Textures" CPP port.
21 stars 19 forks source link

not definition #1

Open twyt opened 9 years ago

twyt commented 9 years ago

when I compile the TILT.cpp, Variables such as center.x center.y E W.diag() region[0] region_tau, is not definition.what can I do?

Smorodov commented 9 years ago

They are defined like: Point2f center=(pts[0]+pts[2])*0.5; it is standard opencv's datatype variables.

What environment do you use? What compiler output you getting?

twyt commented 9 years ago

windows 7 and visual studio 2010! I had solved the problems above, as the sentences had been commented in your code. Now,I have a problem with the lib of opencv,which is "can not find the .dll", while it can be compilered successfully

twyt commented 9 years ago

Thank you very much for your reply.

Smorodov commented 9 years ago

Just add to path variable the path to opencv's dll's, or simply copy them to your .exe file location.

twyt commented 9 years ago

Thank you!At present,the dlls'problem have been proved.