| 1 | ||
|
Editor: 10.1.0.1
Time: 2005/11/12 14:17:45 GMT+0 |
||
| Note: | ||
changed: - <h1>Median Filter</h1> <h2>Purpose</h2> This filter is used when you want to reduce random pixelized noise, i.e. noise that does not have a specific multipixel pattern. <h2>Brief explanation of the algorithm</h2> Taking a 3x3 pixel matrix, the algorithm calculates the statistical median of the values.<br> Example:<br> '10 20 40'<br> '20 35 30'<br> '23 33 44'<br> The median of those value is 30, so the value 30 is substituted to the one of the central pixel. The output matrix is:<br> <br> '10 20 40'<br> '20 30 30'<br> '23 33 44'<br> <h1>Minimum Filter</h1> <h2>Purpose</h2> This filter has a similar behaviour with respect to the Median Filter, but producing a somewhat darker output. It is useful when you know that random pixel noise is made of brighter pixels than the surroundings. <h2>Brief explanation of the algorithm</h2> Taking a 3x3 pixel matrix, the algorithm calculates the statistical minimum of the values.<br> Example:<br> '10 20 40'<br> '20 35 30'<br> '23 33 44'<br> The minimum of those value is 10, so the value 10 is substituted to the one of the central pixel. The output matrix is:<br> <br> '10 20 40'<br> '20 10 30'<br> '23 33 44'<br> back to CinePaintDocumentation
10 20 4020 35 3023 33 44The median of those value is 30, so the value 30 is substituted to the one of the central pixel. The output matrix is:
10 20 40
20 30 30
23 33 44
10 20 4020 35 3023 33 44The minimum of those value is 10, so the value 10 is substituted to the one of the central pixel. The output matrix is:
10 20 40
20 10 30
23 33 44
back to CinePaintDocumentation