Example: Separating and Combining RGB Components
1. Consider the following image.
dog.bmp
2. Use READ_RED to read the red component of an image.
3. Use READ_GREEN to read the green component of an image.
4. Use READ_BLUE to read the blue component of an image.
5. Manipulate the red and the blue values.
6. Use the augment function to create a packed image matrix.
7. Write out the graphic file to create a new image.
The new image is displayed in different colors.