Operating instructions

Given that you have captured a gray-scale image called "image.dat", convert this to a
bmp file by typing the following in a terminal window:
convert -size 640x480+0 -depth 8 gray:image.dat image.bmp
You can now open "image.bmp" with Gimp and manipulate it to form a mask. This
typically involves painting areas with the draw tools and perhaps using other image
processing tools like the threshold tool and the invert function. The thing to keep in mind
is that in the end, the areas to be ignored should have a pixel value of 255 (white) and
areas to be noticed should have a pixel value equal to the threshold (35-40). Once the
mask is complete, save the result back to "image.bmp". Type the following in a terminal
window to convert the image back to a raw gray-scale file:
convert -size 640x480+0 -depth 8 image.bmp gray:mask.dat