Ask Your Question
0

OpenCV filter that allows filter taking two images as Base

asked 2017-07-06 22:57:17 -0600

arqam gravatar image

I am trying to implement Rolling Guidance Filter, but for that I need a filter which takes two images as base unit to perform filter.

We have Joint Bilateral Filter but that is not provided by OpenCV Java. So is there any filter which I can use?

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2017-07-07 16:13:44 -0600

Tetragramm gravatar image

What you are looking for is in ximgproc::filters. Unfortunately, no Java version.

Personally, I prefer THIS filter. It is about as fast as the guided filter, but more accurate. It's the same algorithm used in the DisparityWLS, but you can simplify it and speed it up for normal images.

edit flag offensive delete link more

Comments

Is there any API for FGS-TIP (the link that you gave) to be used in Java?

arqam gravatar imagearqam ( 2017-07-08 00:12:52 -0600 )edit

Regrettably, no. As best I can tell, none of them have a Java API, though it might be possible for you to add them. I have no idea what is required to make a function work in the OpenCV Java API.

Tetragramm gravatar imageTetragramm ( 2017-07-08 17:14:12 -0600 )edit

Question Tools

1 follower

Stats

Asked: 2017-07-06 22:57:17 -0600

Seen: 106 times

Last updated: Jul 07 '17