next up previous
Next: Arbitrary resizing Up: resize Previous: Enlargement

Reduction

Image size can be easily reduced by subsampling, e.g., getting rid of every other pixel in each row and column:


\begin{displaymath}f_{4 \times 4}=\left[ \begin{array}{cccc} 1 & 2 & 4 & 3  2 ...
...
\left[ \begin{array}{cc} 99 & 8  2 & 4 \end{array} \right]
\end{displaymath}

In any of the four possible subsampling cases, three fourths of the information contained in the original image is lost. A better way is to find the average of a $2 \times 2$ neighborhood as the resulting pixel:


\begin{displaymath}\left[ \begin{array}{cccc} 1 & 2 & 4 & 3  2 & 99 & 3 & 8 \\...
...t[ \begin{array}{cc} 26 & 4.5  2.5 & 2.5 \end{array} \right]
\end{displaymath}

Again, this operation can be implemented in a two-step process:



Ruye Wang 2014-09-12