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
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.
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
Seems you have no clue about FPGA, so you should start reading this: https://www.altera.com/content/dam/altera-www/global/en_US/pdfs/literature/misc/fpgas_for_dummies_ebook.pdf
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
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 : firstname.lastname@example.org regard's Freddy