Ardo Illaste edited res_pre.md  about 10 years ago

Commit id: 54802328f90c08c6558a082dad756c0e706d72e1

deletions | additions      

       

### Image preprocessing  The only preprocessing step used is convolving the image with a \((2n+1)\times(2n+1)\) kernel where the center element is \(1/(n+1)\) and the k-th layer surrounding the center is made up of values \(1/(8k\cdot(n+1))\). For example, when n=1 the kernel would be   \[  \left( \begin{array}{ccc} \tfrac{1}{16} & \tfrac{1}{16} & \tfrac{1}{16}\\\\  \tfrac{1}{16} & \tfrac{1}{2}& \tfrac{1}{16}\\\\  \tfrac{1}{16} & \tfrac{1}{16} & \tfrac{1}{16} \tfrac{1}{16}\\\\  \end{array} \right) \]  Convolving the image with thiskind of  kernel reduces the noise while retaining more of the original signal than simple averaging. Contributions from the i-th layer around the center will have the same weight as the central pixel. In this work we use the kernel with \(n=1\).