Rank: 412711 based on 0 downloads (last 30 days) and 0 file submitted
photo

Vidit Aatrey

E-mail
Company/University
IIT Delhi

Personal Profile:

 

Watch this Author's files

 

Comments and Ratings by Vidit Aatrey
Updated File Comments Rating
04 Feb 2012 Histograms of Oriented Gradients mex function for calculating histograms of (oriented) gradients (Dalal & Triggs CVPR 2005). Author: Leo

Hi Leo,

I am running your code on Matlab 7.8. When compiling the file, I get this error:
lcc preprocessor error: HoG.cpp:4 Could not find include file <vector>
Error HoG.cpp: 5 syntax error; found `namespace' expecting `;'
Error HoG.cpp: 5 syntax error; found `std' expecting `;'
Error HoG.cpp: 30 undeclared identifier `vector'
Error HoG.cpp: 30 illegal expression
Error HoG.cpp: 30 illegal expression
Error HoG.cpp: 30 illegal expression
Error HoG.cpp: 30 illegal expression
Error HoG.cpp: 30 found `int' expected a function
Error HoG.cpp: 30 illegal expression
Error HoG.cpp: 30 operands of > have illegal types `int' and `void'
Error HoG.cpp: 31 illegal expression
Error HoG.cpp: 31 illegal expression
Error HoG.cpp: 31 illegal expression
Error HoG.cpp: 31 illegal expression
Error HoG.cpp: 31 found `int' expected a function
Error HoG.cpp: 31 illegal expression
Error HoG.cpp: 31 operands of > have illegal types `int' and `void'
Error HoG.cpp: 35 syntax error; found `unsigned' expecting `;'
Error HoG.cpp: 35 syntax error; found `unsigned' expecting `;'
Error HoG.cpp: 35 too many errors

C:\PROGRA~1\MATLAB\R2009A\BIN\MEX.PL: Error: Compile of 'HoG.cpp' failed.
Please help.

Vidit

Contact us