Pseudocolor Applications
Building the Cantata Workspace
- Read and display the image $DIP/data/retina.viff using operators
User defined and
Display Image.
- Insert a ramp grey scale on the image.
- Use operator
Piecewise Linear to generate a 10 x 128 grey-level downward ramp.
- Use operator
Flip so that the ramp has increasing values from bottom to top.
- Use operator
Convert Type to make the values unsigned byte.
- Use operator
Pad to create a border of width 1 pixel and value 255 around the
grey-scale image.
- Use operator
Inset to overlay the ramp scale on the original image.
- Display the resultant image.
- Use the
Autocolor operator
to pseudocolor the image. Note that Autocolor adds a map to the image file
and that the pixel contents displayed under the mouse in the
Display Image
operator show each pixel as an index. In
this manner, although the image has been pseudocolored, the pixel
index still contains the original grey value.
Exercises
- Experiment with the different colortables. Some will enhance
certain features more than others.
- The SA-Pseudo colortable was published in
Scientific American. What is its main feature?
DIP Feedback Form