Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"Error generating the nonlinear scale space!!" when call AKAZE::Create_Nonlinear_Scale_Space against a small image #8

Closed
thorikawa opened this issue Jan 4, 2014 · 1 comment

Comments

@thorikawa
Copy link

When call AKAZE::Create_Nonlinear_Scale_Space against a small image (e.g. 64*64), error message says "Error generating the nonlinear scale space!! Firstly you need to call AKAZE::Allocate_Memory_Evolution()".

It happens because AKAZE check image size and does not allocate the data for the small image at https://github.com/pablofdezalc/akaze/blob/master/src/lib/AKAZE.cpp#L101. So if a small image is given, it does not allocate any data for it. I think AKAZE should allocate data for at least one evolution even if the size of image is small.

What do you think?

@pablofdezalc
Copy link
Owner

That is an interesting point. I am going to modify the code to allow at least one octave level if the image is small. Although in a multiscale framework I think images smaller than 80x60 (if they correspond to the coarsest scale level) will not add information at all, since the image contents will be blurred.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants