diff options
Diffstat (limited to 'src/imageplugins/noisereduction/imageeffect_noisereduction.h')
-rw-r--r-- | src/imageplugins/noisereduction/imageeffect_noisereduction.h | 82 |
1 files changed, 82 insertions, 0 deletions
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 <caulier dot gilles at gmail dot com> + * + * 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 */ |