Bitonic filter

A filter for preserving any bitonic information in signals or images.
528 Downloads
Updated 8 Sep 2021

View License

Note that,for images, this filter has been superceded by the Locally Adaptive Bitonic X Filter, also available on file exchange.
This is a filter for removing noise in signals and images whilst preserving edges and other bitonic data, ie. anything with either one local maximum or minimum within the range of the filter. It has better edge-preserving properties than a median filter, whilst also removing noise similarly to a Gaussian filter. It has wide applicability and very few parameters, with no need for training or prior knowledge of the noise variance, and is hence particularly suited to situations where the noise is varying.
See the bitonic_demo script for an example.
Also included is RANKFILT2, which is a faster replacement for ORDFILT2 when the data is of type uint8.
More information is available from a technical report at:
https://www.repository.cam.ac.uk/handle/1810/252987

Cite As

Graham Treece (2024). Bitonic filter (https://www.mathworks.com/matlabcentral/fileexchange/54514-bitonic-filter), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2014b
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.3.0.2

Documentation change

1.3.0.1

Change to description.

1.3.0.0

Minor correction to rankfilt2.cpp which makes filtering more efficient in some cases.

1.2.0.0

Added link to technical report.

1.1.0.0

Updated the description to include rankfilt2.

1.0.0.0