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
Animation and Games - CAD and CAM In our childhood, we all have seen that the flip books of cricketers that came free with some soft drink and where some pictures of similar p


Graphic Primitives In previous section, we have discussed refreshing display devices and its categories which are Raster and Random Scan display devices. We have also discusse

Assume here are three polygon surfaces P,Q, R along with vertices specified by as: P: P1(1,1,1), P2(4,5,2), P3(5,2,5) And as Q: Q1(2,2,0.5), Q2(3,3,1.75), Q3(6,1,0.5) R: R1(0.5,

Explain working of CRT

What is homogeneous coordinate? Discuss the composite transformation matrix for two successive translations and scaling. In design and picture formation process, many times

Windowing Transformations - Raster Graphics and  Clipping From the above section of introduction, we understood the meaning of the viewport and term window that could again be


Transformation for 3-D Scaling As we already seen that the scaling process is mainly utilized to change the size of an object. The scale factors find out whether the scaling i

After going through this section, you should be capable to: know the meaning of Visible-surface detection; distinguish among image-space and object-space approach for vi