Okay i very much understand. But seriously i havent got any idea on how to kickstart it.

All i know is: - i need to scale down the histogram.

Hmm, thanks for ur explaination but i figured out something. The result is my histogram seems to be in scale AND it is consistent to any image (but sizes 512*512 and 256*256). I got what u mean but the thing is i dont really know an exactl algorith to start with. I looked over the internet and surprisingly there isnt anyone who is doing/did what i'm doing. Can u pls help me to check if what im doing is correct? i will post the thumbnails here. One will be the usual MRI scan image and the other is a random tile of only black and white colours.

Here is what i did:

pDC->LineTo(601+i, (398-(

the bold is a constant or some say; the scale factor and the one in italic is to show the normalized value.

All i know is: - i need to scale down the histogram.

Hmm, thanks for ur explaination but i figured out something. The result is my histogram seems to be in scale AND it is consistent to any image (but sizes 512*512 and 256*256). I got what u mean but the thing is i dont really know an exactl algorith to start with. I looked over the internet and surprisingly there isnt anyone who is doing/did what i'm doing. Can u pls help me to check if what im doing is correct? i will post the thumbnails here. One will be the usual MRI scan image and the other is a random tile of only black and white colours.

Here is what i did:

pDC->LineTo(601+i, (398-(

**0.742***array1[i]*398/highest))**);***-1*the bold is a constant or some say; the scale factor and the one in italic is to show the normalized value.

*Last edited by metamofia; 14Oct2009 at 12:22..*