Comments (1)
Another thing that's odd is that some functions in covdet.c
that return vl_set_last_error(...)
return vl_bool
instead of the int
, thus losing the information of what the error was.
It's unclear to me if that is intended, or an oversight.
Especially because the documented failure reasons also seem to be missing some reasons:
/** The function returns @c NULL if memory is insufficient. **/
vl_covdet_extract_orientations_for_frame (VlCovDet * self,
vl_size * numOrientations,
VlFrameOrientedEllipse frame)
{
// ..
err = vl_covdet_extract_patch_helper(self,
and vl_covdet_extract_patch_helper()
can return:
if ((x0 < 0 || x1 > (signed)width-1 || y0 < 0 || y1 > (signed)height-1) &&
!self->allowPaddedWarping) {
return vl_set_last_error(VL_ERR_EOF, "Frame out of image.");
}
So there's another reason why vl_covdet_extract_orientations_for_frame()
can fail, that's not "memory is insufficient".
from vlfeat.
Related Issues (20)
- Please, do something about the repo!
- Error installing on MacOS Mojave HOT 2
- Incorrect checking for range of max_value in pgm.c HOT 2
- MSER: Wrong height used (according to the union rank heuristic)
- 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_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
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.