Hugintrunk  0.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Namespaces | Functions
HuginBase::Color Namespace Reference

Namespaces

 detail
 

Functions

void GetMonitorProfile (wxString &profileName, cmsHPROFILE &profile)
 retrieve monitor profile from system More...
 
void CorrectImage (wxImage &image, const vigra::ImageImportInfo::ICCProfile &iccProfile, const cmsHPROFILE &monitorProfile)
 apply color correction to given image using input iccProfile and monitor profile More...
 
template<class ImageType >
void ApplyICCProfile (ImageType &image, const vigra::ImageImportInfo::ICCProfile &iccProfile, const cmsUInt32Number imageFormat)
 converts given image with iccProfile to sRGB/gray space, need to give pixel type in lcms2 format works with color and grayscale images More...
 

Function Documentation

template<class ImageType >
void HuginBase::Color::ApplyICCProfile ( ImageType image,
const vigra::ImageImportInfo::ICCProfile &  iccProfile,
const cmsUInt32Number  imageFormat 
)

converts given image with iccProfile to sRGB/gray space, need to give pixel type in lcms2 format works with color and grayscale images

Definition at line 37 of file cms.h.

Referenced by PanoDetector::AnalyzeImage(), PanoOperation::CelesteOperation::GetInternalCommand(), loadAndConvertImage(), and CPEditorPanel::OnCelesteButton().

WXIMPEX void HuginBase::Color::CorrectImage ( wxImage &  image,
const vigra::ImageImportInfo::ICCProfile &  iccProfile,
const cmsHPROFILE &  monitorProfile 
)
WXIMPEX void HuginBase::Color::GetMonitorProfile ( wxString &  profileName,
cmsHPROFILE &  profile 
)

retrieve monitor profile from system

Definition at line 201 of file wxcms.cpp.

References HuginBase::Color::detail::GetMonitorProfile().

Referenced by LensCalImageCtrl::LensCalImageCtrl(), and huginApp::OnInit().