Author Topic: Build an Overexposure Detector for Video Cameras  (Read 2990 times)

0 Members and 1 Guest are viewing this topic.

Offline kolbepTopic starter

  • Frequent Contributor
  • **
  • Posts: 600
  • Country: za
    • ShoutingElectronics.com
Build an Overexposure Detector for Video Cameras
« on: April 22, 2014, 08:14:59 pm »
Hi.

I was wondering if anybody has an idea if this can be done.

I do part time videoing of Weddings / School Plays, etc.
I use multiple cameras, but only the cheap consumer ones, that do not have zebra stripes to allow me to see if there is overexposure.


What I was wondering is, if there is a way to extract the exposure levels from the Composite PAL output of the camera.
(I do not know much about Video Formats, but if there is a way to filter out everything except the levels, and then feed this into a PIC (or even Opamp if it is not too complicated), and then give an output as a percentage of the picture that is overexposed?
Or even maybe hijack the video signal after this detection, and mask areas that are overexposed, or that are exposed above 80%, and then combine this masking with the original signal, which is outputted to a composite LCD?

Any Tips

P
====================================
www.ShoutingElectronics.com Don't just talk about Electronics, SHOUT ABOUT IT! Electronics Blog Site and Youtube Channel
 

Offline free_electron

  • Super Contributor
  • ***
  • Posts: 8550
  • Country: us
    • SiliconValleyGarage
Re: Build an Overexposure Detector for Video Cameras
« Reply #1 on: April 22, 2014, 08:48:31 pm »
nope. in the pal signal it is already clipped. you need the stream between camera sensor and video processor.

buy cameras with zebra markers.
Professional Electron Wrangler.
Any comments, or points of view expressed, are my own and not endorsed , induced or compensated by my employer(s).
 

Online NiHaoMike

  • Super Contributor
  • ***
  • Posts: 9214
  • Country: us
  • "Don't turn it on - Take it apart!"
    • Facebook Page
Re: Build an Overexposure Detector for Video Cameras
« Reply #2 on: April 22, 2014, 09:21:53 pm »
You could just check if it's getting too close to saturation. You'll lose a slight amount of dynamic range but not enough to really affect video quality.
Cryptocurrency has taught me to love math and at the same time be baffled by it.

Cryptocurrency lesson 0: Altcoins and Bitcoin are not the same thing.
 

Offline tom66

  • Super Contributor
  • ***
  • Posts: 7010
  • Country: gb
  • Electronics Hobbyist & FPGA/Embedded Systems EE
Re: Build an Overexposure Detector for Video Cameras
« Reply #3 on: April 22, 2014, 10:27:52 pm »
First, clamp the video at -0.3V using a diode-capacitor clamp or an active video clamp.

Use a sync separator like LM1881, LMH1981 to determine active video area (BPULSE.)

Set a comparator at something like 100 IRE (~715mV), gated by BPULSE, anything over that maybe latch an LED (d-type/jk-flipflop), use the ODD/EVEN pin to reset on each field.

Optional bonus points: average comparator output and feed into a bargraph driver LM3914/16 to get a "percentage" clip meter.

You might get some false detections at exactly 100% bright - so turn down camera exposure a couple percent to avoid this.

Not done video stuff for a while, studied it in detail a couple years back for another project; would this work?
« Last Edit: April 22, 2014, 10:30:00 pm by tom66 »
 

Online Someone

  • Super Contributor
  • ***
  • Posts: 4959
  • Country: au
    • send complaints here
Re: Build an Overexposure Detector for Video Cameras
« Reply #4 on: April 22, 2014, 11:32:34 pm »
nope. in the pal signal it is already clipped. you need the stream between camera sensor and video processor.
So all the professional monitoring solutions which apply zebras on the video stream are a waste of time? A waveform or histogram view might be more appropriate in precise situations but shooting with zebras is a good compromise when you only have attention or space for a single screen.
buy cameras with zebra markers.
Yes, probably the cheaper solution.

Google returns lots of options for the OP:
"lcd composite zebra exposure"
But then they need mounting and a power supply and cabling, which adds up if you are the sort of person concerned about the cost difference between a $300 camera and a $500 camera.
 

Offline vk6zgo

  • Super Contributor
  • ***
  • Posts: 7699
  • Country: au
Re: Build an Overexposure Detector for Video Cameras
« Reply #5 on: April 23, 2014, 02:36:37 am »
A Waveform Monitor gives you all the information you need,but you need to look at it as well as the viewfinder---difficult unless you have two heads! ;D

That said,with a little experience,you should be able to see the exposure level reasonably well,just looking at the picture on  your viewfinder,assuming it looks at the video output.

Broadcast cameras were fitted with automatic systems to do this,but they were usually too slow & were not used.
Instead,a Camera Control Unit operator watched the levels on a Waveform Monitor & adjusted as they went along.

A particular nightmare was when a football player ran through the line of shadow from the grandstand.

One moment--perfectly exposed,next---down in the blacks--adjust like mad,then he kicks the footy,& it goes to someone standing in bright sunlight---instant overexposure & white clipping.

Even HD Digital Broadcast cameras suffer from this problem----I suspect that they leave them on "auto".
 

Offline SL4P

  • Super Contributor
  • ***
  • Posts: 2318
  • Country: au
  • There's more value if you figure it out yourself!
Re: Build an Overexposure Detector for Video Cameras
« Reply #6 on: April 23, 2014, 12:03:46 pm »
What tom66 said.

You should also filter for (Y) luminance only, or use Y in a component or SVHS output if you have them available.

If you leave the chroma on the signal, you'll be triggering on the colour modulation as well as the luminance (doing it all properly is a project on colourspace, gamma and gamuts in itself@!)
Don't ask a question if you aren't willing to listen to the answer.
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf