EmbDev.net

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


Author: Freddy Silaban (Company: Teknok) (freddysilaban)
Posted on:

Rate this post
0 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/Zedb...

Regard's

Freddy

Author: Lothar Miller (lkmiller) (Moderator)
Posted on:

Rate this post
0 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.

Author: Freddy Silaban (Company: Teknok) (freddysilaban)
Posted on:

Rate this post
0 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

Author: Ruckzuck Fresse Dick, Mr. (Guest)
Posted on:

Rate this post
0 useful
not useful
Seems you have no clue about FPGA, so you should start reading this: 
https://www.altera.com/content/dam/altera-www/glob...

Author: fpga pongo (Guest)
Posted on:

Rate this post
0 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

Author: Freddy Silaban (Company: Teknok) (freddysilaban)
Posted on:

Rate this post
0 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

Reply

Entering an e-mail address is optional. If you want to receive reply notifications by e-mail, please log in.

Rules — please read before posting

  • Post long source code as attachment, not in the text
  • Posting advertisements is forbidden.

Formatting options

  • [c]C code[/c]
  • [avrasm]AVR assembler code[/avrasm]
  • [vhdl]VHDL code[/vhdl]
  • [code]code in other languages, ASCII drawings[/code]
  • [math]formula (LaTeX syntax)[/math]




Bild automatisch verkleinern, falls nötig