Anisotropic diffusion

asked 2016-04-21 10:13:41 -0600

NewDeveloper gravatar image

Hello great openCV-community,

I'd like to find out if it is possible to perform an anisotropic diffusion operation on an image through openCV? I found out that the KAZE and AKAZE feature detectors use the anisotropic diffusion. But I think the functions behind are private and inaccessible. Is there a filter predefined for this filteringoperation or do I have to write my own filter? (or make usage of the filter which "occurs" for this purposes in this forum ? isotropic non-linear diffusion...

Thank you very much in advance, Best Regards

edit retag flag offensive close merge delete

Comments

1

If you want to use KAZE code you have to do something like this

LBerger gravatar imageLBerger ( 2016-04-21 11:05:51 -0600 )edit

you mean I should copy and paste the code?

NewDeveloper gravatar imageNewDeveloper ( 2016-04-21 12:02:57 -0600 )edit

Yes an example here for LMSolver. If you want you can try this code

LBerger gravatar imageLBerger ( 2016-04-21 12:36:46 -0600 )edit

Thank you LBerger for the fast and helpful answer! I'll try it

NewDeveloper gravatar imageNewDeveloper ( 2016-04-21 12:59:18 -0600 )edit

There is a function to do this now, in opencv_contrib. Here is the documentation: https://docs.opencv.org/3.4/df/d2d/gr...

leafdet gravatar imageleafdet ( 2018-10-08 08:01:28 -0600 )edit