Skip to content

Correct non-linear scanners #44

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.

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions