Hugintrunk  0.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
wxcms.h
Go to the documentation of this file.
1 // -*- c-basic-offset: 4 -*-
7 /* This is free software; you can redistribute it and/or
8  * modify it under the terms of the GNU General Public
9  * License as published by the Free Software Foundation; either
10  * version 2 of the License, or (at your option) any later version.
11  *
12  * This software is distributed in the hope that it will be useful,
13  * but WITHOUT ANY WARRANTY; without even the implied warranty of
14  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15  * Lesser General Public License for more details.
16  *
17  * You should have received a copy of the GNU General Public
18  * License along with this software. If not, see
19  * <http://www.gnu.org/licenses/>.
20  *
21  */
22 
23 #ifndef _WXCMS_H
24 #define _WXCMS_H
25 
26 #include <hugin_shared.h>
27 #include <panoinc_WX.h>
28 #include <lcms2.h>
29 #include <vigra/imageinfo.hxx>
30 
31 namespace HuginBase
32 {
33  namespace Color
34  {
36  WXIMPEX void GetMonitorProfile(wxString& profileName, cmsHPROFILE& profile);
38  WXIMPEX void CorrectImage(wxImage& image, const vigra::ImageImportInfo::ICCProfile& iccProfile, const cmsHPROFILE& monitorProfile);
39  }
40 }
41 #endif // _WXCMS_H
void CorrectImage(wxImage &image, const vigra::ImageImportInfo::ICCProfile &iccProfile, const cmsHPROFILE &monitorProfile)
apply color correction to given image using input iccProfile and monitor profile
Definition: wxcms.cpp:218
#define WXIMPEX
Definition: hugin_shared.h:40
include file for the hugin project
void GetMonitorProfile(wxString &profileName, cmsHPROFILE &profile)
retrieve monitor profile from system
Definition: wxcms.cpp:201