I can only find 3 kind of rank filter API such as max, min and median filter in OPENCV, but I really want is a more general type of filter, it should have an index option to choose while ranking the kernel elements. Or, can I have some other solutions to work around it?
Thank you very much!