28#include "hugin_config.h"
29#if defined __WXGTK__ && defined HAVE_X11
33#include <ApplicationServices/ApplicationServices.h>
34#include <CoreFoundation/CoreFoundation.h>
35#include "wx/osx/core/cfstring.h"
36#include <wx/osx/private.h>
64#elif defined __WXGTK__ && defined HAVE_X11
117#elif defined __WXMAC__
151 DEBUG_INFO(
"kColorSyncDeviceProfileIsCurrent failed");
160 DEBUG_INFO(
"Could not get current profile URL");
171 if (data.dispuuid ==
NULL)
173 DEBUG_INFO(
"CGDisplayCreateUUIDFromDisplayID() failed.");
222 if (!iccProfile.empty())
245 if (transform !=
NULL)
247 unsigned char*
imgData = image.GetData();
248 const int imgWidth = image.GetWidth();
250#pragma omp parallel for
void GetMonitorProfile(wxString &profileName, cmsHPROFILE &profile)
void CorrectImage(wxImage &image, const vigra::ImageImportInfo::ICCProfile &iccProfile, const cmsHPROFILE &monitorProfile)
apply color correction to given image using input iccProfile and monitor profile
void GetMonitorProfile(wxString &profileName, cmsHPROFILE &profile)
retrieve monitor profile from system
mainly consists of wrapper around the pano tools library, to assist in ressource management and to pr...
std::string GetICCDesc(const vigra::ImageImportInfo::ICCProfile &iccProfile)
returns description of given icc profile
std::vector< deghosting::BImagePtr > threshold(const std::vector< deghosting::FImagePtr > &inputImages, const double threshold, const uint16_t flags)
Threshold function used for creating alpha masks for images.