1 /* 2 * * Copyright (C) 2006-2011 Anders Brander <anders@brander.dk>, 3 * * Anders Kvist <akv@lnxbx.dk> and Klaus Post <klauspost@gmail.com> 4 * 5 * This program is free software; you can redistribute it and/or 6 * modify it under the terms of the GNU General Public License 7 * as published by the Free Software Foundation; either version 2 8 * of the License, or (at your option) any later version. 9 * 10 * This program is distributed in the hope that it will be useful, 11 * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 * GNU General Public License for more details. 14 * 15 * You should have received a copy of the GNU General Public License 16 * along with this program; if not, write to the Free Software 17 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 18 */ 19 20 #ifndef fftdenoiseryuv_h__ 21 #define fftdenoiseryuv_h__ 22 23 #include "fftdenoiser.h" 24 25 namespace RawStudio { 26 namespace FFTFilter { 27 28 class FFTDenoiserYUV : 29 public FFTDenoiser 30 { 31 public: 32 FFTDenoiserYUV(); 33 virtual ~FFTDenoiserYUV(void); 34 virtual void denoiseImage(RS_IMAGE16* image); 35 virtual void setParameters( FFTDenoiseInfo *info); 36 float betaChroma; 37 float sigmaLuma; 38 float sigmaChroma; 39 float sharpenChroma; 40 float sharpenCutoffChroma; 41 float sharpenMinSigmaChroma; 42 float sharpenMaxSigmaChroma; 43 float redCorrection; 44 float blueCorrection; 45 }; 46 47 }} // namespace RawStudio::FFTFilter 48 49 #endif // fftdenoiseryuv_h__ 50