zhouhbsea / caltech-image-search Goto Github PK
View Code? Open in Web Editor NEWAutomatically exported from code.google.com/p/caltech-image-search
Automatically exported from code.google.com/p/caltech-image-search
I have successfully compiled and used the hierarchical k-means clustering and
the hierarchical nearest neighbor search MATLAB 2010b under Windows XP after
changing some parts of your source code (on my computer).
1.
Do you plan to fix the few incompatibilities which prevent the C code from
compiling in Visual Studio (Windows)?
2.
What I did not manage though, was to compile your project in Visual Studio 2008
with boost 1.46.1 as a static lib in order to use it in my C++ project. I would
be glad if you could help me resolving the following error:
error C2678: binary '<' : no operator found which takes a left-hand operand of
type 'const LshBucket' (or there is no acceptable conversion)
c:\programme\microsoft visual studio 9.0\vc\include\xutility @ Line 285
Can you provide a cmake file which I can use in order to create and compile
your project in Visual Studio 2008?
Perhaps I forgot to add something apart from the boost library during the setup
of the project in Visual Studio?
3.
Can you also provide some C code for the hierarchical k-means clustering, i.e.
the creation of the index structure in C++, especially the assignment of the
data?
e.g. 10 feature vectors of dimension 8 (new float[8 * 10]).
Original issue reported on code.google.com by [email protected]
on 3 Aug 2011 at 10:27
What steps will reproduce the problem?
1. Compile In Matlab
What is the expected output? What do you see instead?
Mex error
mex -g -O -largeArrayDims mxLshCreate.cpp
ccLsh.cpp ccDistance.cpp
What version of the product are you using? On what operating system?
Matlab 2012b and OpenCV 2.4.3
Please provide any additional information below.
Unale to compile in windows platform
Original issue reported on code.google.com by [email protected]
on 20 Mar 2014 at 10:41
What steps will reproduce the problem?
1. Open Matlab
2. type COMPILE
What is the expected output? What do you see instead?
All *.mexa64 compiled files
What version of the product are you using? On what operating system?
matlab 2010a on ubuntu 11.10 x64 and opencv 2.4.0
this is the error:
ccDistance.cpp: In function ‘void knn(Tret*, uint32_t*, uint32_t, Data<T>&,
Data<T>&, DistanceType)’:
ccDistance.cpp:425:7: error: ‘numeric_limits’ was not declared in this scope
ccDistance.cpp:425:7: error: expected primary-expression before ‘>’ token
ccDistance.cpp:425:7: error: ‘::infinity’ has not been declared
ccDistance.cpp:430:7: error: ‘numeric_limits’ was not declared in this scope
ccDistance.cpp:430:7: error: expected primary-expression before ‘>’ token
ccDistance.cpp:430:7: error: ‘::infinity’ has not been declared
ccDistance.cpp:435:7: error: ‘numeric_limits’ was not declared in this scope
ccDistance.cpp:435:7: error: expected primary-expression before ‘>’ token
ccDistance.cpp:435:7: error: ‘::infinity’ has not been declared
ccDistance.cpp:440:7: error: ‘numeric_limits’ was not declared in this scope
ccDistance.cpp:440:7: error: expected primary-expression before ‘>’ token
ccDistance.cpp:440:7: error: ‘::infinity’ has not been declared
ccDistance.cpp:445:7: error: ‘numeric_limits’ was not declared in this scope
ccDistance.cpp:445:7: error: expected primary-expression before ‘>’ token
ccDistance.cpp:445:7: error: ‘::infinity’ has not been declared
ccDistance.cpp:449:7: error: ‘numeric_limits’ was not declared in this scope
ccDistance.cpp:449:7: error: expected primary-expression before ‘>’ token
ccDistance.cpp:449:7: error: ‘::infinity’ has not been declared
ccDistance.cpp:454:7: error: ‘numeric_limits’ was not declared in this scope
ccDistance.cpp:454:7: error: expected primary-expression before ‘>’ token
ccDistance.cpp:454:7: error: ‘::infinity’ has not been declared
ccDistance.cpp:459:7: error: ‘numeric_limits’ was not declared in this scope
ccDistance.cpp:459:7: error: expected primary-expression before ‘>’ token
ccDistance.cpp:459:7: error: ‘::infinity’ has not been declared
ccDistance.cpp:464:7: error: ‘numeric_limits’ was not declared in this scope
ccDistance.cpp:464:7: error: expected primary-expression before ‘>’ token
ccDistance.cpp:464:7: error: ‘::infinity’ has not been declared
Original issue reported on code.google.com by [email protected]
on 3 Oct 2012 at 11:07
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.