HuginBase::Color Namespace Reference


Namespaces

namespace  detail

Functions

void GetMonitorProfile (wxString &profileName, cmsHPROFILE &profile)
 retrieve monitor profile from system
void CorrectImage (wxImage &image, const vigra::ImageImportInfo::ICCProfile &iccProfile, const cmsHPROFILE &monitorProfile)
 apply color correction to given image using input iccProfile and monitor profile
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


Function Documentation

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().

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

apply color correction to given image using input iccProfile and monitor profile

Definition at line 218 of file wxcms.cpp.

Referenced by LensCalImageCtrl::GenerateRemappedImage(), MaskImageCtrl::rescaleImage(), CPImageCtrl::rescaleImage(), LensCalImageCtrl::SetImage(), PreviewPanel::updatePreview(), and ImagesPanel::UpdatePreviewImage().

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().


Generated on 20 Apr 2018 for Hugintrunk by  doxygen 1.4.7