Skip to content

Resample Layer bug #5

@ovoronkov

Description

@ovoronkov

float x_in = x_out * fx + fy / 2.0f - 0.5f;
float y_in = y_out * fy + fx / 2.0f - 0.5f;

According to bilinear interpolation formula should be:
x_in = (x_out + 0.5) * fx - 0.5
y_in = (y_out + 0.5) * fy - 0.5

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions