1
/* ============================================================
3
* This file is a part of digiKam project
4
* http://www.digikam.org
7
* Description : a digiKam image plugin for fixing dots produced by
8
* hot/stuck/dead pixels from a CCD.
10
* Copyright (C) 2005-2010 by Gilles Caulier <caulier dot gilles at gmail dot com>
11
* Copyright (C) 2005-2006 by Unai Garro <ugarro at users dot sourceforge dot net>
13
* This program is free software; you can redistribute it
14
* and/or modify it under the terms of the GNU General
15
* Public License as published by the Free Software Foundation;
16
* either version 2, or (at your option)
19
* This program is distributed in the hope that it will be useful,
20
* but WITHOUT ANY WARRANTY; without even the implied warranty of
21
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
22
* GNU General Public License for more details.
24
* ============================================================ */
26
#ifndef HOTPIXELSTOOL_H
27
#define HOTPIXELSTOOL_H
29
#define MAX_PIXEL_DEPTH 4
37
#include "editortool.h"
42
namespace DigikamEnhanceImagePlugin
45
class HotPixelsTool : public Digikam::EditorToolThreaded
51
HotPixelsTool(QObject* parent);
54
static void registerFilter();
58
void slotLoadingProgress(float v);
59
void slotLoadingComplete();
60
void slotBlackFrame(const QList<HotPixel>& hpList, const KUrl& blackFrameURL);
61
void slotAddBlackFrame();
62
void slotResetSettings();
70
void putPreviewData();
75
class HotPixelsToolPriv;
76
HotPixelsToolPriv* const d;
79
} // namespace DigikamEnhanceImagePlugin
81
#endif /* HOTPIXELSTOOL_H */