From ee0d99607c14cb63d3ebdb3a970b508949fa8219 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Fri, 22 Nov 2024 18:41:30 +0900 Subject: Rename 'digikam' folder to 'src' Signed-off-by: Michele Calgaro --- .../noisereduction/imageeffect_noisereduction.h | 82 ++++++++++++++++++++++ 1 file changed, 82 insertions(+) create mode 100644 src/imageplugins/noisereduction/imageeffect_noisereduction.h (limited to 'src/imageplugins/noisereduction/imageeffect_noisereduction.h') diff --git a/src/imageplugins/noisereduction/imageeffect_noisereduction.h b/src/imageplugins/noisereduction/imageeffect_noisereduction.h new file mode 100644 index 00000000..b7ee1bb6 --- /dev/null +++ b/src/imageplugins/noisereduction/imageeffect_noisereduction.h @@ -0,0 +1,82 @@ +/* ============================================================ + * + * This file is a part of digiKam project + * http://www.digikam.org + * + * Date : 2004-08-24 + * Description : a plugin to reduce CCD noise. + * + * Copyright (C) 2004-2008 by Gilles Caulier + * + * This program is free software; you can redistribute it + * and/or modify it under the terms of the GNU General + * Public License as published by the Free Software Foundation; + * either version 2, or (at your option) + * any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * ============================================================ */ + +#ifndef IMAGEEFFECT_NOISEREDUCTION_H +#define IMAGEEFFECT_NOISEREDUCTION_H + +// Local includes. + +#include "ctrlpaneldlg.h" + +class KDoubleNumInput; + +namespace DigikamNoiseReductionImagesPlugin +{ + +class ImageEffect_NoiseReduction : public Digikam::CtrlPanelDlg +{ + TQ_OBJECT + + +public: + + ImageEffect_NoiseReduction(TQWidget* parent); + ~ImageEffect_NoiseReduction(); + +private slots: + + void readUserSettings(); + +private: + + void writeUserSettings(); + void resetValues(); + void prepareEffect(); + void prepareFinal(); + void putPreviewData(); + void putFinalData(); + void renderingFinished(); + +private slots: + + void slotUser2(); + void slotUser3(); + +private: + + KDoubleNumInput *m_radiusInput; + KDoubleNumInput *m_lumToleranceInput; + KDoubleNumInput *m_thresholdInput; + KDoubleNumInput *m_textureInput; + KDoubleNumInput *m_sharpnessInput; + + KDoubleNumInput *m_csmoothInput; + KDoubleNumInput *m_lookaheadInput; + KDoubleNumInput *m_gammaInput; + KDoubleNumInput *m_dampingInput; + KDoubleNumInput *m_phaseInput; +}; + +} // NameSpace DigikamNoiseReductionImagesPlugin + +#endif /* IMAGEEFFECT_NOISEREDUCTION_H */ -- cgit v1.2.1