Skip to content

Ask some questions #2

Description

@one-rabbit

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;

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions