Median filter: Difference between revisions
m
Added a comment.
(New post.) |
m (Added a comment.) |
||
Line 678:
=={{header|Java}}==
The class in the [[Bitmap]] task is reused for this task with an additional method to filter the image using the Wikipedia pseudo-code.
The program is tested with the left half of the sample image file, Medianfilterp.png, in the Wikipedia article.
<syntaxhighlight lang="java">
import java.awt.Color;
|