Image Processing
A number of programs that deal with images and sounds depend on
putting important information in an array and then building a new
array by making changes. A good example of this is a program that can
modify digital music. It is fairly easy to change the tempo or even
the octave of a tune by holding it in a one-dimensional array and then
copying while modifying the sounds.
In class we went over an example
program that helped the
user process images. Operations available were transforming to
grayscale, flipping the image either horizontally or vertically,
blurring the image, or rotating it. One unusual feature of the
program is that we decided to have the first coordinate represent the
column rather than the row, so keep that in mind while reading it.