12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784 |
-
- 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_IOS || UNITY_WEBGL) && !UNITY_EDITOR) || UNITY_5 || UNITY_5_3_OR_NEWER
-
- 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_IOS || UNITY_WEBGL) && !UNITY_EDITOR) || UNITY_5 || UNITY_5_3_OR_NEWER
-
- 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_IOS || UNITY_WEBGL) && !UNITY_EDITOR) || UNITY_5 || UNITY_5_3_OR_NEWER
-
- 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_IOS || UNITY_WEBGL) && !UNITY_EDITOR) || UNITY_5 || UNITY_5_3_OR_NEWER
-
- 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_IOS || UNITY_WEBGL) && !UNITY_EDITOR) || UNITY_5 || UNITY_5_3_OR_NEWER
-
- 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_IOS || UNITY_WEBGL) && !UNITY_EDITOR) || UNITY_5 || UNITY_5_3_OR_NEWER
-
- 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_IOS || UNITY_WEBGL) && !UNITY_EDITOR) || UNITY_5 || UNITY_5_3_OR_NEWER
-
- 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_IOS || UNITY_WEBGL) && !UNITY_EDITOR) || UNITY_5 || UNITY_5_3_OR_NEWER
-
- 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_IOS || UNITY_WEBGL) && !UNITY_EDITOR) || UNITY_5 || UNITY_5_3_OR_NEWER
-
- 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_IOS || UNITY_WEBGL) && !UNITY_EDITOR) || UNITY_5 || UNITY_5_3_OR_NEWER
-
- 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_IOS || UNITY_WEBGL) && !UNITY_EDITOR) || UNITY_5 || UNITY_5_3_OR_NEWER
-
- 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_IOS || UNITY_WEBGL) && !UNITY_EDITOR) || UNITY_5 || UNITY_5_3_OR_NEWER
-
- 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_IOS || UNITY_WEBGL) && !UNITY_EDITOR) || UNITY_5 || UNITY_5_3_OR_NEWER
-
- 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_IOS || UNITY_WEBGL) && !UNITY_EDITOR) || UNITY_5 || UNITY_5_3_OR_NEWER
-
- 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_IOS || UNITY_WEBGL) && !UNITY_EDITOR) || UNITY_5 || UNITY_5_3_OR_NEWER
-
- 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_IOS || UNITY_WEBGL) && !UNITY_EDITOR) || UNITY_5 || UNITY_5_3_OR_NEWER
-
- 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_IOS || UNITY_WEBGL) && !UNITY_EDITOR) || UNITY_5 || UNITY_5_3_OR_NEWER
-
- 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_IOS || UNITY_WEBGL) && !UNITY_EDITOR) || UNITY_5 || UNITY_5_3_OR_NEWER
-
- 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_IOS || UNITY_WEBGL) && !UNITY_EDITOR) || UNITY_5 || UNITY_5_3_OR_NEWER
-
- 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_IOS || UNITY_WEBGL) && !UNITY_EDITOR) || UNITY_5 || UNITY_5_3_OR_NEWER
-
- 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_IOS || UNITY_WEBGL) && !UNITY_EDITOR) || UNITY_5 || UNITY_5_3_OR_NEWER
-
- 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_IOS || UNITY_WEBGL) && !UNITY_EDITOR) || UNITY_5 || UNITY_5_3_OR_NEWER
-
- 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_IOS || UNITY_WEBGL) && !UNITY_EDITOR) || UNITY_5 || UNITY_5_3_OR_NEWER
-
- 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_IOS || UNITY_WEBGL) && !UNITY_EDITOR) || UNITY_5 || UNITY_5_3_OR_NEWER
-
- 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_IOS || UNITY_WEBGL) && !UNITY_EDITOR) || UNITY_5 || UNITY_5_3_OR_NEWER
-
- 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_IOS || UNITY_WEBGL) && !UNITY_EDITOR) || UNITY_5 || UNITY_5_3_OR_NEWER
-
- 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_IOS || UNITY_WEBGL) && !UNITY_EDITOR) || UNITY_5 || UNITY_5_3_OR_NEWER
-
- 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_IOS || UNITY_WEBGL) && !UNITY_EDITOR) || UNITY_5 || UNITY_5_3_OR_NEWER
-
- 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_IOS || UNITY_WEBGL) && !UNITY_EDITOR) || UNITY_5 || UNITY_5_3_OR_NEWER
-
- 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_IOS || UNITY_WEBGL) && !UNITY_EDITOR) || UNITY_5 || UNITY_5_3_OR_NEWER
-
- 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_IOS || UNITY_WEBGL) && !UNITY_EDITOR) || UNITY_5 || UNITY_5_3_OR_NEWER
-
- 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_IOS || UNITY_WEBGL) && !UNITY_EDITOR) || UNITY_5 || UNITY_5_3_OR_NEWER
-
- 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_IOS || UNITY_WEBGL) && !UNITY_EDITOR) || UNITY_5 || UNITY_5_3_OR_NEWER
-
- 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_IOS || UNITY_WEBGL) && !UNITY_EDITOR) || UNITY_5 || UNITY_5_3_OR_NEWER
-
- 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_IOS || UNITY_WEBGL) && !UNITY_EDITOR) || UNITY_5 || UNITY_5_3_OR_NEWER
-
- 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_IOS || UNITY_WEBGL) && !UNITY_EDITOR) || UNITY_5 || UNITY_5_3_OR_NEWER
-
- 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_IOS || UNITY_WEBGL) && !UNITY_EDITOR) || UNITY_5 || UNITY_5_3_OR_NEWER
-
- 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_IOS || UNITY_WEBGL) && !UNITY_EDITOR) || UNITY_5 || UNITY_5_3_OR_NEWER
-
- 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_IOS || UNITY_WEBGL) && !UNITY_EDITOR) || UNITY_5 || UNITY_5_3_OR_NEWER
-
- 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_IOS || UNITY_WEBGL) && !UNITY_EDITOR) || UNITY_5 || UNITY_5_3_OR_NEWER
-
- 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_IOS || UNITY_WEBGL) && !UNITY_EDITOR) || UNITY_5 || UNITY_5_3_OR_NEWER
-
- 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_IOS || UNITY_WEBGL) && !UNITY_EDITOR) || UNITY_5 || UNITY_5_3_OR_NEWER
-
- 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_IOS || UNITY_WEBGL) && !UNITY_EDITOR) || UNITY_5 || UNITY_5_3_OR_NEWER
-
- 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_IOS || UNITY_WEBGL) && !UNITY_EDITOR) || UNITY_5 || UNITY_5_3_OR_NEWER
- 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_IOS || UNITY_WEBGL) && !UNITY_EDITOR) || UNITY_5 || UNITY_5_3_OR_NEWER
- 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_IOS || UNITY_WEBGL) && !UNITY_EDITOR) || UNITY_5 || UNITY_5_3_OR_NEWER
- 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_IOS || UNITY_WEBGL) && !UNITY_EDITOR) || UNITY_5 || UNITY_5_3_OR_NEWER
-
- 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_IOS || UNITY_WEBGL) && !UNITY_EDITOR) || UNITY_5 || UNITY_5_3_OR_NEWER
-
- 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_IOS || UNITY_WEBGL) && !UNITY_EDITOR) || UNITY_5 || UNITY_5_3_OR_NEWER
-
- 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_IOS || UNITY_WEBGL) && !UNITY_EDITOR) || UNITY_5 || UNITY_5_3_OR_NEWER
-
- 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_IOS || UNITY_WEBGL) && !UNITY_EDITOR) || UNITY_5 || UNITY_5_3_OR_NEWER
-
- 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_IOS || UNITY_WEBGL) && !UNITY_EDITOR) || UNITY_5 || UNITY_5_3_OR_NEWER
-
- 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_IOS || UNITY_WEBGL) && !UNITY_EDITOR) || UNITY_5 || UNITY_5_3_OR_NEWER
-
- 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_IOS || UNITY_WEBGL) && !UNITY_EDITOR) || UNITY_5 || UNITY_5_3_OR_NEWER
-
- 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_IOS || UNITY_WEBGL) && !UNITY_EDITOR) || UNITY_5 || UNITY_5_3_OR_NEWER
-
- 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_IOS || UNITY_WEBGL) && !UNITY_EDITOR) || UNITY_5 || UNITY_5_3_OR_NEWER
-
- 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_IOS || UNITY_WEBGL) && !UNITY_EDITOR) || UNITY_5 || UNITY_5_3_OR_NEWER
-
- 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_IOS || UNITY_WEBGL) && !UNITY_EDITOR) || UNITY_5 || UNITY_5_3_OR_NEWER
- 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_IOS || UNITY_WEBGL) && !UNITY_EDITOR) || UNITY_5 || UNITY_5_3_OR_NEWER
- 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_IOS || UNITY_WEBGL) && !UNITY_EDITOR) || UNITY_5 || UNITY_5_3_OR_NEWER
- 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_IOS || UNITY_WEBGL) && !UNITY_EDITOR) || UNITY_5 || UNITY_5_3_OR_NEWER
- 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_IOS || UNITY_WEBGL) && !UNITY_EDITOR) || UNITY_5 || UNITY_5_3_OR_NEWER
-
- 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_IOS || UNITY_WEBGL) && !UNITY_EDITOR) || UNITY_5 || UNITY_5_3_OR_NEWER
-
- 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_IOS || UNITY_WEBGL) && !UNITY_EDITOR) || UNITY_5 || UNITY_5_3_OR_NEWER
-
- 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_IOS || UNITY_WEBGL) && !UNITY_EDITOR) || UNITY_5 || UNITY_5_3_OR_NEWER
-
- 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_IOS || UNITY_WEBGL) && !UNITY_EDITOR) || UNITY_5 || UNITY_5_3_OR_NEWER
-
- 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_IOS || UNITY_WEBGL) && !UNITY_EDITOR) || UNITY_5 || UNITY_5_3_OR_NEWER
- 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_IOS || UNITY_WEBGL) && !UNITY_EDITOR) || UNITY_5 || UNITY_5_3_OR_NEWER
- 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_IOS || UNITY_WEBGL) && !UNITY_EDITOR) || UNITY_5 || UNITY_5_3_OR_NEWER
- 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_IOS || UNITY_WEBGL) && !UNITY_EDITOR) || UNITY_5 || UNITY_5_3_OR_NEWER
- 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_IOS || UNITY_WEBGL) && !UNITY_EDITOR) || UNITY_5 || UNITY_5_3_OR_NEWER
- 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_IOS || UNITY_WEBGL) && !UNITY_EDITOR) || UNITY_5 || UNITY_5_3_OR_NEWER
- 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_IOS || UNITY_WEBGL) && !UNITY_EDITOR) || UNITY_5 || UNITY_5_3_OR_NEWER
- 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_IOS || UNITY_WEBGL) && !UNITY_EDITOR) || UNITY_5 || UNITY_5_3_OR_NEWER
- 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_IOS || UNITY_WEBGL) && !UNITY_EDITOR) || UNITY_5 || UNITY_5_3_OR_NEWER
- 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_IOS || UNITY_WEBGL) && !UNITY_EDITOR) || UNITY_5 || UNITY_5_3_OR_NEWER
- 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_IOS || UNITY_WEBGL) && !UNITY_EDITOR) || UNITY_5 || UNITY_5_3_OR_NEWER
- 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_IOS || UNITY_WEBGL) && !UNITY_EDITOR) || UNITY_5 || UNITY_5_3_OR_NEWER
- 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_IOS || UNITY_WEBGL) && !UNITY_EDITOR) || UNITY_5 || UNITY_5_3_OR_NEWER
- 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_IOS || UNITY_WEBGL) && !UNITY_EDITOR) || UNITY_5 || UNITY_5_3_OR_NEWER
-
- 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_IOS || UNITY_WEBGL) && !UNITY_EDITOR) || UNITY_5 || UNITY_5_3_OR_NEWER
-
- 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_IOS || UNITY_WEBGL) && !UNITY_EDITOR) || UNITY_5 || UNITY_5_3_OR_NEWER
-
- 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_IOS || UNITY_WEBGL) && !UNITY_EDITOR) || UNITY_5 || UNITY_5_3_OR_NEWER
-
- 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_IOS || UNITY_WEBGL) && !UNITY_EDITOR) || UNITY_5 || UNITY_5_3_OR_NEWER
-
- 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_IOS || UNITY_WEBGL) && !UNITY_EDITOR) || UNITY_5 || UNITY_5_3_OR_NEWER
-
- 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_IOS || UNITY_WEBGL) && !UNITY_EDITOR) || UNITY_5 || UNITY_5_3_OR_NEWER
-
- 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_IOS || UNITY_WEBGL) && !UNITY_EDITOR) || UNITY_5 || UNITY_5_3_OR_NEWER
-
- 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_IOS || UNITY_WEBGL) && !UNITY_EDITOR) || UNITY_5 || UNITY_5_3_OR_NEWER
-
- 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_IOS || UNITY_WEBGL) && !UNITY_EDITOR) || UNITY_5 || UNITY_5_3_OR_NEWER
-
- 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_IOS || UNITY_WEBGL) && !UNITY_EDITOR) || UNITY_5 || UNITY_5_3_OR_NEWER
-
- 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_IOS || UNITY_WEBGL) && !UNITY_EDITOR) || UNITY_5 || UNITY_5_3_OR_NEWER
-
- 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_IOS || UNITY_WEBGL) && !UNITY_EDITOR) || UNITY_5 || UNITY_5_3_OR_NEWER
-
- 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_IOS || UNITY_WEBGL) && !UNITY_EDITOR) || UNITY_5 || UNITY_5_3_OR_NEWER
-
- 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_IOS || UNITY_WEBGL) && !UNITY_EDITOR) || UNITY_5 || UNITY_5_3_OR_NEWER
-
- 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_IOS || UNITY_WEBGL) && !UNITY_EDITOR) || UNITY_5 || UNITY_5_3_OR_NEWER
-
- photo_Photo_textureFlattening_13(src.nativeObj, mask.nativeObj, dst.nativeObj);
-
- return;
- #else
- return;
- #endif
- }
- #if (UNITY_IOS || UNITY_WEBGL) && !UNITY_EDITOR
- const string LIBNAME = "__Internal";
- #else
- const string LIBNAME = "opencvforunity";
- #endif
- // 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);
- }
- }
|