Skip to content

GPU support #3

@phisanti

Description

@phisanti

Hi, I have noticed that align long stacks takes quite a long time. Therefore, I was wondering if it would be possible to add support through GPU CLIJ2. I have taken a look at your code and there are some operations that could be easily substituted such as:

result = cvMatch_Template.doMatch(tar.crop(), ref, method, edge); (found in imagej_plugins/current/src/Template Matching/Align_slices.java /, line 155)
and use instead the function CLIJ2_similar from CLIJ2 (code (here)[https://clij.github.io/clij2-docs/reference_similar]) and same goes for the logarithm operations of gaussianPeakFit (line 211), which could be changed for (CLIJ2_logarithm)[https://clij.github.io/clij2-docs/reference_logarithm].

Please, let me know if you would like test these changes as I really would like to help you with the code.

Kind regards,
S

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