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

How can I use an Array of pyramid images instead of one large collage!? #9

Open
Fredrum opened this issue Jul 5, 2020 · 2 comments

Comments

@Fredrum
Copy link

Fredrum commented Jul 5, 2020

Hi,

I'm trying to use Pislam with an image pyramid that is a array/Vector of Mat's, instead of how it's currently working with one big collage of the images in the pyramids 'stuck together'.

I'm getting compiler errors when I try to invoke,
pislam::fastDetect<iter_width, 16>(levelWidth, levelHeight, imgPtr, outPtr, 20);

it seems the system needs to compile in the value of 'iter_width' at build time and it can't change when I run?

Is this a part of the optimized code or is there a way around this?

Cheers
Fred

@0xfaded
Copy link
Owner

0xfaded commented Jul 5, 2020 via email

@Fredrum
Copy link
Author

Fredrum commented Jul 5, 2020

Hi and thank you.
I managed to find an inbetween where I just pad the width of each pyramid slice to the IMG_W width.
It'll do for now as I still need to figure out how I will optimally generate the pyramid on the fly.

I see that the original ORB2 code seems to apply the Gaussian blur only just before doing that 'ComputeDescriptors' and before that it uses the raw images, if I understand correctly.

While you are using the blurred images from the start and throughout the full process.

Am I getting that right? I know it's been a while since you wrote this so you might not remember.

Cheers

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