Logarithm Contrast Enhancement/Scaling

Building the Cantata Workspace


Show the scaling problem using a in 1D table. Following the steps outlined below:
  1. Create a 1D ramp signal of length 100 and values ranging from 0 to 21. Use the Piecewise Linear operator.
  2. Take its logarithm and plot it using the operators Logarithm and 2D Plot.
  3. Repeat the last step with the ramp multiplied by a factor of 255.
Show the scaling problem in an image following the steps outlined below:
  1. Use the image log-enhance-problem.viff to work on this experiment. Read and display the image using operators User defined and Display Image.
  2. Repeat steps 2 and 3 above but now applied to the image.
  3. Implement one simple solution to overcome this scaling problem by multiplying by a factor of 50 before taking the logarithm. Apply this technique to both the original log-enhance-problem.viff image and the one scaled by 255. Compare the results.

Exercises


DIP Feedback Form

Copyright © 1995 KRI, ISTEC, Ramiro Jordán, Roberto Lotufo. All Rights Reserved.