# Analysis of Image superimposing using numerical analysis

Dear,

I need few Resources to get the help for my above topic. The above topic depicts that: one image will be imposed on the other one. and we have to shown it using numerical analysis. of course significant amount of programming effort is here. But I need help regarding resources/articles on how can I crack the idea. if u have any idea, please share with me by giving me link/articles whatever you consider.

thank you

Saugata

## Answers and Replies

Related Programming and Computer Science News on Phys.org
Dear Rogerio,
Thank You.I am eagerly waiting for response.It's all my pleasure to get your response quickly. Those 2 are surely a great resource for me.
Yet, I feel to discuss few issues with you. I have a doubt within me regarding this.How can I take 2 images as input? i.e. what should be the input in this case? the sequence of bits?? how to I convert the soft copy image in bits?
Actually, I am asked to impose one's brightness or contrast on other's image. Do you have any suggestion??

Hi Saugata Bose!

A digital image (acquired with a digital camera or a scanner, for example) is just a file which describes all the pixels (picture elements) of the image.

The "format" of such files is the way the pixels are described.
Commonly there is a "file header" based on: the size of the digital image (i.e. number of pixels in each line, and number of lines), the way the pixel values are grouped in the file (how they are encoded), etc...
There are several file formats, like BMP, JPG, GIF, etc.

After reading the file generated in a particular format, your program will "understand" the RGB values of each pixel. And then, it could evaluate the average brightness, for instance.

The steps are:
1- to understand how to read the file image.
2- to understand what brightness, contrast,etc, are.
3- to write the program...

http://www.cambridgeincolour.com/tutorials/histograms1.htm

http://www.cambridgeincolour.com/tutorials/histograms2.htm

http://devmaster.net/forums/topic/6612-luminance-of-a-pixel/

http://en.wikipedia.org/wiki/Brightness

PS: if your program needs to "change" the brightness of each pixel, you could use the "HSL space color" for both images, and then recalculate the brightness of each pixel of the first image, according to the brightness of the correspondent pixel of the second image... (and then, the program will have to convert the values to RGB values, in order to recreate the image)

Last edited: