Speedup classic Kuwahara filter by summed area table #111150

Merged
Habib Gahbiche merged 30 commits from zazizizou/blender:com-kuwahara-sat into main 2023-11-01 10:49:18 +01:00

30 Commits

Author SHA1 Message Date
Habib Gahbiche 4fb58a7fc5 Fix tiled SAT implementation
buildbot/vexp-code-patch-coordinator Build done. Details
2023-10-31 13:02:04 +01:00
Habib Gahbiche ae9ff61ccf Merge remote-tracking branch 'origin/main' into com-kuwahara-sat 2023-10-31 10:18:57 +01:00
Habib Gahbiche 2afa0f2041 Revert using UNPACK2
buildbot/vexp-code-patch-coordinator Build done. Details
2023-10-30 18:42:22 +01:00
Habib Gahbiche 4cf2afcbb3 Improve performance by 5-10% by using fewer buffer reads 2023-10-29 12:10:54 +01:00
Habib Gahbiche e5340d12a7 Merge remote-tracking branch 'origin/main' into com-kuwahara-sat 2023-10-29 10:52:18 +01:00
Habib Gahbiche 6b46a68886 SAT is now always computed. Keep naive implementation for small kernel sizes for better accuracy
buildbot/vexp-code-patch-coordinator Build done. Details
2023-10-22 19:39:22 +02:00
Habib Gahbiche 689f5fde28 Merge remote-tracking branch 'origin/main' into com-kuwahara-sat
Conflicts:
	source/blender/compositor/nodes/COM_KuwaharaNode.cc
	source/blender/compositor/operations/COM_KuwaharaClassicOperation.cc
	source/blender/compositor/operations/COM_KuwaharaClassicOperation.h
2023-10-22 19:14:00 +02:00
Habib Gahbiche fad4cffc41 More compact code for threading::parallel_for 2023-10-21 22:50:25 +02:00
Habib Gahbiche 360f2a5c6a Invert condition to reduce indentation
buildbot/vexp-code-patch-coordinator Build done. Details
2023-09-23 14:27:42 +02:00
Habib Gahbiche 84bdba3922 Fix build error after merge 2023-09-23 13:30:49 +02:00
Habib Gahbiche 5240765672 Merge remote-tracking branch 'origin/main' into com-kuwahara-sat-zazizizou 2023-09-23 13:29:41 +02:00
Habib Gahbiche 1fda4efc22 Multi-threaded SAT implementation. Offset and mean not needed anymore 2023-09-23 11:49:28 +02:00
Habib Gahbiche 2818cad5f8 Use Kahan summation algorithm to further reduce floating point error
buildbot/vexp-code-patch-coordinator Build done. Details
2023-09-09 21:15:51 +02:00
Habib Gahbiche e23ae0022b Merge remote-tracking branch 'origin/main' into com-kuwahara-sat
buildbot/vexp-code-patch-coordinator Build done. Details
2023-09-09 13:18:10 +02:00
Habib Gahbiche e784c2fe04 revert changes to tiled implementation 2023-09-09 12:24:28 +02:00
Habib Gahbiche 5a30ae384d Improve SAT accuracy by subtracting mean of image 2023-09-09 11:30:43 +02:00
Habib Gahbiche 919636ab74 Merge remote-tracking branch 'origin/main' into com-kuwahara-sat
buildbot/vexp-code-patch-coordinator Build done. Details
2023-09-05 20:06:29 +02:00
Habib Gahbiche 9554d05bad Fix build error on windows 2023-09-05 20:06:02 +02:00
Habib Gahbiche 1850383c77 Fix tests not passing in release mode
buildbot/vexp-code-patch-coordinator Build done. Details
2023-09-05 19:00:20 +02:00
Habib Gahbiche d1aed80385 Merge remote-tracking branch 'origin/main' into com-kuwahara-sat 2023-09-05 08:58:35 +02:00
Habib Gahbiche 279b981def Merge remote-tracking branch 'origin/main' into com-kuwahara-sat 2023-09-04 20:42:12 +02:00
Habib Gahbiche 396f034689 cleanup: comments
buildbot/vexp-code-patch-coordinator Build done. Details
2023-09-03 21:31:19 +02:00
Habib Gahbiche 996eec154d Merge remote-tracking branch 'origin/main' into com-kuwahara-sat 2023-09-03 20:17:04 +02:00
Habib Gahbiche 5f9149fa37 Correct declaration in header file 2023-09-03 20:16:20 +02:00
Habib Gahbiche de0f57b22a Fix failing unit tests 2023-09-03 12:51:58 +02:00
Habib Gahbiche 162d7d500b Fix build error caused by merge 2023-08-20 09:44:42 +01:00
Habib Gahbiche f9a3362023 Merge remote-tracking branch 'origin/main' into com-kuwahara-sat 2023-08-19 18:50:25 +01:00
Habib Gahbiche 4ad34194ed Finalize SAT for tiled compositor 2023-08-19 18:45:20 +01:00
Habib Gahbiche 9e48b16983 Merge remote-tracking branch 'origin/main' into com-kuwahara-sat 2023-08-15 18:55:56 +01:00
Habib Gahbiche c44f442d03 Speedup classical kuwahara filter using summed area table 2023-08-15 18:54:09 +01:00