Correct math to blend color in the blur effect
ClosedPublic

Authored by andreagenor on Mar 25 2019, 2:02 AM.

Details

Summary

Signed-off-by: André Agenor <andreagenor@icloud.com>

This is the old way blur effect work

Now we have better blend colors

Diff Detail

Repository
R374 KolourPaint
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
andreagenor requested review of this revision.Mar 25 2019, 2:02 AM
andreagenor created this revision.
andreagenor edited the summary of this revision. (Show Details)Mar 25 2019, 2:16 AM
andreagenor added a project: KDE Applications.
andreagenor edited the summary of this revision. (Show Details)Mar 25 2019, 2:21 AM
andreagenor edited the summary of this revision. (Show Details)
  • Added OpenMP to optimize loops and exchange std::pow to multiply
tcanabrava requested changes to this revision.Mar 26 2019, 11:09 AM
This revision now requires changes to proceed.Mar 26 2019, 11:09 AM
  • Add OpenMP as a dependency

Do you have an estimation of how fast is the code now with openmp ?

Do you have an estimation of how fast is the code now with openmp ?

average 1s in large images we will need future improvement in the algorithm

tcanabrava accepted this revision.Mar 28 2019, 11:41 AM
This revision is now accepted and ready to land.Mar 28 2019, 11:41 AM
This revision was automatically updated to reflect the committed changes.

OpenMP is missing, Andre is working on it.