filmov
tv
Basic Image Processing Using Python Tutorial 4 ( Changing Contrast and Brightness of an image)
Показать описание
To change contrast and brightness in an image, we should have an
understanding of what these two terms mean:
• Contrast: Contrast is the difference between maximum
and minimum pixel intensity.
• Brightness: Brightness refers to the lightness or
darkness of an image. To make an image brighter, we
add a constant number to all the pixels present in it.
Let’s look at the code and the output, to see the difference between
contrast and brightness.
understanding of what these two terms mean:
• Contrast: Contrast is the difference between maximum
and minimum pixel intensity.
• Brightness: Brightness refers to the lightness or
darkness of an image. To make an image brighter, we
add a constant number to all the pixels present in it.
Let’s look at the code and the output, to see the difference between
contrast and brightness.