Move common code out of switch in ImProcFunctions::Median_Denoise()

- Move suggested by @heckflosse
- Use switch/case
- astyle `FTblockDN.cc`
- Whitespace cleanups
- Apply `median()` on `ffmanager.cc`
This commit is contained in:
Flössie
2016-07-09 11:47:47 +02:00
parent c0c82abb32
commit 7f66eb5ec4
3 changed files with 797 additions and 775 deletions

View File

@@ -185,12 +185,12 @@ class ImProcFunctions
public:
enum class Median {
SIZE_3X3_SOFT,
SIZE_3X3_STRONG,
SIZE_5X5_SOFT,
SIZE_5X5_STRONG,
SIZE_7X7,
SIZE_9X9
TYPE_3X3_SOFT,
TYPE_3X3_STRONG,
TYPE_5X5_SOFT,
TYPE_5X5_STRONG,
TYPE_7X7,
TYPE_9X9
};
double lumimul[3];