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

Is it mandatory to convert the image to float? #37

Open
zanazakaryaie opened this issue Nov 2, 2019 · 6 comments
Open

Is it mandatory to convert the image to float? #37

zanazakaryaie opened this issue Nov 2, 2019 · 6 comments

Comments

@zanazakaryaie
Copy link

Hi
I want to accelerate AKAZE on ARM processors. Before everything, the algorithm converts the 8 bit image to a float image ranging from 0 to 1. Is this mandatory? How can I avoid this?

@pablofdezalc
Copy link
Owner

pablofdezalc commented Nov 8, 2019 via email

@zanazakaryaie
Copy link
Author

Hi Pablo
Thanks for the reply.

I think if I use the 8bit image, then all the convolution kernels (including those of gaussianBlur, scharr, and Hessian) must be multiplied by 255. Is that true?

@pablofdezalc
Copy link
Owner

pablofdezalc commented Nov 15, 2019 via email

@zanazakaryaie
Copy link
Author

I started to use 8bit and 16bit data types for scale-space. Indeed, I used 8bit for gaussian blurred images and 16bit for scharr derivates. But the pm_g2 diffusivity image has 1/(1+X*k2) formulation which is float. I don't know what to do here. If I use float, then what datatype should I use for evolution images which are calculated in FED?

@pablofdezalc
Copy link
Owner

pablofdezalc commented Apr 8, 2020 via email

@zanazakaryaie
Copy link
Author

zanazakaryaie commented Apr 8, 2020

So you agree that only some parts can be converted to 8 or 16bit. Other parts must remain float. For example the diffusivities. Could you please guide me which parts can be converted and which parts cannot?

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