Ask Your Question
0

Rolling Guidance Filter

asked 2017-07-04 09:32:01 -0600

arqam gravatar image

In my project this filter is creating outstanding effect. So I would like to go to the basic level and understand what is Rolling Guidance Filter and how it is better than other filters out there.

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
1

answered 2017-07-06 17:41:27 -0600

Tetragramm gravatar image

HERE is the paper that describes the rolling guidance filter and particularly how it differs from the Gaussian and a few other edge aware filters.

edit flag offensive delete link more

Comments

Yeah I went through the paper, as you will see they have used Joint Bilateral Filter in the process. And in the source code present over (http://www.cse.cuhk.edu.hk/leojia/pro...) , they have tried filtering using Permutohedral lattice. So is there any way any of those filters used can be found in opencv which takes two images as base for input.

arqam gravatar imagearqam ( 2017-07-06 22:46:29 -0600 )edit

@berak Do you know of any such filters? I have posted as a new question : http://answers.opencv.org/question/16...

arqam gravatar imagearqam ( 2017-07-06 23:08:39 -0600 )edit

unfortunately i don't (but i'm looking into it).

looking at your other questions, i'm just thinking, that if at all, this should be build in c++ (and added to ximgproc), so python or java folks can use it, too.

berak gravatar imageberak ( 2017-07-06 23:16:06 -0600 )edit

did you take a look at their implementation ?

berak gravatar imageberak ( 2017-07-06 23:18:22 -0600 )edit

@berak Yeah I looked into the source code. They have not used JointBilateral there but instead used bilateral filter by using permutohedral lattice. In XimgProc I see JointBilateral but how to use in Java in an already created project with opencv as its just there for Python. http://docs.opencv.org/3.0-beta/modul...

arqam gravatar imagearqam ( 2017-07-07 00:43:38 -0600 )edit

btw, their permutohedral code seems to be from http://graphics.stanford.edu/papers/p...

berak gravatar imageberak ( 2017-07-07 01:26:33 -0600 )edit

@berak Yeah I went through that paper casually. We don't have to use permutohedral I guess, and a joint filter will work right?

arqam gravatar imagearqam ( 2017-07-07 05:47:24 -0600 )edit

hehe, i guess, i'll need another day to understand it ..

berak gravatar imageberak ( 2017-07-07 05:52:04 -0600 )edit

@berak. That rolling guidance paper is simple (a clever hack) rather. Permutohedral Lattice although might take some time. But I am not able to understand why they used that when in the paper they mentioned using Joint Bilateral Filter.

arqam gravatar imagearqam ( 2017-07-07 06:04:26 -0600 )edit

This thread has gone cold, but I'm wondering how this turned out. I did notice that ximgproc now includes 'rollingguidancefilter' and some other interesting edge-preserving filters, but I am apprehensive about rebuilding OpenCV. Is there any practical way to compile just the code for an individual filter within the ximgproc module, or is that module pretty monolithic?

Martian gravatar imageMartian ( 2019-03-01 21:46:04 -0600 )edit

Question Tools

2 followers

Stats

Asked: 2017-07-04 09:32:01 -0600

Seen: 866 times

Last updated: Jul 06 '17