Engineers-Excel.com

     
Engineering using Spreadsheets

Image Processing

Description
How it works

This tool shows how Excel can be used for implementing image processing algorithms.

Download

.xls file (173 KB) or .zip file(53 KB)

How to use

The image that we want to process is made of 256 rows and 256 columns of coloured cells starting from cell A1. The cells are sized 1 pixel by 1 pixel. One source of such images could be the Mandelbrot fractal generator tool.

Click the various buttons below the input image to process it. The image is processed and the output shown in the cells starting from A270.

Macros must be enabled for this tool to work.

Functions provided

The following functions have been implemented in this tool:

1. Rotation : Turning the image to the left or right;
2. Flip: Flipping the image horizontally or vertically;
3. Black and White: Converting the image to 2 colours - black and    white;
4. Colour Inversion: Inverting the colours in the image - this is like creating a negative of the image;
5. Gray Scale: Creating the images in shades of gray; and
6. Colour Filter: Removing specified colours from the image.

There are more image processing algorithms that can be implemented, this tool is a "proof of concept" that spreadsheets can be used for (conviniently) testing image processing algorithms.

Image Processing

The screen shot shows an image (top left), its negative (top right), the same image in gray scale (bottom left) and with its green colour filtered (bottom right).