Ask Your Question

Extract scale-space representation from function

asked 2019-03-05 06:56:19 -0600

droog_the_droog gravatar image


I need to use the scale-space representation of my input image for post-processing purposes, but am unsure if it is possible to extract it in any way? I'm using the KAZE module for computing keypoints and descriptors, and in doing this a scale-space is constructed for my input image mid process anyway, so I thought if there's a simple way of using that that would be really great for my use-case.

Thanks for the help, Nik

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2019-03-05 08:24:23 -0600

berak gravatar image

as long as you're using opencv's (c++) interfaces, this is not possible, there is no way to get the underlying / temporary data

edit flag offensive delete link more


Really? Seems so strange to me on an intuitive plane. There's a function called "Create_Nonlinear_Scale_Space" in the source - could I in some easy way construct an "evolution" object and use that function to store the scale-evolutions?

droog_the_droog gravatar imagedroog_the_droog ( 2019-03-06 02:15:14 -0600 )edit

There's a function called "Create_Nonlinear_Scale_Space" in the source

yea, true. but it means you have to hack into the src, to get there, it's not possible, using #include "opencv2/features2d.hpp"

berak gravatar imageberak ( 2019-03-06 02:26:30 -0600 )edit

Yeah, it makes sense. Do you have any suggestions for how such a hack could be implemented? :)

droog_the_droog gravatar imagedroog_the_droog ( 2019-03-06 02:31:25 -0600 )edit

i'm not reallly familiar with KAZE, but maybe you could make create_nonlinear_scale_space() a public function ?

berak gravatar imageberak ( 2019-03-06 04:02:22 -0600 )edit

Yeah, something like that would probably be the way to go. Both create_nonlinear_scale_space() and also the memory-allocation function for the evolution objects... I'm just considering if it could at all be possible to combine this with the Python bindings somehow.

droog_the_droog gravatar imagedroog_the_droog ( 2019-03-06 05:57:19 -0600 )edit

Question Tools

1 follower


Asked: 2019-03-05 06:56:19 -0600

Seen: 191 times

Last updated: Mar 05 '19