hai .... i have some problem .... hope u guys can help ...
if i have a set of numbers ... (10002,10568,14587, .....)
is it posibble to scale the numbers into specific range ... i need to scale the number into (0 to 255).
hai .... i have some problem .... hope u guys can help ...
if i have a set of numbers ... (10002,10568,14587, .....)
is it posibble to scale the numbers into specific range ... i need to scale the number into (0 to 255).
Scaling from 0-255 is the same as scaling from 0-1, then multiplying by 255.
jiveshgovil has hit on something ...
If the data are to be displayed (presuming 0-255 might be pixel values or such), you might want to scale a function of the data rather than the data themselves, in order to spread the values more uniformly (as in contrast enhancement and such).