comparison base/ColumnOp.h @ 1201:6f7a440b6218 spectrogram-minor-refactor

Fixes to phase display and colour scale for it; tidy up some debug output
author Chris Cannam
date Fri, 05 Aug 2016 14:31:16 +0100
parents b494439a301c
children 303039dd9e05
comparison
equal deleted inserted replaced
1200:825d0d7641ba 1201:6f7a440b6218
198 198
199 for (int bin = by0; bin < by1; ++bin) { 199 for (int bin = by0; bin < by1; ++bin) {
200 200
201 float value = in[bin]; 201 float value = in[bin];
202 202
203 if (value > out[y]) { 203 if (bin == by0 || value > out[y]) {
204 out[y] = value; 204 out[y] = value;
205 } 205 }
206 } 206 }
207 } 207 }
208 } 208 }