1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684 |
-
- using OpenCVForUnity.CoreModule;
- using OpenCVForUnity.UtilsModule;
- using System;
- using System.Collections.Generic;
- using System.Runtime.InteropServices;
- namespace OpenCVForUnity.PhotoModule {
- // C++: class Photo
- //javadoc: Photo
- public class Photo {
- // C++: enum <unnamed>
- public const int INPAINT_NS = 0;
- public const int INPAINT_TELEA = 1;
- public const int NORMAL_CLONE = 1;
- public const int MIXED_CLONE = 2;
- public const int MONOCHROME_TRANSFER = 3;
- public const int RECURS_FILTER = 1;
- public const int NORMCONV_FILTER = 2;
- public const int LDR_SIZE = 256;
- //
- // C++: Ptr_AlignMTB cv::createAlignMTB(int max_bits = 6, int exclude_range = 4, bool cut = true)
- //
- //javadoc: createAlignMTB(max_bits, exclude_range, cut)
- public static AlignMTB createAlignMTB(int max_bits, int exclude_range, bool cut) {
- #if (UNITY_ANDROID && !UNITY_EDITOR)
- AlignMTB retVal = AlignMTB.__fromPtr__(photo_Photo_createAlignMTB_10(max_bits, exclude_range, cut));
- return retVal;
- #else
- return null;
- #endif
- }
- //javadoc: createAlignMTB(max_bits, exclude_range)
- public static AlignMTB createAlignMTB(int max_bits, int exclude_range) {
- #if (UNITY_ANDROID && !UNITY_EDITOR)
- AlignMTB retVal = AlignMTB.__fromPtr__(photo_Photo_createAlignMTB_11(max_bits, exclude_range));
- return retVal;
- #else
- return null;
- #endif
- }
- //javadoc: createAlignMTB(max_bits)
- public static AlignMTB createAlignMTB(int max_bits) {
- #if (UNITY_ANDROID && !UNITY_EDITOR)
- AlignMTB retVal = AlignMTB.__fromPtr__(photo_Photo_createAlignMTB_12(max_bits));
- return retVal;
- #else
- return null;
- #endif
- }
- //javadoc: createAlignMTB()
- public static AlignMTB createAlignMTB() {
- #if (UNITY_ANDROID && !UNITY_EDITOR)
- AlignMTB retVal = AlignMTB.__fromPtr__(photo_Photo_createAlignMTB_13());
- return retVal;
- #else
- return null;
- #endif
- }
- //
- // C++: Ptr_CalibrateDebevec cv::createCalibrateDebevec(int samples = 70, float lambda = 10.0f, bool random = false)
- //
- //javadoc: createCalibrateDebevec(samples, lambda, random)
- public static CalibrateDebevec createCalibrateDebevec(int samples, float lambda, bool random) {
- #if (UNITY_ANDROID && !UNITY_EDITOR)
- CalibrateDebevec retVal = CalibrateDebevec.__fromPtr__(photo_Photo_createCalibrateDebevec_10(samples, lambda, random));
- return retVal;
- #else
- return null;
- #endif
- }
- //javadoc: createCalibrateDebevec(samples, lambda)
- public static CalibrateDebevec createCalibrateDebevec(int samples, float lambda) {
- #if (UNITY_ANDROID && !UNITY_EDITOR)
- CalibrateDebevec retVal = CalibrateDebevec.__fromPtr__(photo_Photo_createCalibrateDebevec_11(samples, lambda));
- return retVal;
- #else
- return null;
- #endif
- }
- //javadoc: createCalibrateDebevec(samples)
- public static CalibrateDebevec createCalibrateDebevec(int samples) {
- #if (UNITY_ANDROID && !UNITY_EDITOR)
- CalibrateDebevec retVal = CalibrateDebevec.__fromPtr__(photo_Photo_createCalibrateDebevec_12(samples));
- return retVal;
- #else
- return null;
- #endif
- }
- //javadoc: createCalibrateDebevec()
- public static CalibrateDebevec createCalibrateDebevec() {
- #if (UNITY_ANDROID && !UNITY_EDITOR)
- CalibrateDebevec retVal = CalibrateDebevec.__fromPtr__(photo_Photo_createCalibrateDebevec_13());
- return retVal;
- #else
- return null;
- #endif
- }
- //
- // C++: Ptr_CalibrateRobertson cv::createCalibrateRobertson(int max_iter = 30, float threshold = 0.01f)
- //
- //javadoc: createCalibrateRobertson(max_iter, threshold)
- public static CalibrateRobertson createCalibrateRobertson(int max_iter, float threshold) {
- #if (UNITY_ANDROID && !UNITY_EDITOR)
- CalibrateRobertson retVal = CalibrateRobertson.__fromPtr__(photo_Photo_createCalibrateRobertson_10(max_iter, threshold));
- return retVal;
- #else
- return null;
- #endif
- }
- //javadoc: createCalibrateRobertson(max_iter)
- public static CalibrateRobertson createCalibrateRobertson(int max_iter) {
- #if (UNITY_ANDROID && !UNITY_EDITOR)
- CalibrateRobertson retVal = CalibrateRobertson.__fromPtr__(photo_Photo_createCalibrateRobertson_11(max_iter));
- return retVal;
- #else
- return null;
- #endif
- }
- //javadoc: createCalibrateRobertson()
- public static CalibrateRobertson createCalibrateRobertson() {
- #if (UNITY_ANDROID && !UNITY_EDITOR)
- CalibrateRobertson retVal = CalibrateRobertson.__fromPtr__(photo_Photo_createCalibrateRobertson_12());
- return retVal;
- #else
- return null;
- #endif
- }
- //
- // C++: Ptr_MergeDebevec cv::createMergeDebevec()
- //
- //javadoc: createMergeDebevec()
- public static MergeDebevec createMergeDebevec() {
- #if (UNITY_ANDROID && !UNITY_EDITOR)
- MergeDebevec retVal = MergeDebevec.__fromPtr__(photo_Photo_createMergeDebevec_10());
- return retVal;
- #else
- return null;
- #endif
- }
- //
- // C++: Ptr_MergeMertens cv::createMergeMertens(float contrast_weight = 1.0f, float saturation_weight = 1.0f, float exposure_weight = 0.0f)
- //
- //javadoc: createMergeMertens(contrast_weight, saturation_weight, exposure_weight)
- public static MergeMertens createMergeMertens(float contrast_weight, float saturation_weight, float exposure_weight) {
- #if (UNITY_ANDROID && !UNITY_EDITOR)
- MergeMertens retVal = MergeMertens.__fromPtr__(photo_Photo_createMergeMertens_10(contrast_weight, saturation_weight, exposure_weight));
- return retVal;
- #else
- return null;
- #endif
- }
- //javadoc: createMergeMertens(contrast_weight, saturation_weight)
- public static MergeMertens createMergeMertens(float contrast_weight, float saturation_weight) {
- #if (UNITY_ANDROID && !UNITY_EDITOR)
- MergeMertens retVal = MergeMertens.__fromPtr__(photo_Photo_createMergeMertens_11(contrast_weight, saturation_weight));
- return retVal;
- #else
- return null;
- #endif
- }
- //javadoc: createMergeMertens(contrast_weight)
- public static MergeMertens createMergeMertens(float contrast_weight) {
- #if (UNITY_ANDROID && !UNITY_EDITOR)
- MergeMertens retVal = MergeMertens.__fromPtr__(photo_Photo_createMergeMertens_12(contrast_weight));
- return retVal;
- #else
- return null;
- #endif
- }
- //javadoc: createMergeMertens()
- public static MergeMertens createMergeMertens() {
- #if (UNITY_ANDROID && !UNITY_EDITOR)
- MergeMertens retVal = MergeMertens.__fromPtr__(photo_Photo_createMergeMertens_13());
- return retVal;
- #else
- return null;
- #endif
- }
- //
- // C++: Ptr_MergeRobertson cv::createMergeRobertson()
- //
- //javadoc: createMergeRobertson()
- public static MergeRobertson createMergeRobertson() {
- #if (UNITY_ANDROID && !UNITY_EDITOR)
- MergeRobertson retVal = MergeRobertson.__fromPtr__(photo_Photo_createMergeRobertson_10());
- return retVal;
- #else
- return null;
- #endif
- }
- //
- // C++: Ptr_Tonemap cv::createTonemap(float gamma = 1.0f)
- //
- //javadoc: createTonemap(gamma)
- public static Tonemap createTonemap(float gamma) {
- #if (UNITY_ANDROID && !UNITY_EDITOR)
- Tonemap retVal = Tonemap.__fromPtr__(photo_Photo_createTonemap_10(gamma));
- return retVal;
- #else
- return null;
- #endif
- }
- //javadoc: createTonemap()
- public static Tonemap createTonemap() {
- #if (UNITY_ANDROID && !UNITY_EDITOR)
- Tonemap retVal = Tonemap.__fromPtr__(photo_Photo_createTonemap_11());
- return retVal;
- #else
- return null;
- #endif
- }
- //
- // C++: Ptr_TonemapDrago cv::createTonemapDrago(float gamma = 1.0f, float saturation = 1.0f, float bias = 0.85f)
- //
- //javadoc: createTonemapDrago(gamma, saturation, bias)
- public static TonemapDrago createTonemapDrago(float gamma, float saturation, float bias) {
- #if (UNITY_ANDROID && !UNITY_EDITOR)
- TonemapDrago retVal = TonemapDrago.__fromPtr__(photo_Photo_createTonemapDrago_10(gamma, saturation, bias));
- return retVal;
- #else
- return null;
- #endif
- }
- //javadoc: createTonemapDrago(gamma, saturation)
- public static TonemapDrago createTonemapDrago(float gamma, float saturation) {
- #if (UNITY_ANDROID && !UNITY_EDITOR)
- TonemapDrago retVal = TonemapDrago.__fromPtr__(photo_Photo_createTonemapDrago_11(gamma, saturation));
- return retVal;
- #else
- return null;
- #endif
- }
- //javadoc: createTonemapDrago(gamma)
- public static TonemapDrago createTonemapDrago(float gamma) {
- #if (UNITY_ANDROID && !UNITY_EDITOR)
- TonemapDrago retVal = TonemapDrago.__fromPtr__(photo_Photo_createTonemapDrago_12(gamma));
- return retVal;
- #else
- return null;
- #endif
- }
- //javadoc: createTonemapDrago()
- public static TonemapDrago createTonemapDrago() {
- #if (UNITY_ANDROID && !UNITY_EDITOR)
- TonemapDrago retVal = TonemapDrago.__fromPtr__(photo_Photo_createTonemapDrago_13());
- return retVal;
- #else
- return null;
- #endif
- }
- //
- // C++: Ptr_TonemapDurand cv::createTonemapDurand(float gamma = 1.0f, float contrast = 4.0f, float saturation = 1.0f, float sigma_space = 2.0f, float sigma_color = 2.0f)
- //
- //javadoc: createTonemapDurand(gamma, contrast, saturation, sigma_space, sigma_color)
- public static TonemapDurand createTonemapDurand(float gamma, float contrast, float saturation, float sigma_space, float sigma_color) {
- #if (UNITY_ANDROID && !UNITY_EDITOR)
- TonemapDurand retVal = TonemapDurand.__fromPtr__(photo_Photo_createTonemapDurand_10(gamma, contrast, saturation, sigma_space, sigma_color));
- return retVal;
- #else
- return null;
- #endif
- }
- //javadoc: createTonemapDurand(gamma, contrast, saturation, sigma_space)
- public static TonemapDurand createTonemapDurand(float gamma, float contrast, float saturation, float sigma_space) {
- #if (UNITY_ANDROID && !UNITY_EDITOR)
- TonemapDurand retVal = TonemapDurand.__fromPtr__(photo_Photo_createTonemapDurand_11(gamma, contrast, saturation, sigma_space));
- return retVal;
- #else
- return null;
- #endif
- }
- //javadoc: createTonemapDurand(gamma, contrast, saturation)
- public static TonemapDurand createTonemapDurand(float gamma, float contrast, float saturation) {
- #if (UNITY_ANDROID && !UNITY_EDITOR)
- TonemapDurand retVal = TonemapDurand.__fromPtr__(photo_Photo_createTonemapDurand_12(gamma, contrast, saturation));
- return retVal;
- #else
- return null;
- #endif
- }
- //javadoc: createTonemapDurand(gamma, contrast)
- public static TonemapDurand createTonemapDurand(float gamma, float contrast) {
- #if (UNITY_ANDROID && !UNITY_EDITOR)
- TonemapDurand retVal = TonemapDurand.__fromPtr__(photo_Photo_createTonemapDurand_13(gamma, contrast));
- return retVal;
- #else
- return null;
- #endif
- }
- //javadoc: createTonemapDurand(gamma)
- public static TonemapDurand createTonemapDurand(float gamma) {
- #if (UNITY_ANDROID && !UNITY_EDITOR)
- TonemapDurand retVal = TonemapDurand.__fromPtr__(photo_Photo_createTonemapDurand_14(gamma));
- return retVal;
- #else
- return null;
- #endif
- }
- //javadoc: createTonemapDurand()
- public static TonemapDurand createTonemapDurand() {
- #if (UNITY_ANDROID && !UNITY_EDITOR)
- TonemapDurand retVal = TonemapDurand.__fromPtr__(photo_Photo_createTonemapDurand_15());
- return retVal;
- #else
- return null;
- #endif
- }
- //
- // C++: Ptr_TonemapMantiuk cv::createTonemapMantiuk(float gamma = 1.0f, float scale = 0.7f, float saturation = 1.0f)
- //
- //javadoc: createTonemapMantiuk(gamma, scale, saturation)
- public static TonemapMantiuk createTonemapMantiuk(float gamma, float scale, float saturation) {
- #if (UNITY_ANDROID && !UNITY_EDITOR)
- TonemapMantiuk retVal = TonemapMantiuk.__fromPtr__(photo_Photo_createTonemapMantiuk_10(gamma, scale, saturation));
- return retVal;
- #else
- return null;
- #endif
- }
- //javadoc: createTonemapMantiuk(gamma, scale)
- public static TonemapMantiuk createTonemapMantiuk(float gamma, float scale) {
- #if (UNITY_ANDROID && !UNITY_EDITOR)
- TonemapMantiuk retVal = TonemapMantiuk.__fromPtr__(photo_Photo_createTonemapMantiuk_11(gamma, scale));
- return retVal;
- #else
- return null;
- #endif
- }
- //javadoc: createTonemapMantiuk(gamma)
- public static TonemapMantiuk createTonemapMantiuk(float gamma) {
- #if (UNITY_ANDROID && !UNITY_EDITOR)
- TonemapMantiuk retVal = TonemapMantiuk.__fromPtr__(photo_Photo_createTonemapMantiuk_12(gamma));
- return retVal;
- #else
- return null;
- #endif
- }
- //javadoc: createTonemapMantiuk()
- public static TonemapMantiuk createTonemapMantiuk() {
- #if (UNITY_ANDROID && !UNITY_EDITOR)
- TonemapMantiuk retVal = TonemapMantiuk.__fromPtr__(photo_Photo_createTonemapMantiuk_13());
- return retVal;
- #else
- return null;
- #endif
- }
- //
- // C++: Ptr_TonemapReinhard cv::createTonemapReinhard(float gamma = 1.0f, float intensity = 0.0f, float light_adapt = 1.0f, float color_adapt = 0.0f)
- //
- //javadoc: createTonemapReinhard(gamma, intensity, light_adapt, color_adapt)
- public static TonemapReinhard createTonemapReinhard(float gamma, float intensity, float light_adapt, float color_adapt) {
- #if (UNITY_ANDROID && !UNITY_EDITOR)
- TonemapReinhard retVal = TonemapReinhard.__fromPtr__(photo_Photo_createTonemapReinhard_10(gamma, intensity, light_adapt, color_adapt));
- return retVal;
- #else
- return null;
- #endif
- }
- //javadoc: createTonemapReinhard(gamma, intensity, light_adapt)
- public static TonemapReinhard createTonemapReinhard(float gamma, float intensity, float light_adapt) {
- #if (UNITY_ANDROID && !UNITY_EDITOR)
- TonemapReinhard retVal = TonemapReinhard.__fromPtr__(photo_Photo_createTonemapReinhard_11(gamma, intensity, light_adapt));
- return retVal;
- #else
- return null;
- #endif
- }
- //javadoc: createTonemapReinhard(gamma, intensity)
- public static TonemapReinhard createTonemapReinhard(float gamma, float intensity) {
- #if (UNITY_ANDROID && !UNITY_EDITOR)
- TonemapReinhard retVal = TonemapReinhard.__fromPtr__(photo_Photo_createTonemapReinhard_12(gamma, intensity));
- return retVal;
- #else
- return null;
- #endif
- }
- //javadoc: createTonemapReinhard(gamma)
- public static TonemapReinhard createTonemapReinhard(float gamma) {
- #if (UNITY_ANDROID && !UNITY_EDITOR)
- TonemapReinhard retVal = TonemapReinhard.__fromPtr__(photo_Photo_createTonemapReinhard_13(gamma));
- return retVal;
- #else
- return null;
- #endif
- }
- //javadoc: createTonemapReinhard()
- public static TonemapReinhard createTonemapReinhard() {
- #if (UNITY_ANDROID && !UNITY_EDITOR)
- TonemapReinhard retVal = TonemapReinhard.__fromPtr__(photo_Photo_createTonemapReinhard_14());
- return retVal;
- #else
- return null;
- #endif
- }
- //
- // C++: void cv::colorChange(Mat src, Mat mask, Mat& dst, float red_mul = 1.0f, float green_mul = 1.0f, float blue_mul = 1.0f)
- //
- //javadoc: colorChange(src, mask, dst, red_mul, green_mul, blue_mul)
- public static void colorChange(Mat src, Mat mask, Mat dst, float red_mul, float green_mul, float blue_mul) {
- if (src != null) src.ThrowIfDisposed();
- if (mask != null) mask.ThrowIfDisposed();
- if (dst != null) dst.ThrowIfDisposed();
- #if (UNITY_ANDROID && !UNITY_EDITOR)
- photo_Photo_colorChange_10(src.nativeObj, mask.nativeObj, dst.nativeObj, red_mul, green_mul, blue_mul);
- return;
- #else
- return;
- #endif
- }
- //javadoc: colorChange(src, mask, dst, red_mul, green_mul)
- public static void colorChange(Mat src, Mat mask, Mat dst, float red_mul, float green_mul) {
- if (src != null) src.ThrowIfDisposed();
- if (mask != null) mask.ThrowIfDisposed();
- if (dst != null) dst.ThrowIfDisposed();
- #if (UNITY_ANDROID && !UNITY_EDITOR)
- photo_Photo_colorChange_11(src.nativeObj, mask.nativeObj, dst.nativeObj, red_mul, green_mul);
- return;
- #else
- return;
- #endif
- }
- //javadoc: colorChange(src, mask, dst, red_mul)
- public static void colorChange(Mat src, Mat mask, Mat dst, float red_mul) {
- if (src != null) src.ThrowIfDisposed();
- if (mask != null) mask.ThrowIfDisposed();
- if (dst != null) dst.ThrowIfDisposed();
- #if (UNITY_ANDROID && !UNITY_EDITOR)
- photo_Photo_colorChange_12(src.nativeObj, mask.nativeObj, dst.nativeObj, red_mul);
- return;
- #else
- return;
- #endif
- }
- //javadoc: colorChange(src, mask, dst)
- public static void colorChange(Mat src, Mat mask, Mat dst) {
- if (src != null) src.ThrowIfDisposed();
- if (mask != null) mask.ThrowIfDisposed();
- if (dst != null) dst.ThrowIfDisposed();
- #if (UNITY_ANDROID && !UNITY_EDITOR)
- photo_Photo_colorChange_13(src.nativeObj, mask.nativeObj, dst.nativeObj);
- return;
- #else
- return;
- #endif
- }
- //
- // C++: void cv::decolor(Mat src, Mat& grayscale, Mat& color_boost)
- //
- //javadoc: decolor(src, grayscale, color_boost)
- public static void decolor(Mat src, Mat grayscale, Mat color_boost) {
- if (src != null) src.ThrowIfDisposed();
- if (grayscale != null) grayscale.ThrowIfDisposed();
- if (color_boost != null) color_boost.ThrowIfDisposed();
- #if (UNITY_ANDROID && !UNITY_EDITOR)
- photo_Photo_decolor_10(src.nativeObj, grayscale.nativeObj, color_boost.nativeObj);
- return;
- #else
- return;
- #endif
- }
- //
- // C++: void cv::denoise_TVL1(vector_Mat observations, Mat result, double lambda = 1.0, int niters = 30)
- //
- //javadoc: denoise_TVL1(observations, result, lambda, niters)
- public static void denoise_TVL1(List<Mat> observations, Mat result, double lambda, int niters) {
- if (result != null) result.ThrowIfDisposed();
- #if (UNITY_ANDROID && !UNITY_EDITOR)
- Mat observations_mat = Converters.vector_Mat_to_Mat(observations);
- photo_Photo_denoise_1TVL1_10(observations_mat.nativeObj, result.nativeObj, lambda, niters);
- return;
- #else
- return;
- #endif
- }
- //javadoc: denoise_TVL1(observations, result, lambda)
- public static void denoise_TVL1(List<Mat> observations, Mat result, double lambda) {
- if (result != null) result.ThrowIfDisposed();
- #if (UNITY_ANDROID && !UNITY_EDITOR)
- Mat observations_mat = Converters.vector_Mat_to_Mat(observations);
- photo_Photo_denoise_1TVL1_11(observations_mat.nativeObj, result.nativeObj, lambda);
- return;
- #else
- return;
- #endif
- }
- //javadoc: denoise_TVL1(observations, result)
- public static void denoise_TVL1(List<Mat> observations, Mat result) {
- if (result != null) result.ThrowIfDisposed();
- #if (UNITY_ANDROID && !UNITY_EDITOR)
- Mat observations_mat = Converters.vector_Mat_to_Mat(observations);
- photo_Photo_denoise_1TVL1_12(observations_mat.nativeObj, result.nativeObj);
- return;
- #else
- return;
- #endif
- }
- //
- // C++: void cv::detailEnhance(Mat src, Mat& dst, float sigma_s = 10, float sigma_r = 0.15f)
- //
- //javadoc: detailEnhance(src, dst, sigma_s, sigma_r)
- public static void detailEnhance(Mat src, Mat dst, float sigma_s, float sigma_r) {
- if (src != null) src.ThrowIfDisposed();
- if (dst != null) dst.ThrowIfDisposed();
- #if (UNITY_ANDROID && !UNITY_EDITOR)
- photo_Photo_detailEnhance_10(src.nativeObj, dst.nativeObj, sigma_s, sigma_r);
- return;
- #else
- return;
- #endif
- }
- //javadoc: detailEnhance(src, dst, sigma_s)
- public static void detailEnhance(Mat src, Mat dst, float sigma_s) {
- if (src != null) src.ThrowIfDisposed();
- if (dst != null) dst.ThrowIfDisposed();
- #if (UNITY_ANDROID && !UNITY_EDITOR)
- photo_Photo_detailEnhance_11(src.nativeObj, dst.nativeObj, sigma_s);
- return;
- #else
- return;
- #endif
- }
- //javadoc: detailEnhance(src, dst)
- public static void detailEnhance(Mat src, Mat dst) {
- if (src != null) src.ThrowIfDisposed();
- if (dst != null) dst.ThrowIfDisposed();
- #if (UNITY_ANDROID && !UNITY_EDITOR)
- photo_Photo_detailEnhance_12(src.nativeObj, dst.nativeObj);
- return;
- #else
- return;
- #endif
- }
- //
- // C++: void cv::edgePreservingFilter(Mat src, Mat& dst, int flags = 1, float sigma_s = 60, float sigma_r = 0.4f)
- //
- //javadoc: edgePreservingFilter(src, dst, flags, sigma_s, sigma_r)
- public static void edgePreservingFilter(Mat src, Mat dst, int flags, float sigma_s, float sigma_r) {
- if (src != null) src.ThrowIfDisposed();
- if (dst != null) dst.ThrowIfDisposed();
- #if (UNITY_ANDROID && !UNITY_EDITOR)
- photo_Photo_edgePreservingFilter_10(src.nativeObj, dst.nativeObj, flags, sigma_s, sigma_r);
- return;
- #else
- return;
- #endif
- }
- //javadoc: edgePreservingFilter(src, dst, flags, sigma_s)
- public static void edgePreservingFilter(Mat src, Mat dst, int flags, float sigma_s) {
- if (src != null) src.ThrowIfDisposed();
- if (dst != null) dst.ThrowIfDisposed();
- #if (UNITY_ANDROID && !UNITY_EDITOR)
- photo_Photo_edgePreservingFilter_11(src.nativeObj, dst.nativeObj, flags, sigma_s);
- return;
- #else
- return;
- #endif
- }
- //javadoc: edgePreservingFilter(src, dst, flags)
- public static void edgePreservingFilter(Mat src, Mat dst, int flags) {
- if (src != null) src.ThrowIfDisposed();
- if (dst != null) dst.ThrowIfDisposed();
- #if (UNITY_ANDROID && !UNITY_EDITOR)
- photo_Photo_edgePreservingFilter_12(src.nativeObj, dst.nativeObj, flags);
- return;
- #else
- return;
- #endif
- }
- //javadoc: edgePreservingFilter(src, dst)
- public static void edgePreservingFilter(Mat src, Mat dst) {
- if (src != null) src.ThrowIfDisposed();
- if (dst != null) dst.ThrowIfDisposed();
- #if (UNITY_ANDROID && !UNITY_EDITOR)
- photo_Photo_edgePreservingFilter_13(src.nativeObj, dst.nativeObj);
- return;
- #else
- return;
- #endif
- }
- //
- // C++: void cv::fastNlMeansDenoising(Mat src, Mat& dst, float h = 3, int templateWindowSize = 7, int searchWindowSize = 21)
- //
- //javadoc: fastNlMeansDenoising(src, dst, h, templateWindowSize, searchWindowSize)
- public static void fastNlMeansDenoising(Mat src, Mat dst, float h, int templateWindowSize, int searchWindowSize) {
- if (src != null) src.ThrowIfDisposed();
- if (dst != null) dst.ThrowIfDisposed();
- #if (UNITY_ANDROID && !UNITY_EDITOR)
- photo_Photo_fastNlMeansDenoising_10(src.nativeObj, dst.nativeObj, h, templateWindowSize, searchWindowSize);
- return;
- #else
- return;
- #endif
- }
- //javadoc: fastNlMeansDenoising(src, dst, h, templateWindowSize)
- public static void fastNlMeansDenoising(Mat src, Mat dst, float h, int templateWindowSize) {
- if (src != null) src.ThrowIfDisposed();
- if (dst != null) dst.ThrowIfDisposed();
- #if (UNITY_ANDROID && !UNITY_EDITOR)
- photo_Photo_fastNlMeansDenoising_11(src.nativeObj, dst.nativeObj, h, templateWindowSize);
- return;
- #else
- return;
- #endif
- }
- //javadoc: fastNlMeansDenoising(src, dst, h)
- public static void fastNlMeansDenoising(Mat src, Mat dst, float h) {
- if (src != null) src.ThrowIfDisposed();
- if (dst != null) dst.ThrowIfDisposed();
- #if (UNITY_ANDROID && !UNITY_EDITOR)
- photo_Photo_fastNlMeansDenoising_12(src.nativeObj, dst.nativeObj, h);
- return;
- #else
- return;
- #endif
- }
- //javadoc: fastNlMeansDenoising(src, dst)
- public static void fastNlMeansDenoising(Mat src, Mat dst) {
- if (src != null) src.ThrowIfDisposed();
- if (dst != null) dst.ThrowIfDisposed();
- #if (UNITY_ANDROID && !UNITY_EDITOR)
- photo_Photo_fastNlMeansDenoising_13(src.nativeObj, dst.nativeObj);
- return;
- #else
- return;
- #endif
- }
- //
- // C++: void cv::fastNlMeansDenoising(Mat src, Mat& dst, vector_float h, int templateWindowSize = 7, int searchWindowSize = 21, int normType = NORM_L2)
- //
- //javadoc: fastNlMeansDenoising(src, dst, h, templateWindowSize, searchWindowSize, normType)
- public static void fastNlMeansDenoising(Mat src, Mat dst, MatOfFloat h, int templateWindowSize, int searchWindowSize, int normType) {
- if (src != null) src.ThrowIfDisposed();
- if (dst != null) dst.ThrowIfDisposed();
- if (h != null) h.ThrowIfDisposed();
- #if (UNITY_ANDROID && !UNITY_EDITOR)
- Mat h_mat = h;
- photo_Photo_fastNlMeansDenoising_14(src.nativeObj, dst.nativeObj, h_mat.nativeObj, templateWindowSize, searchWindowSize, normType);
- return;
- #else
- return;
- #endif
- }
- //javadoc: fastNlMeansDenoising(src, dst, h, templateWindowSize, searchWindowSize)
- public static void fastNlMeansDenoising(Mat src, Mat dst, MatOfFloat h, int templateWindowSize, int searchWindowSize) {
- if (src != null) src.ThrowIfDisposed();
- if (dst != null) dst.ThrowIfDisposed();
- if (h != null) h.ThrowIfDisposed();
- #if (UNITY_ANDROID && !UNITY_EDITOR)
- Mat h_mat = h;
- photo_Photo_fastNlMeansDenoising_15(src.nativeObj, dst.nativeObj, h_mat.nativeObj, templateWindowSize, searchWindowSize);
- return;
- #else
- return;
- #endif
- }
- //javadoc: fastNlMeansDenoising(src, dst, h, templateWindowSize)
- public static void fastNlMeansDenoising(Mat src, Mat dst, MatOfFloat h, int templateWindowSize) {
- if (src != null) src.ThrowIfDisposed();
- if (dst != null) dst.ThrowIfDisposed();
- if (h != null) h.ThrowIfDisposed();
- #if (UNITY_ANDROID && !UNITY_EDITOR)
- Mat h_mat = h;
- photo_Photo_fastNlMeansDenoising_16(src.nativeObj, dst.nativeObj, h_mat.nativeObj, templateWindowSize);
- return;
- #else
- return;
- #endif
- }
- //javadoc: fastNlMeansDenoising(src, dst, h)
- public static void fastNlMeansDenoising(Mat src, Mat dst, MatOfFloat h) {
- if (src != null) src.ThrowIfDisposed();
- if (dst != null) dst.ThrowIfDisposed();
- if (h != null) h.ThrowIfDisposed();
- #if (UNITY_ANDROID && !UNITY_EDITOR)
- Mat h_mat = h;
- photo_Photo_fastNlMeansDenoising_17(src.nativeObj, dst.nativeObj, h_mat.nativeObj);
- return;
- #else
- return;
- #endif
- }
- //
- // C++: void cv::fastNlMeansDenoisingColored(Mat src, Mat& dst, float h = 3, float hColor = 3, int templateWindowSize = 7, int searchWindowSize = 21)
- //
- //javadoc: fastNlMeansDenoisingColored(src, dst, h, hColor, templateWindowSize, searchWindowSize)
- public static void fastNlMeansDenoisingColored(Mat src, Mat dst, float h, float hColor, int templateWindowSize, int searchWindowSize) {
- if (src != null) src.ThrowIfDisposed();
- if (dst != null) dst.ThrowIfDisposed();
- #if (UNITY_ANDROID && !UNITY_EDITOR)
- photo_Photo_fastNlMeansDenoisingColored_10(src.nativeObj, dst.nativeObj, h, hColor, templateWindowSize, searchWindowSize);
- return;
- #else
- return;
- #endif
- }
- //javadoc: fastNlMeansDenoisingColored(src, dst, h, hColor, templateWindowSize)
- public static void fastNlMeansDenoisingColored(Mat src, Mat dst, float h, float hColor, int templateWindowSize) {
- if (src != null) src.ThrowIfDisposed();
- if (dst != null) dst.ThrowIfDisposed();
- #if (UNITY_ANDROID && !UNITY_EDITOR)
- photo_Photo_fastNlMeansDenoisingColored_11(src.nativeObj, dst.nativeObj, h, hColor, templateWindowSize);
- return;
- #else
- return;
- #endif
- }
- //javadoc: fastNlMeansDenoisingColored(src, dst, h, hColor)
- public static void fastNlMeansDenoisingColored(Mat src, Mat dst, float h, float hColor) {
- if (src != null) src.ThrowIfDisposed();
- if (dst != null) dst.ThrowIfDisposed();
- #if (UNITY_ANDROID && !UNITY_EDITOR)
- photo_Photo_fastNlMeansDenoisingColored_12(src.nativeObj, dst.nativeObj, h, hColor);
- return;
- #else
- return;
- #endif
- }
- //javadoc: fastNlMeansDenoisingColored(src, dst, h)
- public static void fastNlMeansDenoisingColored(Mat src, Mat dst, float h) {
- if (src != null) src.ThrowIfDisposed();
- if (dst != null) dst.ThrowIfDisposed();
- #if (UNITY_ANDROID && !UNITY_EDITOR)
- photo_Photo_fastNlMeansDenoisingColored_13(src.nativeObj, dst.nativeObj, h);
- return;
- #else
- return;
- #endif
- }
- //javadoc: fastNlMeansDenoisingColored(src, dst)
- public static void fastNlMeansDenoisingColored(Mat src, Mat dst) {
- if (src != null) src.ThrowIfDisposed();
- if (dst != null) dst.ThrowIfDisposed();
- #if (UNITY_ANDROID && !UNITY_EDITOR)
- photo_Photo_fastNlMeansDenoisingColored_14(src.nativeObj, dst.nativeObj);
- return;
- #else
- return;
- #endif
- }
- //
- // C++: void cv::fastNlMeansDenoisingColoredMulti(vector_Mat srcImgs, Mat& dst, int imgToDenoiseIndex, int temporalWindowSize, float h = 3, float hColor = 3, int templateWindowSize = 7, int searchWindowSize = 21)
- //
- //javadoc: fastNlMeansDenoisingColoredMulti(srcImgs, dst, imgToDenoiseIndex, temporalWindowSize, h, hColor, templateWindowSize, searchWindowSize)
- public static void fastNlMeansDenoisingColoredMulti(List<Mat> srcImgs, Mat dst, int imgToDenoiseIndex, int temporalWindowSize, float h, float hColor, int templateWindowSize, int searchWindowSize) {
- if (dst != null) dst.ThrowIfDisposed();
- #if (UNITY_ANDROID && !UNITY_EDITOR)
- Mat srcImgs_mat = Converters.vector_Mat_to_Mat(srcImgs);
- photo_Photo_fastNlMeansDenoisingColoredMulti_10(srcImgs_mat.nativeObj, dst.nativeObj, imgToDenoiseIndex, temporalWindowSize, h, hColor, templateWindowSize, searchWindowSize);
- return;
- #else
- return;
- #endif
- }
- //javadoc: fastNlMeansDenoisingColoredMulti(srcImgs, dst, imgToDenoiseIndex, temporalWindowSize, h, hColor, templateWindowSize)
- public static void fastNlMeansDenoisingColoredMulti(List<Mat> srcImgs, Mat dst, int imgToDenoiseIndex, int temporalWindowSize, float h, float hColor, int templateWindowSize) {
- if (dst != null) dst.ThrowIfDisposed();
- #if (UNITY_ANDROID && !UNITY_EDITOR)
- Mat srcImgs_mat = Converters.vector_Mat_to_Mat(srcImgs);
- photo_Photo_fastNlMeansDenoisingColoredMulti_11(srcImgs_mat.nativeObj, dst.nativeObj, imgToDenoiseIndex, temporalWindowSize, h, hColor, templateWindowSize);
- return;
- #else
- return;
- #endif
- }
- //javadoc: fastNlMeansDenoisingColoredMulti(srcImgs, dst, imgToDenoiseIndex, temporalWindowSize, h, hColor)
- public static void fastNlMeansDenoisingColoredMulti(List<Mat> srcImgs, Mat dst, int imgToDenoiseIndex, int temporalWindowSize, float h, float hColor) {
- if (dst != null) dst.ThrowIfDisposed();
- #if (UNITY_ANDROID && !UNITY_EDITOR)
- Mat srcImgs_mat = Converters.vector_Mat_to_Mat(srcImgs);
- photo_Photo_fastNlMeansDenoisingColoredMulti_12(srcImgs_mat.nativeObj, dst.nativeObj, imgToDenoiseIndex, temporalWindowSize, h, hColor);
- return;
- #else
- return;
- #endif
- }
- //javadoc: fastNlMeansDenoisingColoredMulti(srcImgs, dst, imgToDenoiseIndex, temporalWindowSize, h)
- public static void fastNlMeansDenoisingColoredMulti(List<Mat> srcImgs, Mat dst, int imgToDenoiseIndex, int temporalWindowSize, float h) {
- if (dst != null) dst.ThrowIfDisposed();
- #if (UNITY_ANDROID && !UNITY_EDITOR)
- Mat srcImgs_mat = Converters.vector_Mat_to_Mat(srcImgs);
- photo_Photo_fastNlMeansDenoisingColoredMulti_13(srcImgs_mat.nativeObj, dst.nativeObj, imgToDenoiseIndex, temporalWindowSize, h);
- return;
- #else
- return;
- #endif
- }
- //javadoc: fastNlMeansDenoisingColoredMulti(srcImgs, dst, imgToDenoiseIndex, temporalWindowSize)
- public static void fastNlMeansDenoisingColoredMulti(List<Mat> srcImgs, Mat dst, int imgToDenoiseIndex, int temporalWindowSize) {
- if (dst != null) dst.ThrowIfDisposed();
- #if (UNITY_ANDROID && !UNITY_EDITOR)
- Mat srcImgs_mat = Converters.vector_Mat_to_Mat(srcImgs);
- photo_Photo_fastNlMeansDenoisingColoredMulti_14(srcImgs_mat.nativeObj, dst.nativeObj, imgToDenoiseIndex, temporalWindowSize);
- return;
- #else
- return;
- #endif
- }
- //
- // C++: void cv::fastNlMeansDenoisingMulti(vector_Mat srcImgs, Mat& dst, int imgToDenoiseIndex, int temporalWindowSize, float h = 3, int templateWindowSize = 7, int searchWindowSize = 21)
- //
- //javadoc: fastNlMeansDenoisingMulti(srcImgs, dst, imgToDenoiseIndex, temporalWindowSize, h, templateWindowSize, searchWindowSize)
- public static void fastNlMeansDenoisingMulti(List<Mat> srcImgs, Mat dst, int imgToDenoiseIndex, int temporalWindowSize, float h, int templateWindowSize, int searchWindowSize) {
- if (dst != null) dst.ThrowIfDisposed();
- #if (UNITY_ANDROID && !UNITY_EDITOR)
- Mat srcImgs_mat = Converters.vector_Mat_to_Mat(srcImgs);
- photo_Photo_fastNlMeansDenoisingMulti_10(srcImgs_mat.nativeObj, dst.nativeObj, imgToDenoiseIndex, temporalWindowSize, h, templateWindowSize, searchWindowSize);
- return;
- #else
- return;
- #endif
- }
- //javadoc: fastNlMeansDenoisingMulti(srcImgs, dst, imgToDenoiseIndex, temporalWindowSize, h, templateWindowSize)
- public static void fastNlMeansDenoisingMulti(List<Mat> srcImgs, Mat dst, int imgToDenoiseIndex, int temporalWindowSize, float h, int templateWindowSize) {
- if (dst != null) dst.ThrowIfDisposed();
- #if (UNITY_ANDROID && !UNITY_EDITOR)
- Mat srcImgs_mat = Converters.vector_Mat_to_Mat(srcImgs);
- photo_Photo_fastNlMeansDenoisingMulti_11(srcImgs_mat.nativeObj, dst.nativeObj, imgToDenoiseIndex, temporalWindowSize, h, templateWindowSize);
- return;
- #else
- return;
- #endif
- }
- //javadoc: fastNlMeansDenoisingMulti(srcImgs, dst, imgToDenoiseIndex, temporalWindowSize, h)
- public static void fastNlMeansDenoisingMulti(List<Mat> srcImgs, Mat dst, int imgToDenoiseIndex, int temporalWindowSize, float h) {
- if (dst != null) dst.ThrowIfDisposed();
- #if (UNITY_ANDROID && !UNITY_EDITOR)
- Mat srcImgs_mat = Converters.vector_Mat_to_Mat(srcImgs);
- photo_Photo_fastNlMeansDenoisingMulti_12(srcImgs_mat.nativeObj, dst.nativeObj, imgToDenoiseIndex, temporalWindowSize, h);
- return;
- #else
- return;
- #endif
- }
- //javadoc: fastNlMeansDenoisingMulti(srcImgs, dst, imgToDenoiseIndex, temporalWindowSize)
- public static void fastNlMeansDenoisingMulti(List<Mat> srcImgs, Mat dst, int imgToDenoiseIndex, int temporalWindowSize) {
- if (dst != null) dst.ThrowIfDisposed();
- #if (UNITY_ANDROID && !UNITY_EDITOR)
- Mat srcImgs_mat = Converters.vector_Mat_to_Mat(srcImgs);
- photo_Photo_fastNlMeansDenoisingMulti_13(srcImgs_mat.nativeObj, dst.nativeObj, imgToDenoiseIndex, temporalWindowSize);
- return;
- #else
- return;
- #endif
- }
- //
- // C++: void cv::fastNlMeansDenoisingMulti(vector_Mat srcImgs, Mat& dst, int imgToDenoiseIndex, int temporalWindowSize, vector_float h, int templateWindowSize = 7, int searchWindowSize = 21, int normType = NORM_L2)
- //
- //javadoc: fastNlMeansDenoisingMulti(srcImgs, dst, imgToDenoiseIndex, temporalWindowSize, h, templateWindowSize, searchWindowSize, normType)
- public static void fastNlMeansDenoisingMulti(List<Mat> srcImgs, Mat dst, int imgToDenoiseIndex, int temporalWindowSize, MatOfFloat h, int templateWindowSize, int searchWindowSize, int normType) {
- if (dst != null) dst.ThrowIfDisposed();
- if (h != null) h.ThrowIfDisposed();
- #if (UNITY_ANDROID && !UNITY_EDITOR)
- Mat srcImgs_mat = Converters.vector_Mat_to_Mat(srcImgs);
- Mat h_mat = h;
- photo_Photo_fastNlMeansDenoisingMulti_14(srcImgs_mat.nativeObj, dst.nativeObj, imgToDenoiseIndex, temporalWindowSize, h_mat.nativeObj, templateWindowSize, searchWindowSize, normType);
- return;
- #else
- return;
- #endif
- }
- //javadoc: fastNlMeansDenoisingMulti(srcImgs, dst, imgToDenoiseIndex, temporalWindowSize, h, templateWindowSize, searchWindowSize)
- public static void fastNlMeansDenoisingMulti(List<Mat> srcImgs, Mat dst, int imgToDenoiseIndex, int temporalWindowSize, MatOfFloat h, int templateWindowSize, int searchWindowSize) {
- if (dst != null) dst.ThrowIfDisposed();
- if (h != null) h.ThrowIfDisposed();
- #if (UNITY_ANDROID && !UNITY_EDITOR)
- Mat srcImgs_mat = Converters.vector_Mat_to_Mat(srcImgs);
- Mat h_mat = h;
- photo_Photo_fastNlMeansDenoisingMulti_15(srcImgs_mat.nativeObj, dst.nativeObj, imgToDenoiseIndex, temporalWindowSize, h_mat.nativeObj, templateWindowSize, searchWindowSize);
- return;
- #else
- return;
- #endif
- }
- //javadoc: fastNlMeansDenoisingMulti(srcImgs, dst, imgToDenoiseIndex, temporalWindowSize, h, templateWindowSize)
- public static void fastNlMeansDenoisingMulti(List<Mat> srcImgs, Mat dst, int imgToDenoiseIndex, int temporalWindowSize, MatOfFloat h, int templateWindowSize) {
- if (dst != null) dst.ThrowIfDisposed();
- if (h != null) h.ThrowIfDisposed();
- #if (UNITY_ANDROID && !UNITY_EDITOR)
- Mat srcImgs_mat = Converters.vector_Mat_to_Mat(srcImgs);
- Mat h_mat = h;
- photo_Photo_fastNlMeansDenoisingMulti_16(srcImgs_mat.nativeObj, dst.nativeObj, imgToDenoiseIndex, temporalWindowSize, h_mat.nativeObj, templateWindowSize);
- return;
- #else
- return;
- #endif
- }
- //javadoc: fastNlMeansDenoisingMulti(srcImgs, dst, imgToDenoiseIndex, temporalWindowSize, h)
- public static void fastNlMeansDenoisingMulti(List<Mat> srcImgs, Mat dst, int imgToDenoiseIndex, int temporalWindowSize, MatOfFloat h) {
- if (dst != null) dst.ThrowIfDisposed();
- if (h != null) h.ThrowIfDisposed();
- #if (UNITY_ANDROID && !UNITY_EDITOR)
- Mat srcImgs_mat = Converters.vector_Mat_to_Mat(srcImgs);
- Mat h_mat = h;
- photo_Photo_fastNlMeansDenoisingMulti_17(srcImgs_mat.nativeObj, dst.nativeObj, imgToDenoiseIndex, temporalWindowSize, h_mat.nativeObj);
- return;
- #else
- return;
- #endif
- }
- //
- // C++: void cv::illuminationChange(Mat src, Mat mask, Mat& dst, float alpha = 0.2f, float beta = 0.4f)
- //
- //javadoc: illuminationChange(src, mask, dst, alpha, beta)
- public static void illuminationChange(Mat src, Mat mask, Mat dst, float alpha, float beta) {
- if (src != null) src.ThrowIfDisposed();
- if (mask != null) mask.ThrowIfDisposed();
- if (dst != null) dst.ThrowIfDisposed();
- #if (UNITY_ANDROID && !UNITY_EDITOR)
- photo_Photo_illuminationChange_10(src.nativeObj, mask.nativeObj, dst.nativeObj, alpha, beta);
- return;
- #else
- return;
- #endif
- }
- //javadoc: illuminationChange(src, mask, dst, alpha)
- public static void illuminationChange(Mat src, Mat mask, Mat dst, float alpha) {
- if (src != null) src.ThrowIfDisposed();
- if (mask != null) mask.ThrowIfDisposed();
- if (dst != null) dst.ThrowIfDisposed();
- #if (UNITY_ANDROID && !UNITY_EDITOR)
- photo_Photo_illuminationChange_11(src.nativeObj, mask.nativeObj, dst.nativeObj, alpha);
- return;
- #else
- return;
- #endif
- }
- //javadoc: illuminationChange(src, mask, dst)
- public static void illuminationChange(Mat src, Mat mask, Mat dst) {
- if (src != null) src.ThrowIfDisposed();
- if (mask != null) mask.ThrowIfDisposed();
- if (dst != null) dst.ThrowIfDisposed();
- #if (UNITY_ANDROID && !UNITY_EDITOR)
- photo_Photo_illuminationChange_12(src.nativeObj, mask.nativeObj, dst.nativeObj);
- return;
- #else
- return;
- #endif
- }
- //
- // C++: void cv::inpaint(Mat src, Mat inpaintMask, Mat& dst, double inpaintRadius, int flags)
- //
- //javadoc: inpaint(src, inpaintMask, dst, inpaintRadius, flags)
- public static void inpaint(Mat src, Mat inpaintMask, Mat dst, double inpaintRadius, int flags) {
- if (src != null) src.ThrowIfDisposed();
- if (inpaintMask != null) inpaintMask.ThrowIfDisposed();
- if (dst != null) dst.ThrowIfDisposed();
- #if (UNITY_ANDROID && !UNITY_EDITOR)
- photo_Photo_inpaint_10(src.nativeObj, inpaintMask.nativeObj, dst.nativeObj, inpaintRadius, flags);
- return;
- #else
- return;
- #endif
- }
- //
- // C++: void cv::pencilSketch(Mat src, Mat& dst1, Mat& dst2, float sigma_s = 60, float sigma_r = 0.07f, float shade_factor = 0.02f)
- //
- //javadoc: pencilSketch(src, dst1, dst2, sigma_s, sigma_r, shade_factor)
- public static void pencilSketch(Mat src, Mat dst1, Mat dst2, float sigma_s, float sigma_r, float shade_factor) {
- if (src != null) src.ThrowIfDisposed();
- if (dst1 != null) dst1.ThrowIfDisposed();
- if (dst2 != null) dst2.ThrowIfDisposed();
- #if (UNITY_ANDROID && !UNITY_EDITOR)
- photo_Photo_pencilSketch_10(src.nativeObj, dst1.nativeObj, dst2.nativeObj, sigma_s, sigma_r, shade_factor);
- return;
- #else
- return;
- #endif
- }
- //javadoc: pencilSketch(src, dst1, dst2, sigma_s, sigma_r)
- public static void pencilSketch(Mat src, Mat dst1, Mat dst2, float sigma_s, float sigma_r) {
- if (src != null) src.ThrowIfDisposed();
- if (dst1 != null) dst1.ThrowIfDisposed();
- if (dst2 != null) dst2.ThrowIfDisposed();
- #if (UNITY_ANDROID && !UNITY_EDITOR)
- photo_Photo_pencilSketch_11(src.nativeObj, dst1.nativeObj, dst2.nativeObj, sigma_s, sigma_r);
- return;
- #else
- return;
- #endif
- }
- //javadoc: pencilSketch(src, dst1, dst2, sigma_s)
- public static void pencilSketch(Mat src, Mat dst1, Mat dst2, float sigma_s) {
- if (src != null) src.ThrowIfDisposed();
- if (dst1 != null) dst1.ThrowIfDisposed();
- if (dst2 != null) dst2.ThrowIfDisposed();
- #if (UNITY_ANDROID && !UNITY_EDITOR)
- photo_Photo_pencilSketch_12(src.nativeObj, dst1.nativeObj, dst2.nativeObj, sigma_s);
- return;
- #else
- return;
- #endif
- }
- //javadoc: pencilSketch(src, dst1, dst2)
- public static void pencilSketch(Mat src, Mat dst1, Mat dst2) {
- if (src != null) src.ThrowIfDisposed();
- if (dst1 != null) dst1.ThrowIfDisposed();
- if (dst2 != null) dst2.ThrowIfDisposed();
- #if (UNITY_ANDROID && !UNITY_EDITOR)
- photo_Photo_pencilSketch_13(src.nativeObj, dst1.nativeObj, dst2.nativeObj);
- return;
- #else
- return;
- #endif
- }
- //
- // C++: void cv::seamlessClone(Mat src, Mat dst, Mat mask, Point p, Mat& blend, int flags)
- //
- //javadoc: seamlessClone(src, dst, mask, p, blend, flags)
- public static void seamlessClone(Mat src, Mat dst, Mat mask, Point p, Mat blend, int flags) {
- if (src != null) src.ThrowIfDisposed();
- if (dst != null) dst.ThrowIfDisposed();
- if (mask != null) mask.ThrowIfDisposed();
- if (blend != null) blend.ThrowIfDisposed();
- #if (UNITY_ANDROID && !UNITY_EDITOR)
- photo_Photo_seamlessClone_10(src.nativeObj, dst.nativeObj, mask.nativeObj, p.x, p.y, blend.nativeObj, flags);
- return;
- #else
- return;
- #endif
- }
- //
- // C++: void cv::stylization(Mat src, Mat& dst, float sigma_s = 60, float sigma_r = 0.45f)
- //
- //javadoc: stylization(src, dst, sigma_s, sigma_r)
- public static void stylization(Mat src, Mat dst, float sigma_s, float sigma_r) {
- if (src != null) src.ThrowIfDisposed();
- if (dst != null) dst.ThrowIfDisposed();
- #if (UNITY_ANDROID && !UNITY_EDITOR)
- photo_Photo_stylization_10(src.nativeObj, dst.nativeObj, sigma_s, sigma_r);
- return;
- #else
- return;
- #endif
- }
- //javadoc: stylization(src, dst, sigma_s)
- public static void stylization(Mat src, Mat dst, float sigma_s) {
- if (src != null) src.ThrowIfDisposed();
- if (dst != null) dst.ThrowIfDisposed();
- #if (UNITY_ANDROID && !UNITY_EDITOR)
- photo_Photo_stylization_11(src.nativeObj, dst.nativeObj, sigma_s);
- return;
- #else
- return;
- #endif
- }
- //javadoc: stylization(src, dst)
- public static void stylization(Mat src, Mat dst) {
- if (src != null) src.ThrowIfDisposed();
- if (dst != null) dst.ThrowIfDisposed();
- #if (UNITY_ANDROID && !UNITY_EDITOR)
- photo_Photo_stylization_12(src.nativeObj, dst.nativeObj);
- return;
- #else
- return;
- #endif
- }
- //
- // C++: void cv::textureFlattening(Mat src, Mat mask, Mat& dst, float low_threshold = 30, float high_threshold = 45, int kernel_size = 3)
- //
- //javadoc: textureFlattening(src, mask, dst, low_threshold, high_threshold, kernel_size)
- public static void textureFlattening(Mat src, Mat mask, Mat dst, float low_threshold, float high_threshold, int kernel_size) {
- if (src != null) src.ThrowIfDisposed();
- if (mask != null) mask.ThrowIfDisposed();
- if (dst != null) dst.ThrowIfDisposed();
- #if (UNITY_ANDROID && !UNITY_EDITOR)
- photo_Photo_textureFlattening_10(src.nativeObj, mask.nativeObj, dst.nativeObj, low_threshold, high_threshold, kernel_size);
- return;
- #else
- return;
- #endif
- }
- //javadoc: textureFlattening(src, mask, dst, low_threshold, high_threshold)
- public static void textureFlattening(Mat src, Mat mask, Mat dst, float low_threshold, float high_threshold) {
- if (src != null) src.ThrowIfDisposed();
- if (mask != null) mask.ThrowIfDisposed();
- if (dst != null) dst.ThrowIfDisposed();
- #if (UNITY_ANDROID && !UNITY_EDITOR)
- photo_Photo_textureFlattening_11(src.nativeObj, mask.nativeObj, dst.nativeObj, low_threshold, high_threshold);
- return;
- #else
- return;
- #endif
- }
- //javadoc: textureFlattening(src, mask, dst, low_threshold)
- public static void textureFlattening(Mat src, Mat mask, Mat dst, float low_threshold) {
- if (src != null) src.ThrowIfDisposed();
- if (mask != null) mask.ThrowIfDisposed();
- if (dst != null) dst.ThrowIfDisposed();
- #if (UNITY_ANDROID && !UNITY_EDITOR)
- photo_Photo_textureFlattening_12(src.nativeObj, mask.nativeObj, dst.nativeObj, low_threshold);
- return;
- #else
- return;
- #endif
- }
- //javadoc: textureFlattening(src, mask, dst)
- public static void textureFlattening(Mat src, Mat mask, Mat dst) {
- if (src != null) src.ThrowIfDisposed();
- if (mask != null) mask.ThrowIfDisposed();
- if (dst != null) dst.ThrowIfDisposed();
- #if (UNITY_ANDROID && !UNITY_EDITOR)
- photo_Photo_textureFlattening_13(src.nativeObj, mask.nativeObj, dst.nativeObj);
- return;
- #else
- return;
- #endif
- }
- #if (UNITY_ANDROID && !UNITY_EDITOR)
- const string LIBNAME = "opencvforunity";
- // C++: Ptr_AlignMTB cv::createAlignMTB(int max_bits = 6, int exclude_range = 4, bool cut = true)
- [DllImport(LIBNAME)]
- private static extern IntPtr photo_Photo_createAlignMTB_10(int max_bits, int exclude_range, bool cut);
- [DllImport(LIBNAME)]
- private static extern IntPtr photo_Photo_createAlignMTB_11(int max_bits, int exclude_range);
- [DllImport(LIBNAME)]
- private static extern IntPtr photo_Photo_createAlignMTB_12(int max_bits);
- [DllImport(LIBNAME)]
- private static extern IntPtr photo_Photo_createAlignMTB_13();
- // C++: Ptr_CalibrateDebevec cv::createCalibrateDebevec(int samples = 70, float lambda = 10.0f, bool random = false)
- [DllImport(LIBNAME)]
- private static extern IntPtr photo_Photo_createCalibrateDebevec_10(int samples, float lambda, bool random);
- [DllImport(LIBNAME)]
- private static extern IntPtr photo_Photo_createCalibrateDebevec_11(int samples, float lambda);
- [DllImport(LIBNAME)]
- private static extern IntPtr photo_Photo_createCalibrateDebevec_12(int samples);
- [DllImport(LIBNAME)]
- private static extern IntPtr photo_Photo_createCalibrateDebevec_13();
- // C++: Ptr_CalibrateRobertson cv::createCalibrateRobertson(int max_iter = 30, float threshold = 0.01f)
- [DllImport(LIBNAME)]
- private static extern IntPtr photo_Photo_createCalibrateRobertson_10(int max_iter, float threshold);
- [DllImport(LIBNAME)]
- private static extern IntPtr photo_Photo_createCalibrateRobertson_11(int max_iter);
- [DllImport(LIBNAME)]
- private static extern IntPtr photo_Photo_createCalibrateRobertson_12();
- // C++: Ptr_MergeDebevec cv::createMergeDebevec()
- [DllImport(LIBNAME)]
- private static extern IntPtr photo_Photo_createMergeDebevec_10();
- // C++: Ptr_MergeMertens cv::createMergeMertens(float contrast_weight = 1.0f, float saturation_weight = 1.0f, float exposure_weight = 0.0f)
- [DllImport(LIBNAME)]
- private static extern IntPtr photo_Photo_createMergeMertens_10(float contrast_weight, float saturation_weight, float exposure_weight);
- [DllImport(LIBNAME)]
- private static extern IntPtr photo_Photo_createMergeMertens_11(float contrast_weight, float saturation_weight);
- [DllImport(LIBNAME)]
- private static extern IntPtr photo_Photo_createMergeMertens_12(float contrast_weight);
- [DllImport(LIBNAME)]
- private static extern IntPtr photo_Photo_createMergeMertens_13();
- // C++: Ptr_MergeRobertson cv::createMergeRobertson()
- [DllImport(LIBNAME)]
- private static extern IntPtr photo_Photo_createMergeRobertson_10();
- // C++: Ptr_Tonemap cv::createTonemap(float gamma = 1.0f)
- [DllImport(LIBNAME)]
- private static extern IntPtr photo_Photo_createTonemap_10(float gamma);
- [DllImport(LIBNAME)]
- private static extern IntPtr photo_Photo_createTonemap_11();
- // C++: Ptr_TonemapDrago cv::createTonemapDrago(float gamma = 1.0f, float saturation = 1.0f, float bias = 0.85f)
- [DllImport(LIBNAME)]
- private static extern IntPtr photo_Photo_createTonemapDrago_10(float gamma, float saturation, float bias);
- [DllImport(LIBNAME)]
- private static extern IntPtr photo_Photo_createTonemapDrago_11(float gamma, float saturation);
- [DllImport(LIBNAME)]
- private static extern IntPtr photo_Photo_createTonemapDrago_12(float gamma);
- [DllImport(LIBNAME)]
- private static extern IntPtr photo_Photo_createTonemapDrago_13();
- // C++: Ptr_TonemapDurand cv::createTonemapDurand(float gamma = 1.0f, float contrast = 4.0f, float saturation = 1.0f, float sigma_space = 2.0f, float sigma_color = 2.0f)
- [DllImport(LIBNAME)]
- private static extern IntPtr photo_Photo_createTonemapDurand_10(float gamma, float contrast, float saturation, float sigma_space, float sigma_color);
- [DllImport(LIBNAME)]
- private static extern IntPtr photo_Photo_createTonemapDurand_11(float gamma, float contrast, float saturation, float sigma_space);
- [DllImport(LIBNAME)]
- private static extern IntPtr photo_Photo_createTonemapDurand_12(float gamma, float contrast, float saturation);
- [DllImport(LIBNAME)]
- private static extern IntPtr photo_Photo_createTonemapDurand_13(float gamma, float contrast);
- [DllImport(LIBNAME)]
- private static extern IntPtr photo_Photo_createTonemapDurand_14(float gamma);
- [DllImport(LIBNAME)]
- private static extern IntPtr photo_Photo_createTonemapDurand_15();
- // C++: Ptr_TonemapMantiuk cv::createTonemapMantiuk(float gamma = 1.0f, float scale = 0.7f, float saturation = 1.0f)
- [DllImport(LIBNAME)]
- private static extern IntPtr photo_Photo_createTonemapMantiuk_10(float gamma, float scale, float saturation);
- [DllImport(LIBNAME)]
- private static extern IntPtr photo_Photo_createTonemapMantiuk_11(float gamma, float scale);
- [DllImport(LIBNAME)]
- private static extern IntPtr photo_Photo_createTonemapMantiuk_12(float gamma);
- [DllImport(LIBNAME)]
- private static extern IntPtr photo_Photo_createTonemapMantiuk_13();
- // C++: Ptr_TonemapReinhard cv::createTonemapReinhard(float gamma = 1.0f, float intensity = 0.0f, float light_adapt = 1.0f, float color_adapt = 0.0f)
- [DllImport(LIBNAME)]
- private static extern IntPtr photo_Photo_createTonemapReinhard_10(float gamma, float intensity, float light_adapt, float color_adapt);
- [DllImport(LIBNAME)]
- private static extern IntPtr photo_Photo_createTonemapReinhard_11(float gamma, float intensity, float light_adapt);
- [DllImport(LIBNAME)]
- private static extern IntPtr photo_Photo_createTonemapReinhard_12(float gamma, float intensity);
- [DllImport(LIBNAME)]
- private static extern IntPtr photo_Photo_createTonemapReinhard_13(float gamma);
- [DllImport(LIBNAME)]
- private static extern IntPtr photo_Photo_createTonemapReinhard_14();
- // C++: void cv::colorChange(Mat src, Mat mask, Mat& dst, float red_mul = 1.0f, float green_mul = 1.0f, float blue_mul = 1.0f)
- [DllImport(LIBNAME)]
- private static extern void photo_Photo_colorChange_10(IntPtr src_nativeObj, IntPtr mask_nativeObj, IntPtr dst_nativeObj, float red_mul, float green_mul, float blue_mul);
- [DllImport(LIBNAME)]
- private static extern void photo_Photo_colorChange_11(IntPtr src_nativeObj, IntPtr mask_nativeObj, IntPtr dst_nativeObj, float red_mul, float green_mul);
- [DllImport(LIBNAME)]
- private static extern void photo_Photo_colorChange_12(IntPtr src_nativeObj, IntPtr mask_nativeObj, IntPtr dst_nativeObj, float red_mul);
- [DllImport(LIBNAME)]
- private static extern void photo_Photo_colorChange_13(IntPtr src_nativeObj, IntPtr mask_nativeObj, IntPtr dst_nativeObj);
- // C++: void cv::decolor(Mat src, Mat& grayscale, Mat& color_boost)
- [DllImport(LIBNAME)]
- private static extern void photo_Photo_decolor_10(IntPtr src_nativeObj, IntPtr grayscale_nativeObj, IntPtr color_boost_nativeObj);
- // C++: void cv::denoise_TVL1(vector_Mat observations, Mat result, double lambda = 1.0, int niters = 30)
- [DllImport(LIBNAME)]
- private static extern void photo_Photo_denoise_1TVL1_10(IntPtr observations_mat_nativeObj, IntPtr result_nativeObj, double lambda, int niters);
- [DllImport(LIBNAME)]
- private static extern void photo_Photo_denoise_1TVL1_11(IntPtr observations_mat_nativeObj, IntPtr result_nativeObj, double lambda);
- [DllImport(LIBNAME)]
- private static extern void photo_Photo_denoise_1TVL1_12(IntPtr observations_mat_nativeObj, IntPtr result_nativeObj);
- // C++: void cv::detailEnhance(Mat src, Mat& dst, float sigma_s = 10, float sigma_r = 0.15f)
- [DllImport(LIBNAME)]
- private static extern void photo_Photo_detailEnhance_10(IntPtr src_nativeObj, IntPtr dst_nativeObj, float sigma_s, float sigma_r);
- [DllImport(LIBNAME)]
- private static extern void photo_Photo_detailEnhance_11(IntPtr src_nativeObj, IntPtr dst_nativeObj, float sigma_s);
- [DllImport(LIBNAME)]
- private static extern void photo_Photo_detailEnhance_12(IntPtr src_nativeObj, IntPtr dst_nativeObj);
- // C++: void cv::edgePreservingFilter(Mat src, Mat& dst, int flags = 1, float sigma_s = 60, float sigma_r = 0.4f)
- [DllImport(LIBNAME)]
- private static extern void photo_Photo_edgePreservingFilter_10(IntPtr src_nativeObj, IntPtr dst_nativeObj, int flags, float sigma_s, float sigma_r);
- [DllImport(LIBNAME)]
- private static extern void photo_Photo_edgePreservingFilter_11(IntPtr src_nativeObj, IntPtr dst_nativeObj, int flags, float sigma_s);
- [DllImport(LIBNAME)]
- private static extern void photo_Photo_edgePreservingFilter_12(IntPtr src_nativeObj, IntPtr dst_nativeObj, int flags);
- [DllImport(LIBNAME)]
- private static extern void photo_Photo_edgePreservingFilter_13(IntPtr src_nativeObj, IntPtr dst_nativeObj);
- // C++: void cv::fastNlMeansDenoising(Mat src, Mat& dst, float h = 3, int templateWindowSize = 7, int searchWindowSize = 21)
- [DllImport(LIBNAME)]
- private static extern void photo_Photo_fastNlMeansDenoising_10(IntPtr src_nativeObj, IntPtr dst_nativeObj, float h, int templateWindowSize, int searchWindowSize);
- [DllImport(LIBNAME)]
- private static extern void photo_Photo_fastNlMeansDenoising_11(IntPtr src_nativeObj, IntPtr dst_nativeObj, float h, int templateWindowSize);
- [DllImport(LIBNAME)]
- private static extern void photo_Photo_fastNlMeansDenoising_12(IntPtr src_nativeObj, IntPtr dst_nativeObj, float h);
- [DllImport(LIBNAME)]
- private static extern void photo_Photo_fastNlMeansDenoising_13(IntPtr src_nativeObj, IntPtr dst_nativeObj);
- // C++: void cv::fastNlMeansDenoising(Mat src, Mat& dst, vector_float h, int templateWindowSize = 7, int searchWindowSize = 21, int normType = NORM_L2)
- [DllImport(LIBNAME)]
- private static extern void photo_Photo_fastNlMeansDenoising_14(IntPtr src_nativeObj, IntPtr dst_nativeObj, IntPtr h_mat_nativeObj, int templateWindowSize, int searchWindowSize, int normType);
- [DllImport(LIBNAME)]
- private static extern void photo_Photo_fastNlMeansDenoising_15(IntPtr src_nativeObj, IntPtr dst_nativeObj, IntPtr h_mat_nativeObj, int templateWindowSize, int searchWindowSize);
- [DllImport(LIBNAME)]
- private static extern void photo_Photo_fastNlMeansDenoising_16(IntPtr src_nativeObj, IntPtr dst_nativeObj, IntPtr h_mat_nativeObj, int templateWindowSize);
- [DllImport(LIBNAME)]
- private static extern void photo_Photo_fastNlMeansDenoising_17(IntPtr src_nativeObj, IntPtr dst_nativeObj, IntPtr h_mat_nativeObj);
- // C++: void cv::fastNlMeansDenoisingColored(Mat src, Mat& dst, float h = 3, float hColor = 3, int templateWindowSize = 7, int searchWindowSize = 21)
- [DllImport(LIBNAME)]
- private static extern void photo_Photo_fastNlMeansDenoisingColored_10(IntPtr src_nativeObj, IntPtr dst_nativeObj, float h, float hColor, int templateWindowSize, int searchWindowSize);
- [DllImport(LIBNAME)]
- private static extern void photo_Photo_fastNlMeansDenoisingColored_11(IntPtr src_nativeObj, IntPtr dst_nativeObj, float h, float hColor, int templateWindowSize);
- [DllImport(LIBNAME)]
- private static extern void photo_Photo_fastNlMeansDenoisingColored_12(IntPtr src_nativeObj, IntPtr dst_nativeObj, float h, float hColor);
- [DllImport(LIBNAME)]
- private static extern void photo_Photo_fastNlMeansDenoisingColored_13(IntPtr src_nativeObj, IntPtr dst_nativeObj, float h);
- [DllImport(LIBNAME)]
- private static extern void photo_Photo_fastNlMeansDenoisingColored_14(IntPtr src_nativeObj, IntPtr dst_nativeObj);
- // C++: void cv::fastNlMeansDenoisingColoredMulti(vector_Mat srcImgs, Mat& dst, int imgToDenoiseIndex, int temporalWindowSize, float h = 3, float hColor = 3, int templateWindowSize = 7, int searchWindowSize = 21)
- [DllImport(LIBNAME)]
- private static extern void photo_Photo_fastNlMeansDenoisingColoredMulti_10(IntPtr srcImgs_mat_nativeObj, IntPtr dst_nativeObj, int imgToDenoiseIndex, int temporalWindowSize, float h, float hColor, int templateWindowSize, int searchWindowSize);
- [DllImport(LIBNAME)]
- private static extern void photo_Photo_fastNlMeansDenoisingColoredMulti_11(IntPtr srcImgs_mat_nativeObj, IntPtr dst_nativeObj, int imgToDenoiseIndex, int temporalWindowSize, float h, float hColor, int templateWindowSize);
- [DllImport(LIBNAME)]
- private static extern void photo_Photo_fastNlMeansDenoisingColoredMulti_12(IntPtr srcImgs_mat_nativeObj, IntPtr dst_nativeObj, int imgToDenoiseIndex, int temporalWindowSize, float h, float hColor);
- [DllImport(LIBNAME)]
- private static extern void photo_Photo_fastNlMeansDenoisingColoredMulti_13(IntPtr srcImgs_mat_nativeObj, IntPtr dst_nativeObj, int imgToDenoiseIndex, int temporalWindowSize, float h);
- [DllImport(LIBNAME)]
- private static extern void photo_Photo_fastNlMeansDenoisingColoredMulti_14(IntPtr srcImgs_mat_nativeObj, IntPtr dst_nativeObj, int imgToDenoiseIndex, int temporalWindowSize);
- // C++: void cv::fastNlMeansDenoisingMulti(vector_Mat srcImgs, Mat& dst, int imgToDenoiseIndex, int temporalWindowSize, float h = 3, int templateWindowSize = 7, int searchWindowSize = 21)
- [DllImport(LIBNAME)]
- private static extern void photo_Photo_fastNlMeansDenoisingMulti_10(IntPtr srcImgs_mat_nativeObj, IntPtr dst_nativeObj, int imgToDenoiseIndex, int temporalWindowSize, float h, int templateWindowSize, int searchWindowSize);
- [DllImport(LIBNAME)]
- private static extern void photo_Photo_fastNlMeansDenoisingMulti_11(IntPtr srcImgs_mat_nativeObj, IntPtr dst_nativeObj, int imgToDenoiseIndex, int temporalWindowSize, float h, int templateWindowSize);
- [DllImport(LIBNAME)]
- private static extern void photo_Photo_fastNlMeansDenoisingMulti_12(IntPtr srcImgs_mat_nativeObj, IntPtr dst_nativeObj, int imgToDenoiseIndex, int temporalWindowSize, float h);
- [DllImport(LIBNAME)]
- private static extern void photo_Photo_fastNlMeansDenoisingMulti_13(IntPtr srcImgs_mat_nativeObj, IntPtr dst_nativeObj, int imgToDenoiseIndex, int temporalWindowSize);
- // C++: void cv::fastNlMeansDenoisingMulti(vector_Mat srcImgs, Mat& dst, int imgToDenoiseIndex, int temporalWindowSize, vector_float h, int templateWindowSize = 7, int searchWindowSize = 21, int normType = NORM_L2)
- [DllImport(LIBNAME)]
- private static extern void photo_Photo_fastNlMeansDenoisingMulti_14(IntPtr srcImgs_mat_nativeObj, IntPtr dst_nativeObj, int imgToDenoiseIndex, int temporalWindowSize, IntPtr h_mat_nativeObj, int templateWindowSize, int searchWindowSize, int normType);
- [DllImport(LIBNAME)]
- private static extern void photo_Photo_fastNlMeansDenoisingMulti_15(IntPtr srcImgs_mat_nativeObj, IntPtr dst_nativeObj, int imgToDenoiseIndex, int temporalWindowSize, IntPtr h_mat_nativeObj, int templateWindowSize, int searchWindowSize);
- [DllImport(LIBNAME)]
- private static extern void photo_Photo_fastNlMeansDenoisingMulti_16(IntPtr srcImgs_mat_nativeObj, IntPtr dst_nativeObj, int imgToDenoiseIndex, int temporalWindowSize, IntPtr h_mat_nativeObj, int templateWindowSize);
- [DllImport(LIBNAME)]
- private static extern void photo_Photo_fastNlMeansDenoisingMulti_17(IntPtr srcImgs_mat_nativeObj, IntPtr dst_nativeObj, int imgToDenoiseIndex, int temporalWindowSize, IntPtr h_mat_nativeObj);
- // C++: void cv::illuminationChange(Mat src, Mat mask, Mat& dst, float alpha = 0.2f, float beta = 0.4f)
- [DllImport(LIBNAME)]
- private static extern void photo_Photo_illuminationChange_10(IntPtr src_nativeObj, IntPtr mask_nativeObj, IntPtr dst_nativeObj, float alpha, float beta);
- [DllImport(LIBNAME)]
- private static extern void photo_Photo_illuminationChange_11(IntPtr src_nativeObj, IntPtr mask_nativeObj, IntPtr dst_nativeObj, float alpha);
- [DllImport(LIBNAME)]
- private static extern void photo_Photo_illuminationChange_12(IntPtr src_nativeObj, IntPtr mask_nativeObj, IntPtr dst_nativeObj);
- // C++: void cv::inpaint(Mat src, Mat inpaintMask, Mat& dst, double inpaintRadius, int flags)
- [DllImport(LIBNAME)]
- private static extern void photo_Photo_inpaint_10(IntPtr src_nativeObj, IntPtr inpaintMask_nativeObj, IntPtr dst_nativeObj, double inpaintRadius, int flags);
- // C++: void cv::pencilSketch(Mat src, Mat& dst1, Mat& dst2, float sigma_s = 60, float sigma_r = 0.07f, float shade_factor = 0.02f)
- [DllImport(LIBNAME)]
- private static extern void photo_Photo_pencilSketch_10(IntPtr src_nativeObj, IntPtr dst1_nativeObj, IntPtr dst2_nativeObj, float sigma_s, float sigma_r, float shade_factor);
- [DllImport(LIBNAME)]
- private static extern void photo_Photo_pencilSketch_11(IntPtr src_nativeObj, IntPtr dst1_nativeObj, IntPtr dst2_nativeObj, float sigma_s, float sigma_r);
- [DllImport(LIBNAME)]
- private static extern void photo_Photo_pencilSketch_12(IntPtr src_nativeObj, IntPtr dst1_nativeObj, IntPtr dst2_nativeObj, float sigma_s);
- [DllImport(LIBNAME)]
- private static extern void photo_Photo_pencilSketch_13(IntPtr src_nativeObj, IntPtr dst1_nativeObj, IntPtr dst2_nativeObj);
- // C++: void cv::seamlessClone(Mat src, Mat dst, Mat mask, Point p, Mat& blend, int flags)
- [DllImport(LIBNAME)]
- private static extern void photo_Photo_seamlessClone_10(IntPtr src_nativeObj, IntPtr dst_nativeObj, IntPtr mask_nativeObj, double p_x, double p_y, IntPtr blend_nativeObj, int flags);
- // C++: void cv::stylization(Mat src, Mat& dst, float sigma_s = 60, float sigma_r = 0.45f)
- [DllImport(LIBNAME)]
- private static extern void photo_Photo_stylization_10(IntPtr src_nativeObj, IntPtr dst_nativeObj, float sigma_s, float sigma_r);
- [DllImport(LIBNAME)]
- private static extern void photo_Photo_stylization_11(IntPtr src_nativeObj, IntPtr dst_nativeObj, float sigma_s);
- [DllImport(LIBNAME)]
- private static extern void photo_Photo_stylization_12(IntPtr src_nativeObj, IntPtr dst_nativeObj);
- // C++: void cv::textureFlattening(Mat src, Mat mask, Mat& dst, float low_threshold = 30, float high_threshold = 45, int kernel_size = 3)
- [DllImport(LIBNAME)]
- private static extern void photo_Photo_textureFlattening_10(IntPtr src_nativeObj, IntPtr mask_nativeObj, IntPtr dst_nativeObj, float low_threshold, float high_threshold, int kernel_size);
- [DllImport(LIBNAME)]
- private static extern void photo_Photo_textureFlattening_11(IntPtr src_nativeObj, IntPtr mask_nativeObj, IntPtr dst_nativeObj, float low_threshold, float high_threshold);
- [DllImport(LIBNAME)]
- private static extern void photo_Photo_textureFlattening_12(IntPtr src_nativeObj, IntPtr mask_nativeObj, IntPtr dst_nativeObj, float low_threshold);
- [DllImport(LIBNAME)]
- private static extern void photo_Photo_textureFlattening_13(IntPtr src_nativeObj, IntPtr mask_nativeObj, IntPtr dst_nativeObj);
- #endif
- }
- }
|