Skip to content

Correct non-linear scanners #44

@tpeulen

Description

@tpeulen

Add pixel lookup to correct "bad" non-linear scanners.

Modify:

void CLSMImage:: fill(        TTTR* tttr_data,        std::vector<int> channels,        bool clear,        const std::vector<std::pair<int,int>> &micro_time_ranges)

Currently the pixel number is calculated linearly. Add option for pixel lookup.

auto pixel_nbr = (tttr_data->macro_times[event_i] - line_start_time) / pixel_duration;

Pass a lookup table (for every pixel in Image) to fill function. This allows correcting bad scanners on the edges.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions