Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow the use of fully overlapping blocks for LLR #82

Merged
merged 6 commits into from
Jun 22, 2024

Conversation

SebastianFlassbeck
Copy link
Contributor

The option to use fully overlapping blocks for LLR was inaccessible since prox! used non-overlapping blocks as a default. I made a wrapper function that now either calls the overlapping or non-overlapping proximal operator. Merging the two functions in one seemed messy since the overlapping case needs additional allocations which are not needed in the non-overlapping case.

To avoid a lot of repeated code, I changed the implementation of the fully overlapping function to call proxLLRNonOverlapping!. I didn't investigate if this makes a difference in the computation time.

Further, the norm is not implemented for fully overlapping blocks since it seems to only work for 2D patches currently. I remarked as much in the docstring.

Best,
Sebastian

@nHackel
Copy link
Member

nHackel commented Apr 30, 2024

Hello @SebastianFlassbeck, thank you for your contribution! I will merge this with the 0.15 release, which will come with the GPU support PR

@nHackel nHackel merged commit 724b93e into JuliaImageRecon:master Jun 22, 2024
7 of 8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants