(IJCSIS) International Journal of Computer Science and Information Security,Vol. 10, No. 8, August 2012
as images of Video, scenes from several cameras, severaldimensions of data taken from a medical imaging device.Some examples of applications of image processing :
Application is able to identify the objects or personswithin the image
Applications of automatic control (the robot and motor vehicles).
Build models of objects or the environment (industrialinspection, medical image analysis).
Application is able to follow a moving object within animage
Application is able to see the third dimension from oneor more two-dimensional image (or from an image and amoving laser light) .
COLOR CONCEPTS IN DIGITAL IMAGES
Form the color model red, green and blue (RGB), a color model combines the lights red, green and blue with each other in different ways to generate a wide range of colors.The main objective of the RGB color model is sense, generateand display the images in electronic devices, such as computer screens . The digital image is divided based on the colorsinto three main types:
The binary image is the simplest basic types of digital images;each element of the image represents the one of value twovalues that is displayed as white and black. Numerically, thetwo values are represent by "1" for white and "0" for black andstored in a two-dimensional matrix of zeros and ones. The binary image is also called several names as MonochromeImage, 1 Bit Image Pixel or Black and White Image because ittakes a binary representation for each point .
The Gray Level Images
Gray Level images Contain lighting information only, with nocolor information. This type is commonly used in digitalimage processing. The colors in this type of images are shadesof grayscale, as the gray color is produced when the values of intensity of the colors red, green and blue are equal in thespace of RGB. The number of bits used for each pixel of lightdetermines the number of lighting levels, and ideal image datacontains (8Bit / Pixel), it is allow us to have 0-255 of thedifferent gray gradients . The grayscale images arecommonly used due to the fact that a lot of display devices andthe acquisition systems can process images of (8 Bit)Moreover, the grayscale images are easy for many tasks, andthere is no need to use of harder and more complex processesas is the case of color images .
The Digital Color images
The digital Color images represents by a separate values of theintensity of the three main colors (RED, GREEN, BLUE), because the color of each pixel is set at a gathering of thosecolors intensities. For storing 24 Bits color images, each color is represented by 8 Bits. This produces 16 million potential.The pixel of color (0, 0, 0) was black and the pixel of thecontents of color (255, 255, 255) was white, so this type of image is known as the (24-Bit Color Image). It is efficientlycover the full range of colors that understood by the humaneye but there are some disadvantages in using this type of images, where it needs more memory and takes longer tostorage .The 24-bit color images are also called true color images because each color values is presented fairly the on-screen bythe real number of bit (8 bits) for each color of the three primary colors (red blue and green). These images representthe matrix as follows:
………………BGR BGR BGR
……………… …(1)BGR BGR BGR
………………BGR BGR BGR
In other words, each pixel is a 24-bit number (0 - 16,777,215)and the most important characteristics of these images to behigh precision and homogeneity of the colors is very large,making it a clear vision .But at the same time, these images contain unimportantinformation or features that could be canceled and deletedwithout affecting the image.III.
When we think of hiding in a text within images, you willsurely need certain pixels to store text; these pixels must havecertain characteristics collected within a certain type.Since we want to remove these pixels of commonality surelythe characteristics must be unimportant so that when it ischanged, it is not affected or at least the effect will not bevisible.Based on this, we need a certain algorithm to divide the imageto a number of varieties. The classification algorithms could be used to do that. The K-Means clustering algorithm is ahigh-quality classification algorithm, with a definite result inaccess to the target that is required. The K-Means clusteringalgorithm has been developed in 1967 by J. MacQueen andthen in 1975 was developed by both J. A. Hartigan and M. A.Wong. This algorithm is based on the classification of objectsdepending on the specific properties of this object.The mathematical representation of k-means algorithm isas follows  [6
Step 1: determine the number of classes (the value of k).Step 2: Choose the centers Zi of these classes. In this work, anew class selection was proposed that is by calculation theminimum and maximum of an image and selection the medianvalues in between ending with the number of applied classes.Figure (1) shows the class selection technique