# Clipping

Previously in our A to Z series we covered seismic amplitude and bit depth. Bit depth determines how smooth the amplitude histogram is. Clipping describes what happens when this histogram has been truncated. This is often done deliberately to allow more precision for the majority of samples (in the middle of the histogram), but at the cost of no precision at all for extreme values (at the ends of the histogram). One reason to do this, for example, might be when loading 16- or 32-bit data into a software application that can only use 8-bit data, e.g. Landmark's GeoProbe software.

Let's look at an example. Suppose we start with a smooth, unclipped dataset represented by 2-byte integers, as in the top left image in the figure below. Its histogram, to the right, is a close approximation to a bell curve, with no samples, or very few, at the extreme values. In a 16-bit volume, remember, these extreme values are -32 767 and +32 768. In other words, the data fit entirely within the range allowed by the bit-depth.

Now imagine we have to represent this data with 1-byte samples, or a bit-depth of 8. In the lower left part of the figure, you see the data after this transformation; its histogram is to the right. Look at the extreme ends of the histogram: there is a big spike of samples there. All of the samples in the tails of the unclipped histogram (shown in red and blue) have been crammed into those two values: -127 and +128. For example, any sample with an amplitude of +10 000 or more in the unclipped data, now has a value of +128. Likewise, amplitudes of –10 000 or less are all now represented by a single amplitude: –127. Any nuance or subtlety in the data in those higher-magnitude samples has gone forever.

Notice the upside too though: the contrast of the unclipped data has been boosted, and we might feel like we can see more detail in this display. Paradoxically, there is less precision, but perhaps we can interpret it more easily.

How much data did we affect. We remember to pull out our basic cheatsheet and look at the normal distribution, below. If we clip the data at about two standard deviations from the mean (usually very close to zero), then we are only affecting 4.2% of the samples in the data. This might include lots of samples of little quantitative interest (the sea-floor, for example), but is also likely to include samples you do care about: bright amplitudes in or near the zone of interest. For this reason, while clipping might not affect how you interpret the structural framework of your earth model, you need to be very aware of it in any quantitative work.

Have you ever been tripped up by clipped seismic data? Do you have any tips for avoiding severely clipping your amplitudes? Leave a comment!