Skip to content

Fix convolve_2d for images with float32_t channel model - #577

Merged
mloskot merged 2 commits into
boostorg:developfrom
harshitpant1:bugfix/fix_convolve_2d
Feb 9, 2022
Merged

Fix convolve_2d for images with float32_t channel model#577
mloskot merged 2 commits into
boostorg:developfrom
harshitpant1:bugfix/fix_convolve_2d

Conversation

@harshitpant1

@harshitpant1 harshitpant1 commented Mar 15, 2021

Copy link
Copy Markdown
Contributor

Description

Convolve_2d currently does not work with images using float32_t channel model due to a trivial issue. This PR fixes that.

References

Fixes #575

Tasklist

  • Add test case(s)
  • Ensure all CI builds pass
  • Review and approve

@harshitpant1

Copy link
Copy Markdown
Contributor Author

Fixing this would help me submit a PR for harshitpant1@05ec89e

@lpranam

lpranam commented Mar 15, 2021

Copy link
Copy Markdown
Member

will try to have a look as soon as possible then...

@harshitpant1

Copy link
Copy Markdown
Contributor Author

Thanks.

@codecov

codecov Bot commented Mar 15, 2021

Copy link
Copy Markdown

Codecov Report

Merging #577 (b16d5a9) into develop (6da59cc) will increase coverage by 0.13%.
The diff coverage is 100.00%.

@@             Coverage Diff             @@
##           develop     #577      +/-   ##
===========================================
+ Coverage    78.58%   78.72%   +0.13%     
===========================================
  Files          117      118       +1     
  Lines         5002     5034      +32     
===========================================
+ Hits          3931     3963      +32     
  Misses        1071     1071              

Comment thread test/extension/numeric/convolve_2d.cpp Outdated
Comment thread test/extension/numeric/convolve_2d.cpp Outdated

@mloskot mloskot left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Looks good to me

@mloskot mloskot added cat/bug But reports and bug fixes ext/numeric boost/gil/extension/numeric/ labels Apr 2, 2021
@harshitpant1

Copy link
Copy Markdown
Contributor Author

Thanks for looking into this, will remember your suggestions moving forward.

Comment thread include/boost/gil/extension/numeric/convolve.hpp
@meshtag

meshtag commented Feb 9, 2022

Copy link
Copy Markdown
Member

@mloskot, do you think this can land in the dev branch?
Merging this would also help us move ahead with other associated PRs.

@mloskot mloskot left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I'm fine to merge this.

@mloskot mloskot added this to the Boost 1.78+ milestone Feb 9, 2022
@mloskot
mloskot merged commit c7aba23 into boostorg:develop Feb 9, 2022
@mloskot mloskot mentioned this pull request May 12, 2022
6 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cat/bug But reports and bug fixes ext/numeric boost/gil/extension/numeric/

Projects

None yet

Development

Successfully merging this pull request may close these issues.

convolve_2d fails with image types using channel type float32_t

5 participants