The following steps describe the basic steps in the image processing pipeline:
- Acquisition and storage: The image needs to be captured (using a camera, for example) and stored on some device (such as a hard disk) as a file (for example, a JPEG file).
- Load into memory and save to disk: The image needs to be read from the disk into memory and stored using some data structure (for example, numpy ndarray), and the data structure needs to be serialized into an image file later, possibly after running some algorithms on the image.
- Manipulation, enhancement, and restoration: We need to run some pre-processing algorithms to do the following:
- Run a few transformations on the image (sampling and manipulation; for example, ...