Академический Документы
Профессиональный Документы
Культура Документы
Image enhancement approaches fall into two broad categories: spatial domain methods and frequency domain methods. The term spatial domain: refers to the Image plane itself, and approaches in this category are based on direct manipulation of pixels in an image. Frequency domain: processing techniques are based on modifying the Fourier transform of an image.
g(x, y) = T[f(x, y)]. F(x, y) the input image, g(x, y) the processed (output) image. T operator on f defined over some neighborhood of (x, y).
//(el.3mlia elle btt3ml le.f elle heia el.function 3ala shoaiet x we y ). The principal approach to perform an enhancement is: enne a3rf neighborhood le point mo3ina (x,y) w b3rf el geiran dol 3an tari2 enne bst5dm a square or rectangular sub image area markazha el (x, y) de, el.markaz bta3 el-sub image is moved from pixel to pixel starting, say, at the top left corner. The operator T is applied at each location (x, y) to yield the output (g), at that location. The simplest form of T: is when the neighborhood is of size 1*1 (that is, a single pixel). In this case, g depends only on the value of f at (x, y) and T becomes a gray-level (also called an intensity or mapping) transformation of the form (s = T(r)) (r and s): are variables denoting, respectively, The gray level of f(x, y) and
g(x, y) at any point (x, y).
For example, if T(r) has the form shown in Fig. 3.2(a) : The effect of this transformation would be to produce an image of higher contrast than the original by darkening the levels below( m) and brightening the levels above( m) in the original image.-->( this technique, Known as contrast stretching).
Contrast stretching: the values of r below m are compressed by the transformation function into a narrow range of s, toward black. The opposite effect takes place for values of r above m.
FIGURE 3.2 (a) Gray level Transformation Functions for Contrast Enhancement.
In Fig. 3.2(b), T(r) produces a two-level (binary) image. A mapping of this form is called (a thresholding function.)
FIGURE 3.2 (b) Gray level Transformation Functions for Contrast Enhancement.
Point processing techniques: enhancement at any point in an image depends only on the gray level at that point.
Shows a typical transformation used for contrast stretching. The locations of points (r1, s1) and (r2, s2) control the shape of the transformation function. If r1=s1 and r2=s2, the transformation is a linear function that produces no changes in gray levels. If r1=r2,s1=0and s2=L1, the transformation becomes a thresholding function that creates a binary image, Intermediate values of (r1, s1) and (r2, s2)produce various degrees of spread in the gray levels of the output image, thus affecting its contrast. In general, r1<= r2 and s1 <=s2 is assumed so that the function is single valued and monotonically increasing. This condition preserves the order of gray levels, thus preventing the creation of intensity artifacts in the processed image.