Computational photography
All modules / photo
The base class for algorithms that align images of the same scene with different exposures
AlignMTBclassThis algorithm converts images to median threshold bitmaps (1 for pixels brighter than median
CalibrateCRFclassThe base class for camera response calibration algorithms.
CalibrateDebevecclassInverse camera response function is extracted for each brightness value by minimizing an objective
CalibrateRobertsonclassInverse camera response function is extracted for each brightness value by minimizing an objective
ccm_CcmTypeclassEnum of the possible types of ccm.
ccm_ColorCheckerTypeclassMacbeth and Vinyl ColorChecker with 2deg D50
ccm_ColorCorrectionModelclassCore class of ccm model
ccm_ColorSpaceclassNative enum entries for ccm color space. Pass an entry to enum-typed arguments or its .value to numeric arguments.
ccm_DistanceTypeclassEnum of possible functions to calculate the distance between colors.
ccm_gammaCorrectionfunctionApplies gamma correction to the input image.
ccm_InitialMethodTypeclassEnum of the possible types of initial method.
ccm_LinearizationTypeclassLinearization transformation type
colorChangefunctionGiven an original color image, two differently colored versions of this image can be mixed
correctChromaticAberrationfunctionphoto_render
createAlignMTBfunctionCreates AlignMTB object
createCalibrateDebevecfunctionCreates CalibrateDebevec object
createCalibrateRobertsonfunctionCreates CalibrateRobertson object
createMergeDebevecfunctionCreates MergeDebevec object
createMergeMertensfunctionCreates MergeMertens object
createMergeRobertsonfunctionCreates MergeRobertson object
createTonemapfunctionCreates simple linear mapper with gamma correction
createTonemapDragofunctionCreates TonemapDrago object
createTonemapMantiukfunctionCreates TonemapMantiuk object
createTonemapReinhardfunctionCreates TonemapReinhard object
decolorfunctionphoto_hdr
denoise_TVL1functionPrimal-dual algorithm is an algorithm for solving special types of variational problems (that is,
detailEnhancefunctionThis filter enhances the details of a particular image.
edgePreservingFilterfunctionFiltering is the fundamental operation in image and video processing. Edge-preserving smoothing
fastNlMeansDenoisingfunctionphoto_inpaint
fastNlMeansDenoising1functionPerform image denoising using Non-local Means Denoising algorithm
fastNlMeansDenoisingColoredfunctionModification of fastNlMeansDenoising function for colored images
fastNlMeansDenoisingColoredMultifunctionModification of fastNlMeansDenoisingMulti function for colored images sequences
fastNlMeansDenoisingMultifunctionModification of fastNlMeansDenoising function for images sequence where consecutive images have been
fastNlMeansDenoisingMulti1functionModification of fastNlMeansDenoising function for images sequence where consecutive images have been
illuminationChangefunctionApplying an appropriate non-linear transformation to the gradient field inside the selection and
inpaintfunctionRestores the selected region in an image using the region neighborhood.
loadChromaticAberrationParamsfunctionLoad chromatic-aberration calibration parameters from opened FileStorage.
MergeDebevecclassThe resulting HDR image is calculated as weighted average of the exposures considering exposure
MergeExposuresclassThe base class algorithms that can merge exposure sequence to a single image.
MergeMertensclassPixels are weighted using contrast, saturation and well-exposedness measures, than images are
MergeRobertsonclassThe resulting HDR image is calculated as weighted average of the exposures considering exposure
pencilSketchfunctionexample: samples/cpp/tutorial_code/photo/non_photorealistic_rendering/npr_demo.cpp
seamlessClonefunctionexample: samples/cpp/tutorial_code/photo/seamless_cloning/cloning_demo.cpp
SeamlessCloneFlagsclassphoto_decolor
segmentation_IntelligentScissorsMBclassIntelligent Scissors image segmentation
stylizationfunctionStylization aims to produce digital imagery with a wide variety of effects not focused on
textureFlatteningfunctionBy retaining only the gradients at edge locations, before integrating with the Poisson solver, one
TonemapclassBase class for tonemapping algorithms - tools that are used to map HDR image to 8-bit range.
TonemapDragoclassAdaptive logarithmic mapping is a fast global tonemapping algorithm that scales the image in
TonemapMantiukclassThis algorithm transforms image to contrast using gradients on all levels of gaussian pyramid,
TonemapReinhardclassThis is a global tonemapping operator that models human visual system.
No matches. Try an algorithm name, a module, or a shorter phrase.
Constants
Use the named constant from cv. In particular, OpenCV 5 matrix type codes differ from OpenCV 4.
INPAINT_NSUse Navier-Stokes based method
INPAINT_TELEAUse the algorithm proposed by Alexandru Telea [Telea04]
LDR_SIZELDR_SIZE: photo_denoise
NORMAL_CLONEMixed seamless cloning.
MIXED_CLONEMonochrome transfer cloning.
MONOCHROME_TRANSFEREnhanced normal seamless cloning.
NORMAL_CLONE_WIDEEnhanced normal seamless cloning. Similar to
NORMAL_CLONE, but with an advanced approach to ROI (Region of Interest) calculation. This mode processes a larger source region by considering the entire mask area instead of only the bounding rectangle of non-zero pixels.MIXED_CLONE_WIDEEnhanced mixed seamless cloning. Similar to
MIXED_CLONE, but with an advanced approach to ROI (Region of Interest) calculation. This mode processes a larger source region by considering the entire mask area instead of only the bounding rectangle of non-zero pixels.MONOCHROME_TRANSFER_WIDEEnhanced monochrome transfer cloning. Similar to
MONOCHROME_TRANSFER, but with an advanced approach to ROI (Region of Interest) calculation. This mode processes a larger source region by considering the entire mask area instead of only the bounding rectangle of non-zero pixels.RECURS_FILTERRecursive Filtering
NORMCONV_FILTERNormalized Convolution Filtering
ccm_CCM_LINEARUses a
3\times3matrix to linearly transform RGB values without offsets.ccm_CCM_AFFINEUses a
4\times3matrix to affine transform RGB values with both scaling and offset terms.ccm_INITIAL_METHOD_WHITE_BALANCEThe white balance method. The initial value is:\n
ccm_INITIAL_METHOD_LEAST_SQUAREThe least square method is an optimal solution under the linear RGB distance function
ccm_COLORCHECKER_MACBETHMacbeth ColorChecker
ccm_COLORCHECKER_VINYLDKK ColorChecker
ccm_COLORCHECKER_DIGITAL_SGDigitalSG ColorChecker with 140 squares
ccm_COLOR_SPACE_SRGBhttps://en.wikipedia.org/wiki/SRGB , RGB color space
ccm_COLOR_SPACE_SRGBLhttps://en.wikipedia.org/wiki/SRGB , linear RGB color space
ccm_COLOR_SPACE_ADOBE_RGBhttps://en.wikipedia.org/wiki/Adobe_RGB_color_space , RGB color space
ccm_COLOR_SPACE_ADOBE_RGBLhttps://en.wikipedia.org/wiki/Adobe_RGB_color_space , linear RGB color space
ccm_COLOR_SPACE_WIDE_GAMUT_RGBhttps://en.wikipedia.org/wiki/Wide-gamut_RGB_color_space , RGB color space
ccm_COLOR_SPACE_WIDE_GAMUT_RGBLhttps://en.wikipedia.org/wiki/Wide-gamut_RGB_color_space , linear RGB color space
ccm_COLOR_SPACE_PRO_PHOTO_RGBhttps://en.wikipedia.org/wiki/ProPhoto_RGB_color_space , RGB color space
ccm_COLOR_SPACE_PRO_PHOTO_RGBLhttps://en.wikipedia.org/wiki/ProPhoto_RGB_color_space , linear RGB color space
ccm_COLOR_SPACE_DCI_P3_RGBhttps://en.wikipedia.org/wiki/DCI-P3 , RGB color space
ccm_COLOR_SPACE_DCI_P3_RGBLhttps://en.wikipedia.org/wiki/DCI-P3 , linear RGB color space
ccm_COLOR_SPACE_APPLE_RGBhttp://www.brucelindbloom.com/index.html?WorkingSpaceInfo.html , RGB color space
ccm_COLOR_SPACE_APPLE_RGBLhttp://www.brucelindbloom.com/index.html?WorkingSpaceInfo.html , linear RGB color space
ccm_COLOR_SPACE_REC_709_RGBhttps://en.wikipedia.org/wiki/Rec._709 , RGB color space
ccm_COLOR_SPACE_REC_709_RGBLhttps://en.wikipedia.org/wiki/Rec._709 , linear RGB color space
ccm_COLOR_SPACE_REC_2020_RGBhttps://en.wikipedia.org/wiki/Rec._2020 , RGB color space
ccm_COLOR_SPACE_REC_2020_RGBLhttps://en.wikipedia.org/wiki/Rec._2020 , linear RGB color space
ccm_COLOR_SPACE_XYZ_D65_2https://en.wikipedia.org/wiki/CIE_1931_color_space , XYZ color space, D65 illuminant, 2 degree
ccm_COLOR_SPACE_XYZ_D50_2https://en.wikipedia.org/wiki/CIE_1931_color_space , XYZ color space, D50 illuminant, 2 degree
ccm_COLOR_SPACE_XYZ_D65_10https://en.wikipedia.org/wiki/CIE_1931_color_space , XYZ color space, D65 illuminant, 10 degree
ccm_COLOR_SPACE_XYZ_D50_10https://en.wikipedia.org/wiki/CIE_1931_color_space , XYZ color space, D50 illuminant, 10 degree
ccm_COLOR_SPACE_XYZ_A_2https://en.wikipedia.org/wiki/CIE_1931_color_space , XYZ color space, A illuminant, 2 degree
ccm_COLOR_SPACE_XYZ_A_10https://en.wikipedia.org/wiki/CIE_1931_color_space , XYZ color space, A illuminant, 10 degree
ccm_COLOR_SPACE_XYZ_D55_2https://en.wikipedia.org/wiki/CIE_1931_color_space , XYZ color space, D55 illuminant, 2 degree
ccm_COLOR_SPACE_XYZ_D55_10https://en.wikipedia.org/wiki/CIE_1931_color_space , XYZ color space, D55 illuminant, 10 degree
ccm_COLOR_SPACE_XYZ_D75_2https://en.wikipedia.org/wiki/CIE_1931_color_space , XYZ color space, D75 illuminant, 2 degree
ccm_COLOR_SPACE_XYZ_D75_10https://en.wikipedia.org/wiki/CIE_1931_color_space , XYZ color space, D75 illuminant, 10 degree
ccm_COLOR_SPACE_XYZ_E_2https://en.wikipedia.org/wiki/CIE_1931_color_space , XYZ color space, E illuminant, 2 degree
ccm_COLOR_SPACE_XYZ_E_10https://en.wikipedia.org/wiki/CIE_1931_color_space , XYZ color space, E illuminant, 10 degree
ccm_COLOR_SPACE_LAB_D65_2https://en.wikipedia.org/wiki/CIELAB_color_space , Lab color space, D65 illuminant, 2 degree
ccm_COLOR_SPACE_LAB_D50_2https://en.wikipedia.org/wiki/CIELAB_color_space , Lab color space, D50 illuminant, 2 degree
ccm_COLOR_SPACE_LAB_D65_10https://en.wikipedia.org/wiki/CIELAB_color_space , Lab color space, D65 illuminant, 10 degree
ccm_COLOR_SPACE_LAB_D50_10https://en.wikipedia.org/wiki/CIELAB_color_space , Lab color space, D50 illuminant, 10 degree
ccm_COLOR_SPACE_LAB_A_2https://en.wikipedia.org/wiki/CIELAB_color_space , Lab color space, A illuminant, 2 degree
ccm_COLOR_SPACE_LAB_A_10https://en.wikipedia.org/wiki/CIELAB_color_space , Lab color space, A illuminant, 10 degree
ccm_COLOR_SPACE_LAB_D55_2https://en.wikipedia.org/wiki/CIELAB_color_space , Lab color space, D55 illuminant, 2 degree
ccm_COLOR_SPACE_LAB_D55_10https://en.wikipedia.org/wiki/CIELAB_color_space , Lab color space, D55 illuminant, 10 degree
ccm_COLOR_SPACE_LAB_D75_2https://en.wikipedia.org/wiki/CIELAB_color_space , Lab color space, D75 illuminant, 2 degree
ccm_COLOR_SPACE_LAB_D75_10https://en.wikipedia.org/wiki/CIELAB_color_space , Lab color space, D75 illuminant, 10 degree
ccm_COLOR_SPACE_LAB_E_2https://en.wikipedia.org/wiki/CIELAB_color_space , Lab color space, E illuminant, 2 degree
ccm_COLOR_SPACE_LAB_E_10https://en.wikipedia.org/wiki/CIELAB_color_space , Lab color space, E illuminant, 10 degree
ccm_LINEARIZATION_IDENTITYno change is made
ccm_LINEARIZATION_GAMMAgamma correction; Need assign a value to gamma simultaneously
ccm_LINEARIZATION_COLORPOLYFITpolynomial fitting channels respectively; Need assign a value to deg simultaneously
ccm_LINEARIZATION_COLORLOGPOLYFITlogarithmic polynomial fitting channels respectively; Need assign a value to deg simultaneously
ccm_LINEARIZATION_GRAYPOLYFITgrayscale polynomial fitting; Need assign a value to deg and dst_whites simultaneously
ccm_LINEARIZATION_GRAYLOGPOLYFITgrayscale Logarithmic polynomial fitting; Need assign a value to deg and dst_whites simultaneously
ccm_DISTANCE_CIE76The 1976 formula is the first formula that related a measured color difference to a known set of CIELAB coordinates.
ccm_DISTANCE_CIE94_GRAPHIC_ARTSThe 1976 definition was extended to address perceptual non-uniformities.
ccm_DISTANCE_CIE94_TEXTILESThe 1976 definition was extended to address perceptual non-uniformities.
ccm_DISTANCE_CIE2000ccm distance cie2000 constant (3), defined by OpenCV for cv::ccm.
ccm_DISTANCE_CMC_1TO1In 1984, the Colour Measurement Committee of the Society of Dyers and Colourists defined a difference measure, also based on the LCh color model.
ccm_DISTANCE_CMC_2TO1In 1984, the Colour Measurement Committee of the Society of Dyers and Colourists defined a difference measure, also based on the LCh color model.
ccm_DISTANCE_RGBEuclidean distance of rgb color space
ccm_DISTANCE_RGBLEuclidean distance of rgbl color space