32#include <ApplicationServices/ApplicationServices.h>
33#include <CoreFoundation/CoreFoundation.h>
34#include "wx/osx/core/cfstring.h"
35#include <wx/osx/private.h>
63#elif defined __WXGTK__
116#elif defined __WXMAC__
150 DEBUG_INFO(
"kColorSyncDeviceProfileIsCurrent failed");
159 DEBUG_INFO(
"Could not get current profile URL");
170 if (data.dispuuid ==
NULL)
172 DEBUG_INFO(
"CGDisplayCreateUUIDFromDisplayID() failed.");
221 if (!iccProfile.empty())
244 if (transform !=
NULL)
246 unsigned char*
imgData = image.GetData();
247 const int imgWidth = image.GetWidth();
249#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.