- Flat Median is a median-like effect which have some advantages over the "regular" median filter:
- you can control level of Flatness. At low level of flatness the result would look like a regular blur, while at high level the result would look more contrasty.
- it is "isotropic" just like gaussian blur.
- additionally, you can apply the effect on horizontal or vertical directions.
Example 1: With a radius of 2.5, we respectively applied a "flatten" setting of 80 then -80. Notice that the yellow spot of the berry are better eliminated with a high flatten setting.
Original Image |
|
Very Flat |
|
Blurry |
|
 |
|
 |
|
 |
|
Example 2: Here a simple comparison between a "flat median" and a "regular" one.
Original Image |
|
Flat Median |
|
Regular Median |
|
 |
|
 |
|
 |
|
Example 3: Here a "flat median" applied on the horizontal direction only.
Before |
|
After |
 |
|
 |
Remark: I've been experimenting a lot, about possible ways to
estimate median without sorting datas.
The plugin "Flat Median" represents the result I was able to reach.
This plugin interests you? Click the link below.
 |
Javascript, Please! |
|
|
 |
|