Ask Your Question
0

Scipy percentile_filter to opencv

asked 2018-03-23 10:10:46 -0600

Is there an opencv equivalent to the scipy percentile_filter function? I am migrating somo code from scipy to opencv because of the better performance of opencv. Thank you for the time.

edit retag flag offensive close merge delete

2 answers

Sort by » oldest newest most voted
0

answered 2018-03-26 06:02:59 -0600

updated 2018-03-26 06:05:09 -0600

I have no knowledge of it being inside OpenCV as is, but reading this publication it seems you need to replace pixels with the surrounding histogram percentile function, so OpenCV contains everything you need to built it from scratch.

If you can deduce the filter structure from SciPy you can even generate your own filter using the filter2D functionality.

edit flag offensive delete link more
-1

answered 2018-03-24 16:20:01 -0600

fadkabli gravatar image

You can take help from This: http://www.scipy-lectures.org/package...

edit flag offensive delete link more

Comments

1

we already know, that scipy has it. (you missed the problem)

berak gravatar imageberak ( 2018-03-24 18:35:38 -0600 )edit

Question Tools

1 follower

Stats

Asked: 2018-03-23 10:10:46 -0600

Seen: 346 times

Last updated: Mar 26 '18