|
Hugin trunk 0.1
|
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 | |
| 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.
References threshold().
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 | ||
| ) |
apply color correction to given image using input iccProfile and monitor profile
Definition at line 218 of file wxcms.cpp.
References threshold().
Referenced by CreateBrightImgDlg::CreatewxBitmap(), BrowsePTOFilesDialog::GeneratePreview(), LensCalImageCtrl::GenerateRemappedImage(), PerspectiveImageCtrl::GenerateRemappedImage(), CPImageCtrl::rescaleImage(), MaskImageCtrl::rescaleImage(), PerspectiveImageCtrl::rescaleImage(), PreviewWindow::rescaleImage(), LensCalImageCtrl::SetImage(), PreviewPanel::updatePreview(), and ImagesPanel::UpdatePreviewImage().
| 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(), and threshold().
Referenced by LensCalImageCtrl::LensCalImageCtrl(), huginApp::OnInit(), and ToolboxFrame::ToolboxFrame().