Changeset 06a5a0b
- Timestamp:
- 05/23/07 13:12:24 (6 years ago)
- Branches:
- master, crem, crem2, dev, diadems, forma, generic, instru_search, lam, nlivemulti, production, release/1.4.4, security, social, storage, test, video
- Children:
- 5872034
- Parents:
- a31c8d0
- git-author:
- olivier <> (05/23/07 13:12:24)
- git-committer:
- olivier <> (05/23/07 13:12:24)
- File:
-
- 1 edited
-
telemeta/visualization/wav2png/main.cpp (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
telemeta/visualization/wav2png/main.cpp
re1dc036 r06a5a0b 390 390 values[k] = 0.f; 391 391 392 float scaledValue = sqrt(values[k]) / sqrt( 11025);392 float scaledValue = sqrt(values[k]) / sqrt((double)11025); 393 393 394 394 colors.push_back(float2color(scaledValue,image)); … … 404 404 values[k] = 0.f; 405 405 406 float scaledValue = log(values[k]+1) / log( 512+1);406 float scaledValue = log(values[k]+1) / log((double)(512+1)); 407 407 408 408 colors.push_back(float2color(scaledValue,image));
Note: See TracChangeset
for help on using the changeset viewer.
