Contrast/Brightness with OV7670


Luminosity/Brightness control can be implemented on OV7670 sensor using their respective registers, as shown bellow.

 

Contrast

OV7670 register responsible for this is: 0x56.

Note: High contrast will make picture look sharper, however, will impact the dynamic range.

Contrast +2
(0x56, 0x50)

Contrast +1
(0x56, 0x40)

Contrast 0
(0x56, 0x50)

Contrast -1
(0x56, 0x38)

Contrast -2
(0x56, 0x30)

 

Brightness

OV7670 register responsible for this is: 0x55.

Note: High brightness will make picture brighter, however, will also make the picture looks “foggy”.

Brightness +2
(0x55, 0x30)

Brightness +1
(0x55, 0x18)

Brightness 0
(0x55, 0x00)

Brightness -1
(0x55, 0x98)

Brightness -2
(0x55, 0xb0)
Advertisements

One thought on “Contrast/Brightness with OV7670

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s