Digital Image Processing: Lab 2: Image Enhancement in The Spatial Domain
Digital Image Processing: Lab 2: Image Enhancement in The Spatial Domain
Waqar Tanveer
Department of Computer Engineering
Bahria University, Islamabad
Image Negative
Figure: c = 1, γ = 4 Figure: c = 1, γ = 5
Digital Image Processing 8 / 16
Plot of Power-Law Tranformation
Task 1
Consider any gray scale image, find its negative and display
both original and output images.
Consider any rgb image, find its negative and display both
original and output images.
Explain each step of task in 2,3 lines along with figures. Also
include the code.
Task 4
Explain each step of task in 2,3 lines along with figures. Also
include the code.