1、I would like to ask what is the way your FFT conversion is normalized?
2、For example, for the frequency in the vertical direction, why traverse the whole length when drawing a value
if (value > 0.01) {
for (int yi = y; yi < prevy; yi++) {
float interp_value = prevvalue +
(value - prevvalue)
* (float)(yi - prevy)/((float)(y - prevy));
evalColormap(interp_value, r, g, b);
int ivalue = qRgb(r, g, b);
if (yi >= 0 && yi < (int)plotheight)
image->setPixel(x, yi, ivalue);
}
} prevvalue = value;
1、I would like to ask what is the way your FFT conversion is normalized?
2、For example, for the frequency in the vertical direction, why traverse the whole length when drawing a value
if (value > 0.01) {
for (int yi = y; yi < prevy; yi++) {
float interp_value = prevvalue +
(value - prevvalue)
* (float)(yi - prevy)/((float)(y - prevy));
evalColormap(interp_value, r, g, b);
int ivalue = qRgb(r, g, b);
if (yi >= 0 && yi < (int)plotheight)
image->setPixel(x, yi, ivalue);
}
} prevvalue = value;