openCV version:2.4.5. IDE: Visual Studio 2010