Comments (2)
Dear Luk,
for matrices in VLFeat we use column-major storage (mostly to be compatible with MATLAB and other numerical packages) and row-major for images (for compatibility with image processing and graphical libraries). In this sense, the documentation is correct in saying that features are stored one per column, although admittedly in C very often one thinks "row major" a priori. I will try to think of a way to clarify this better in the docs.
Thank you for your note!
Andrea
On 31 Aug 2013, at 12:50, luk [email protected] wrote:
Hi,
The documentation indicates the data matrix has one feature vector per column[...] data has dimension rows and numData columns.
However, afaic througout fisher.c and gmm.c data access seems to be row major and thus assumes a feature vector per row for example
for(dim = 0; dim < dimension; dim++) {
TYPE diff = data[i_d_dimension + dim] - means[i_cl_dimension + dim] ;
I would propose to adapt the documentation accordingly :)—
Reply to this email directly or view it on GitHub.
from vlfeat.
Thanks for your rapid answer! It's true row/col major and the concatentation of vector data are two different things. Maybe adding your explanetory words from this issue to the "General support functionalities" section of the doc would alredy help someone not to make the same mistake as I did :)
Thank you very much for your work!
Lukas
from vlfeat.
Related Issues (20)
- AVX gets disabled by Makefile for gcc version 8 HOT 2
- MathJax on vlfeat.org is broken due to http/https Mixed Content
- Memory issue in sift.c caused by vl_pgm_extract_head
- If random number generator is thread-safe for any hardware? What are the requirements for any hardware?
- error: ‘vl_infinity_d’ not specified in enclosing ‘parallel’ HOT 11
- Carmack fast inverse sqrt and vector normalize
- vl_covdet_put_image segfaults on small images
- Question on SIFT HOT 2
- Python bindings HOT 1
- How to use vlfeat build KD-TREE?
- pgm file judging condiction
- `vl_covdet_extract_orientations()` does not check OOM condition of `vl_covdet_extract_orientations_for_frame()` HOT 1
- `vl_covdeg_get_laplacian_peak_threshold` function name is error in `covdet.h`
- vl_kdtreequery() and vl_kdtreebuild()
- Markup leaking into HTML
- error: unknown type name 'EXTERN_C' HOT 1
- Building VLFeat on Mac M1 for ARM Architecture HOT 2
- Erroneous line in vl_test_hog.m
- Error in vl_hog.c
- Error in vl_scalespacegeometry_is_equal in scalspace.c
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vlfeat.