Convert the intensity value of the current pixel, Computer Graphics

Step1:  Read a text file which we want to hide.

Step2:  Transform it into an array of its binary value.

Step3: Transform this array into its equivalent one dimensional array and compute the array size

Step4: Read the cover image file.

Step5: Transform to its pixel value array.

Step6: For each pixel of the input image; Convert the intensity value of the current pixel into the binary form. Assign one element of the text array  into the last bit of the binary value.

Step7: Repeat step6 upto the text array size.

Step8: Save the encoded image.

Step9:  Create a text file and read the encoded image.

Step10: Transform the encoded image to its pixel array.

Step11: Pick a pixel and transform to its binary form and pick the 8th bit, store it in another array 'a'(1*8 array).

Step12:Transform a from binary to string and return it to the newly created file.

Step13:Repeat step11 & step12 upto the array size computed in step3.

Step14: End.

Posted Date: 4/15/2013 12:48:19 AM | Location : United States

Related Discussions:- Convert the intensity value of the current pixel, Assignment Help, Ask Question on Convert the intensity value of the current pixel, Get Answer, Expert's Help, Convert the intensity value of the current pixel Discussions

Write discussion on Convert the intensity value of the current pixel
Your posts are moderated
Related Questions
Common Steps of Designing the Animation Sequence Common Steps of designing the animation sequence are as given: 1) Layout of Storyboard: Storyboard layout is the action ou

Accessories : A Screen Grabber is a necessary accessory. Bitmap images are so common in multimedia, that it is important to have a tool for grabbing all or part of the screen disp

Polygon Clipping - Raster Graphics and Clipping After considerate the idea of line clipping and its algorithms, we can currently extend the idea of line clipping to polygon cl

AUDIO AND VIDEO: Audio and video are working as eye and ear of multimedia. Both of them are heavily contributing to any type of multimedia application. Here we discuss something r

Homogeneous Coordinate Systems - 2-d and 3-d transformations Suppose P(x,y) be any point in 2-D Euclidean (Cartesian) system. In HC System, we add a third coordinate to a poin

What you mean by parallel projection?  Parallel projection is one in which z coordinates is discarded and parallel lines from every vertex on the object are extended unless the

Assumptions for Polygon or Area Clipping Algorithm Assumption: The viewport and window are rectangular. So only, by identifying the maximum and the minimum coordinates t

QUESTION (a) Describe the following Mean Filters used as Noise Reduction filters: 1. Arithmetic Mean Filter. 2. Geometric Mean Filer. 3. Harmonic Mean Filter. You a

cathode ray tube is an analog or digital device

Explain application areas of computer graphics in different areas.    Early computer graphics has only certain special capabilities such as straight lines circles and ellipses