EmbDev.net

Forum: FPGA, VHDL & Verilog Zooming, Brightness, & Contrast Program ov7670 With Spartan 6


von Freddy S. (Company: Teknok) (freddysilaban)


Rate this post
useful
not useful
Hello My Friend...


there anything can help me , I have trouble in the program to create an 
auto brightness and auto contrast from vhdl program . as well as the 
zoom in vhdl.
i am use module FPGA Nesyx 3 Spartan 6...

I use the reference program at :
http://hamsterworks.co.nz/mediawiki/index.php/Zedboard_OV7670

Regard's

Freddy

von Lothar M. (Company: Titel) (lkmiller) (Moderator)


Rate this post
useful
not useful
Freddy S. wrote:
> I use the reference program at : ...
And now show what you have added and tell us whats the problem with 
that. Ask a question about a particular problem. But no one here 
intends to do your homework completely.

A few hints:
1) Brightness
calculate the mean value of the incoming data. If this mean value is 
different from the desired "auto brightness level", then multiply the 
incoming data with a scaling factor. You can get the scaling factor out 
of the calculation "desired brightness / incoming brightness". With a 
little bit thinking no float value is neede here...

2) Contrast
Look for the minimum and the maximum value in the incoming data. If the 
difference between them (thats the contrast) is too less or to much then 
multiply the incoming data with a scaling factor. Here the scaling 
factor is likewise "desired contrast / incoming contrast". Afterwards 
you must scale the brightness, because a change in contrast results in a 
change in brightness.

Look for saturation in those to stages!

3) Scaling
Is much more tricky, because you must store the image in memory. And 
then for "stretching" you must calculate a new image with interpolated 
pixels or for "compressing" you must skip some pixels and interleave 
their values to a new one. In both stages you must weight the "distance" 
of the new pixels to the original pixels.

von Freddy S. (Company: Teknok) (freddysilaban)


Rate this post
useful
not useful
Dear My Friend

apart from the camera ov7670 , what type of camera supports  FPGA 
Spartan 6  Nesyx 3? More easily configured ...

i distress configuration  brightness, contrast , and zooming using 
ov767...

Regard's

Freddy

von Ruckzuck Fresse Dick, Mr. (Guest)


Rate this post
useful
not useful

von fpga pongo (Guest)


Rate this post
useful
not useful
my full respect for those in here who still have the patience to answer 
such threads which are invoked once by a user who will never return

you can order this as a set of cores:

- continous zoom
- auto gain
- auto offset
- auto brighness
- auto whitening
- auto contrast
- auto saturation

... all for SD and DH video, various formats.

prices negotible

von Freddy S. (Company: Teknok) (freddysilaban)


Rate this post
useful
not useful
fpga pongo wrote:
> my full respect for those in here who still have the patience to answer
> such threads which are invoked once by a user who will never return
>
> you can order this as a set of cores:
>
> - continous zoom
> - auto gain
> - auto offset
> - auto brighness
> - auto whitening
> - auto contrast
> - auto saturation
>
> ... all for SD and DH video, various formats.
>
> prices negotible


Dear FPGA pongo


my research on auto brightness and auto contrast using Spartan 6 FPGA 
Nexys 3, until now I have not been successful.
what price for auto brightness and auto contrast to completion?

Can you email in : exasilaban@gmail.com

regard's

Freddy

Please log in before posting. Registration is free and takes only a minute.
Existing account
Do you have a Google/GoogleMail account? No registration required!
Log in with Google account
No account? Register here.