Logarithm Contrast Enhancement/Scaling
Building the Cantata Workspace
Show the scaling problem using a in 1D table. Following the steps outlined
below:
- Create a 1D ramp signal of length 100 and values ranging
from 0 to 21. Use the
Piecewise Linear operator.
- Take its logarithm and plot it using the operators
Logarithm and
2D Plot.
- 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:
- Use the image log-enhance-problem.viff to work on this
experiment. Read and display the image using operators
User defined and
Display Image.
- Repeat steps 2 and 3 above but now applied to the image.
- 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
- Can you propose a better way of using a contrast enhancement
table that would not have this effect?
DIP Feedback Form