This series of photographs and their associated histograms covers aesthetically pleasing bimodal histograms.
Histogram 1: A sky with texture
This image (of a building in Edinburgh) has a broad spectrum of intensity values. The histogram is bi-modal with two distinct humps. The right peak is associated with the overcast sky (and white van). The left shallow mound comprising both midtones and shadows makes up most of the remaining image content. There is a small flat region in between the two that makes up features like the lighter portions of the building. Note that pixels maps on the right of the histogram below show the associated pixels in black.
Histogram 2: Out on the lake
This photograph of the Kapellbrücke was taken in Lucerne, Switzerland. The histogram is bimodal, and asymmetric, and reflects the information in the image: the left hump (①) is associated with the lower portion of the image (shadows and midtones), and the right peak (② highlights) with the sky. There is relatively well contrasted image. The clouds have some good variation in colour, as opposed to begin pushed completely into the whites.
Fujifilm X10 (12MP): 7.1mm; f/9; 1/800
Histogram 3: Carved in stone
This is a photograph of the Lion of Lucerne, in Lucerne, Switzerland. It provides a classic asymmetric bimodal shaped histogram. The left mound, ①, contributes the images dark, shadowy regions, whereas the remaining, larger peak ②, bias towards highlights, defines most of the remaining image. It is well contrasted given that a shadow is cast on the sculpture as it is relief into the wall. The overlapping region between the two entities, ③, forms the transition regions from ① to ②, often visualized in the picture as regions of low “shadow”.
One of the most important characteristics of a histogram is its shape. A histogram’s shape offers a good indicator of an image’s ability to tolerate manipulation. A histogram shape can help elucidate the overall contrast in the image. For example a broad histogram usually reflects a scene with significant contrast, whereas a narrow histogram reflects less contrast, with an image which may appear dull or flat. As mentioned previously, some people believe an “ideal” histogram is one having a shape like a hill, mountain, or bell. The reality is that there are as many shapes as there are images. Remember, a histogram represents the pixels in an image, not their position. This means that it is possible to have a number of images that look very different, but have similar histograms.
The shape of a histogram is usually described in terms of simple shape features. These shape features are often described using geographical terms (because a histogram often reminds people of the profile view of a geographical feature): e.g. “hillock” or “mound”, which is a shallow, low feature, “hill” or “hump”, which is a feature rising higher than the surrounding areas, a “peak”, which is a feature with a distinctly top, a “valley”, which is a low area between two peaks, or a “plateau” which is a level region between other features. Features can either be distinct, i.e. recognizably different, or indistinct, i.e. not clearly defined, often blended with other features. These terms are often used when describing the shape of a particular histogram in detail.
Fig.1: A sample of feature shapes in a histogram
From the perspective of simplicity, however histogram shapes can be broadly classified into three basic categories (examples are shown in Fig.2):
Unimodal – A histogram where there is one distinct feature, typically a hump or peak, i.e. a good amount of an image’s pixels are associated with the feature. The feature can exist anywhere in the histogram. A good example of a unimodal histogram is the classic “bell-shaped” curve with a prominent ‘mound’ in the center and similar tapering to the left and right (e.g. Fig.2: ①).
Bimodal – A histogram where there are two distinct features. Bimodal features can exist as a number of varied shapes, for example the features could be very close, or at opposite ends of the histogram.
Multipeak – A histogram with many prominent features, sometimes referred to as multimodal. These histograms tend to differ vastly in their appearance. The peaks in a multipeak histogram can themselves be composed of unimodal or bimodal features.
These categories can can be used in combination with some qualifiers (numeric examples refer to Figure 2). For example a symmetric histogram, is a histogram where each half is the same. Conversely an asymmetric histogram is one which is not symmetric, typically skewed to one side. One can therefore have a unimodal, asymmetric histogram, e.g. ⑥ which shows a classic “J” shape. Bimodal histograms can also be asymmetric (⑪) or symmetric (⑬).
Fig.2: Core categories of histograms: unimodal, bimodal, multi-peak and other.
Histograms can also be qualified as being indistinct, meaning that it is hard to categorize it as any one shape. In ㉓ there is a peak to the right end of the histogram, however the major of the pixels are distributed in the uniform plateau to the right. Sometimes histogram shapes can also be quite uniform, with no distinct groups of pixels, such as in example ㉒ (in reality though these images are quite rare). It it also possible that the histogram exhibits quite a random pattern, which might only indicate quite a complex scene.
But a histogram’s shape is just its shape. To interpet a histogram requires understanding the shape in context to the contents of the scene within the image. For example, one cannot determine an image is too dark from a left-skewed unimodal histogram without knowledge of what the scene entails. Figure 3 shows some sample colour images and their corresponding histograms, illustrating the variation existing in histograms.
Fig.3: Various colour images and their corresponding intensity histograms