Skip to content

dwidenoise: limit patch size to image dimensions#2230

Merged
jdtournier merged 1 commit intomasterfrom
mrdenoise_fix_segfault
Nov 20, 2020
Merged

dwidenoise: limit patch size to image dimensions#2230
jdtournier merged 1 commit intomasterfrom
mrdenoise_fix_segfault

Conversation

@dchristiaens
Copy link
Member

As reported on the forum.

If the user sets a patch size larger than the image dimension, this will throw an error.

If the patch size is selected automatically, it will be truncated to the image dimensions.

Copy link
Member

@jdtournier jdtournier left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems good to me. 👍

@jdtournier jdtournier merged commit a487fee into master Nov 20, 2020
@jdtournier jdtournier deleted the mrdenoise_fix_segfault branch November 20, 2020 20:02
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.

2 participants