The highs and lows of histograms

TV-Bay Magazine
Read ezine online
Histogram displays for video analysis probably followed those found in common computer graphics programs such as Adobe Photoshop. This can be very useful in finding video signal problems that would be difficult or impossible to see with a conventional waveform display.
The histogram is a way of showing statistical results as a bar-chart. The range of possible signal values goes on the x-axis whilst a count of each is presented as the height of each bar. The most frequently occurring values show as peaks. When this technique is applied to live video, all the count heights are automatically scaled to whichever is the highest of the available space. This is done to make the whole display a sensibly scaled size. This normalisation is why a live histogram can appear to dance up and down as the scaling is varied to match the changes in the peak values.
Generating a live histogram involves quite a lot of computation. There is a bank of counters, one for every possible pixel value. As all pixels in each frame are sampled, the value-specific counter is incremented. At the end of each TV frame all the counters are scanned to find the highest and the scaling factor for 100% computed. Each counter is then read out and multiplied by the scaling factor to build the height of each bar. This normalised chart is then drawn by the systems graphics in real time, frame by frame.
The histogram display can be applied to luma (brightness) or to the red, green and blue signal components. These are able to show some common potential faults. A high percentage at either end of the graphs can show blacker-than-black or whiter-than-white arising from gamut errors. In 8 bit video these values are 0-15 for ultra-black and 236–255 for over-white. A small percentage of these excursions caused by overshoots are normal and quite allowable.
If the graph resembles a comb or teeth with fixed spacing gaps between dancing live values then these are quantisation errors. Missing code values will show as contours on areas of gentle graduation like a piece of sky in shot. This can be very distracting particularly with fades. If the ‘teeth’ are regular, they are most likely to have come for transcoding from a lower bit range, contrast resolution or processing. Single fixed gaps can come from hardware faults like troublesome capture cards with missing codes.
If the histogram is used in the edit suite, the overall contrast range can be monitored. If the contrast is expanded because the high-lights are too dim or the blacks look grey, the range can be optimised. The contrast expansion could introduce quantisation gaps although some editing packages can interpolate to avoid this problem. The best policy is to shoot with a full exposure range in the first place. This can be ensured by observing histograms as well as waveform monitoring whilst on-set.
RGB histograms can be used similarly to luma but are not easily applied to colour-matching tasks. The exception is in 3D where both left and right eye histograms in RGB can show the discrepancies between the camera adjustments that need attention. To help comparisons, a line graph of just the peak values can be shown instead of a bar chart. This then allows a readable superimposition of left and right eye data.

Nearly all modern video instruments feature histogram capabilities. They can also be a built-in facility on normal video and viewfinder screens. For instance, the Cel-Soft Reel-Check Solo uses PC software image processing that can show multiple histograms and many other displays including SD/HD/2K and even 4K. Similarly for 3D production or post, the Cel-Scope 3D software suite can superimpose left and right eye luma or RGB histograms for real-time comparison and matching as line graphs or bar-charts.

Robin Palmer is Managing Director of Cel-Soft and is habitually involved with solutions for 3D & TV technology

Tags: iss071 | cel-soft | histogram | cel-scope | rell-check solo | N/A
Contributing Author N/A

Read this article in the tv-bay digital magazine
Article Copyright tv-bay limited. All trademarks recognised.
Reproduction of the content strictly prohibited without written consent.

An Epiphany Moment
Peter Savage 2 I had been negotiating the sale of my company and had reached the really hard end of the bargain. We were close to agreeing the final sum after a lot of too-much-give-and-not-enough-take negotiation. The solicitors were calling me, keen for a deal. It had come down to one sticking point and, in my hard ball “I am the Wolf of Wall Street” guise, I wasn’t going to let it go. It would make a value difference of 1.5% on the total outcome. Not much, you might think, but I had already nearly fallen out with the solicitors over their fees and I was giving my advisors an extremely hard time because the corporate adviser couldn’t see how I had already given more than an inch and the buyers were taking more than a mile. I was not going to let them win.
Tags: iss134 | azule | finance | Peter Savage 2
Contributing Author Peter Savage 2 Click to read or download PDF
Using Wireless Transmission
Jeremy Benning Wireless acquisition is a staple of live sports, entertainment and reality shows where cable free capture permits shots not previously possible, for health and safety reasons, and gives the camera-operator greater artistic licence to roam. The same is increasingly true of narrative drama where cinematographers are keen to work handheld or Steadicam where that helps tell the story. Any equipment which frees their movement and time by being lighter, easier to use and reliable in performance is going to tick a lot of boxes.
Tags: iss134 | wireless | 4k | transmission | Jeremy Benning
Contributing Author Jeremy Benning Click to read or download PDF
Shedding Light on the Blackmagic Pocket Cinema Camera 4k BMCPP4K
Garth de Bruno Austin “What is it about light that has us craving it?” Is the question asked in the opening seconds of Garth de Bruno Austin’s latest short, The Colour of Light. Exploring this natural, human need as well as our innate desire to control it, Garth’s film showcases everyday people going about their lives in differing degrees of luminance, whether that be an artificial streetlight or a natural morning sunrise.
Tags: iss134 | blackmagic | cinema camera | 4k | cpp4k | Garth de Bruno Austin
Contributing Author Garth de Bruno Austin Click to read or download PDF
The brave new world of software based production
Boromy Ung In today’s rapidly evolving broadcast industry, the only constant media organizations can truly count on is change — and the need to adapt as rapidly and cost-effectively as possible. One of the biggest agents of change is the IP revolution, driving broadcasters to migrate their operations to all-software solutions running on commodity, IT-based technologies.
Tags: iss134 | chyronhego | graphics | sports | ott | Boromy Ung
Contributing Author Boromy Ung Click to read or download PDF
Sony HDC-4800 Review
Andy McKenzie First announced at NAB 2016, the Sony HDC-4800 is a studio camera system capable of shooting 4K/UHD at up to 8x or full HD at up to 16x. With a price point upwards of £250,000 it is a very high-end product with a wide feature set. In Sony's own words, "This is the future of live production, designed to satisfy the storytelling aspect of modern sports production.” Deliveries began in mid 2017 and, after careful preliminary evaluation, we invested in several systems for our hire fleet ahead of the FIFA World Cup in Russia.
Tags: iss134 | review | hdc-4800 | sony | finepoint | Andy McKenzie
Contributing Author Andy McKenzie Click to read or download PDF