Pattern Extraction Using Histogram ◾ 147
is histogram is skewed. ere are few classes with large weighted methods
per class. e larger the number of methods in a class, the greater the potential
effect on children; children inherit all the methods defined in the parent class.
Classes with many methods are likely to limit the possibility of reuse. ey are also
difficult to understand and test. ose few complex objects require review and a
relook. A lot more metrics show skewed shapes; time to repair, defect density, and
productivity are known for their skew.
BOX 10.1 HISTOGRAM IN CAMERAS
Histogram is a digital signature of reality. It is used in modern digital cam-
eras to present a pictorial view of light intensity in the field of view. e light
profile of objects seen through the lens is scanned, digitized, and converted
into a histogram. e photographer can derive clues from this histogram to
the settings required to get a good picture.
Understanding image histograms is probably the single most important
concept to become familiar with when working with pictures from a digital
camera. A histogram can tell you whether or not your image has been prop-
erly exposed, whether the lighting is harsh or flat, and what adjustments will
work best. It will not only improve your skills on the computer, but as a pho-
tographer as well. (http://www.cam bridgeincolour.com/tutorials/histograms1
.htm)
Before the histogram, photography enthusiasts had to go through a lot
more effort to get good exposures.
Image editors typically have provisions to create a histogram of the
image being edited. e histogram plots the number of pixels in the
image (vertical axis) with a particular brightness value (horizontal axis).
Algorithms in the digital editor allow the user to visually adjust the bright-
ness value of each pixel and to dynamically display the results as adjust-
ments are made. Improvements in picture brightness and contrast can thus
be obtained. (http://en.wikipedia.org/wiki/Image_editing)