Content deleted Content added
Line 28:
Auto-normalization in image processing software typically normalizes to the full dynamic range of the number system specified in the image file format.
== Example ==
From a visual perspective, normalization is similar to moving and scaling an image. During normalization, an image is squeezed or stretched to a desired extent in different axis, until it fits in the normalization model. For a 2-D image, scaling could happen on the X axis or Y axis, or both, depending on the newMax, newMin. Normalization could help to make patterns appear in a desired area, with the normalized size.
In a line drawing, normalization might change the length and direction of a line, in respect to the desired normalization range. The example shows that the original line has a range of x=[0,5], y=[1,6]. After normalization, the line falls into the normalized range of x=[0,1], y=[0,1].
[[File:Line drawing example.jpg|thumb|line example]]
Another example is a triangle drawing, with the original pattern has a range of x=[-10,10], y=[0,10]. After normalization, the triangle falls into the normalized range of x=[0,1], y=[0,1].
[[File:Triangle pattern plot example.jpg|thumb|triangle pattern example]]
Another common function of normalization is changing the grayscale of an actual photo, by fitting the intensity values of the pixels into a normalized range. The example shows that an original photo with density range of [0,255] is normalized to a density range of [0,127]. After normalization, the photo has much lower brightness, but keeps the other characteristics.
[[File:Original photo normalization.jpg|thumb|original photo]] [[File:Photo after normalization.jpg|thumb|photo after normalization]]
== See also ==
|