File indexing completed on 2025-01-05 03:58:06
0001 /* ============================================================ 0002 * 0003 * This file is a part of digiKam 0004 * 0005 * Date : 2013-06-14 0006 * Description : Alignment by Image Congealing. 0007 * Funneling for complex, realistic images 0008 * using sequence of distribution fields learned from congealReal 0009 * Gary B. Huang, Vidit Jain, and Erik Learned-Miller. 0010 * Unsupervised joint alignment of complex images. 0011 * International Conference on Computer Vision (ICCV), 2007. 0012 * Based on Gary B. Huang, UMass-Amherst implementation. 0013 * 0014 * SPDX-FileCopyrightText: 2013 by Marcel Wiesweg <marcel dot wiesweg at gmx dot de> 0015 * 0016 * SPDX-License-Identifier: GPL-2.0-or-later 0017 * 0018 * ============================================================ */ 0019 0020 #ifndef DIGIKAM_FACESENGINE_ALIGNMENT_CONGEALING_FUNNELREAL_H 0021 #define DIGIKAM_FACESENGINE_ALIGNMENT_CONGEALING_FUNNELREAL_H 0022 0023 // Local includes 0024 0025 #include "digikam_opencv.h" 0026 0027 namespace Digikam 0028 { 0029 0030 class FunnelReal 0031 { 0032 0033 public: 0034 0035 explicit FunnelReal(); 0036 ~FunnelReal(); 0037 0038 cv::Mat align(const cv::Mat& inputImage); 0039 0040 private: 0041 0042 // Disable 0043 FunnelReal(const FunnelReal&) = delete; 0044 FunnelReal& operator=(const FunnelReal&) = delete; 0045 0046 private: 0047 0048 class Private; 0049 Private* const d; 0050 }; 0051 0052 } // namespace Digikam 0053 0054 #endif // DIGIKAM_FACESENGINE_ALIGNMENT_CONGEALING_FUNNELREAL_H