Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Normalize a set of numbers into scale range

Status
Not open for further replies.

metalasia

Newbie level 5
Newbie level 5
Joined
Sep 12, 2005
Messages
9
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,378
scale number range

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).

i only know how to scale the number into (0 to 1)

thanx
 

normalize a range of numbers

metalasia said:
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).

i only know how to scale the number into (0 to 1)

thanx

Take logarithm, process the data, and finally take antilog.

Alternatively you can convert the numbers in binary system and later convert them to decimal system.
 

how to normalize a set of numbers

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).
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top