12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938 |
- /***********************************************************
- * File generated by the HALCON-Compiler hcomp version 20.05
- * Usage: Interface to C++
- *
- * Software by: MVTec Software GmbH, www.mvtec.com
- ***********************************************************/
- #ifndef HCPP_HIMAGE
- #define HCPP_HIMAGE
- namespace HalconCpp
- {
- // Represents an instance of an image object(-array).
- class LIntExport HImage : public HObject
- {
- public:
- // Create an uninitialized instance
- HImage():HObject() {}
- // Copy constructor
- HImage(const HImage& source) : HObject(source) {}
- // Copy constructor
- HImage(const HObject& object);
- // Create HImage from object id. For copy=false takes
- // over management of input key. Type of key must match!
- explicit HImage(Hkey key, bool copy=true);
- // Access of object tuple element
- const HImage operator [] (Hlong index) const;
- // Deep copy of all data represented by this object instance
- HImage Clone() const;
- /*****************************************************************************
- * Operator-based class constructors
- *****************************************************************************/
- // gen_image1: Create an image from a pointer to the pixels.
- explicit HImage(const HString& Type, Hlong Width, Hlong Height, void* PixelPointer);
- // gen_image1: Create an image from a pointer to the pixels.
- explicit HImage(const char* Type, Hlong Width, Hlong Height, void* PixelPointer);
- #ifdef _WIN32
- // gen_image1: Create an image from a pointer to the pixels.
- explicit HImage(const wchar_t* Type, Hlong Width, Hlong Height, void* PixelPointer);
- #endif
- // gen_image_const: Create an image with constant gray value.
- explicit HImage(const HString& Type, Hlong Width, Hlong Height);
- // gen_image_const: Create an image with constant gray value.
- explicit HImage(const char* Type, Hlong Width, Hlong Height);
- #ifdef _WIN32
- // gen_image_const: Create an image with constant gray value.
- explicit HImage(const wchar_t* Type, Hlong Width, Hlong Height);
- #endif
- // read_image: Read an image with different file formats.
- explicit HImage(const HTuple& FileName);
- // read_image: Read an image with different file formats.
- explicit HImage(const HString& FileName);
- // read_image: Read an image with different file formats.
- explicit HImage(const char* FileName);
- #ifdef _WIN32
- // read_image: Read an image with different file formats.
- explicit HImage(const wchar_t* FileName);
- #endif
- /*****************************************************************************
- * Operator overloads (non-member overloads reside in HOperatorOverloads.h) *
- *****************************************************************************/
- // Invert image
- HImage operator - () const;
- // Convert image to domain region
- operator HRegion() const;
- /*****************************************************************************
- * Non-generic convenience members
- *****************************************************************************/
- // The area of the region
- HTuple Width() const;
- // The center row of the region
- HTuple Height() const;
- /***************************************************************************
- * Operators *
- ***************************************************************************/
- // Image restoration by Wiener filtering.
- HImage WienerFilterNi(const HImage& Psf, const HRegion& NoiseRegion, Hlong MaskWidth, Hlong MaskHeight) const;
- // Image restoration by Wiener filtering.
- HImage WienerFilter(const HImage& Psf, const HImage& FilteredImage) const;
- // Generate an impulse response of a (linearly) motion blurring.
- void GenPsfMotion(Hlong PSFwidth, Hlong PSFheight, double Blurring, Hlong Angle, Hlong Type);
- // Simulation of (linearly) motion blur.
- HImage SimulateMotion(double Blurring, Hlong Angle, Hlong Type) const;
- // Generate an impulse response of an uniform out-of-focus blurring.
- void GenPsfDefocus(Hlong PSFwidth, Hlong PSFheight, double Blurring);
- // Simulate an uniform out-of-focus blurring of an image.
- HImage SimulateDefocus(double Blurring) const;
- // Compare an image to a variation model.
- HRegion CompareExtVariationModel(const HVariationModel& ModelID, const HString& Mode) const;
- // Compare an image to a variation model.
- HRegion CompareExtVariationModel(const HVariationModel& ModelID, const char* Mode) const;
- #ifdef _WIN32
- // Compare an image to a variation model.
- HRegion CompareExtVariationModel(const HVariationModel& ModelID, const wchar_t* Mode) const;
- #endif
- // Compare an image to a variation model.
- HRegion CompareVariationModel(const HVariationModel& ModelID) const;
- // Train a variation model.
- void TrainVariationModel(const HVariationModel& ModelID) const;
- // Compute a projective transformation matrix and the radial distortion coefficient between two images by finding correspondences between points based on known approximations of the projective transformation matrix and the radial distortion coefficient.
- HHomMat2D ProjMatchPointsDistortionRansacGuided(const HImage& Image2, const HTuple& Rows1, const HTuple& Cols1, const HTuple& Rows2, const HTuple& Cols2, const HString& GrayMatchMethod, Hlong MaskSize, const HHomMat2D& HomMat2DGuide, double KappaGuide, double DistanceTolerance, const HTuple& MatchThreshold, const HString& EstimationMethod, const HTuple& DistanceThreshold, Hlong RandSeed, double* Kappa, double* Error, HTuple* Points1, HTuple* Points2) const;
- // Compute a projective transformation matrix and the radial distortion coefficient between two images by finding correspondences between points based on known approximations of the projective transformation matrix and the radial distortion coefficient.
- HHomMat2D ProjMatchPointsDistortionRansacGuided(const HImage& Image2, const HTuple& Rows1, const HTuple& Cols1, const HTuple& Rows2, const HTuple& Cols2, const HString& GrayMatchMethod, Hlong MaskSize, const HHomMat2D& HomMat2DGuide, double KappaGuide, double DistanceTolerance, Hlong MatchThreshold, const HString& EstimationMethod, double DistanceThreshold, Hlong RandSeed, double* Kappa, double* Error, HTuple* Points1, HTuple* Points2) const;
- // Compute a projective transformation matrix and the radial distortion coefficient between two images by finding correspondences between points based on known approximations of the projective transformation matrix and the radial distortion coefficient.
- HHomMat2D ProjMatchPointsDistortionRansacGuided(const HImage& Image2, const HTuple& Rows1, const HTuple& Cols1, const HTuple& Rows2, const HTuple& Cols2, const char* GrayMatchMethod, Hlong MaskSize, const HHomMat2D& HomMat2DGuide, double KappaGuide, double DistanceTolerance, Hlong MatchThreshold, const char* EstimationMethod, double DistanceThreshold, Hlong RandSeed, double* Kappa, double* Error, HTuple* Points1, HTuple* Points2) const;
- #ifdef _WIN32
- // Compute a projective transformation matrix and the radial distortion coefficient between two images by finding correspondences between points based on known approximations of the projective transformation matrix and the radial distortion coefficient.
- HHomMat2D ProjMatchPointsDistortionRansacGuided(const HImage& Image2, const HTuple& Rows1, const HTuple& Cols1, const HTuple& Rows2, const HTuple& Cols2, const wchar_t* GrayMatchMethod, Hlong MaskSize, const HHomMat2D& HomMat2DGuide, double KappaGuide, double DistanceTolerance, Hlong MatchThreshold, const wchar_t* EstimationMethod, double DistanceThreshold, Hlong RandSeed, double* Kappa, double* Error, HTuple* Points1, HTuple* Points2) const;
- #endif
- // Compute a projective transformation matrix between two images and the radial distortion coefficient by automatically finding correspondences between points.
- HHomMat2D ProjMatchPointsDistortionRansac(const HImage& Image2, const HTuple& Rows1, const HTuple& Cols1, const HTuple& Rows2, const HTuple& Cols2, const HString& GrayMatchMethod, Hlong MaskSize, Hlong RowMove, Hlong ColMove, Hlong RowTolerance, Hlong ColTolerance, const HTuple& Rotation, const HTuple& MatchThreshold, const HString& EstimationMethod, const HTuple& DistanceThreshold, Hlong RandSeed, double* Kappa, double* Error, HTuple* Points1, HTuple* Points2) const;
- // Compute a projective transformation matrix between two images and the radial distortion coefficient by automatically finding correspondences between points.
- HHomMat2D ProjMatchPointsDistortionRansac(const HImage& Image2, const HTuple& Rows1, const HTuple& Cols1, const HTuple& Rows2, const HTuple& Cols2, const HString& GrayMatchMethod, Hlong MaskSize, Hlong RowMove, Hlong ColMove, Hlong RowTolerance, Hlong ColTolerance, double Rotation, Hlong MatchThreshold, const HString& EstimationMethod, double DistanceThreshold, Hlong RandSeed, double* Kappa, double* Error, HTuple* Points1, HTuple* Points2) const;
- // Compute a projective transformation matrix between two images and the radial distortion coefficient by automatically finding correspondences between points.
- HHomMat2D ProjMatchPointsDistortionRansac(const HImage& Image2, const HTuple& Rows1, const HTuple& Cols1, const HTuple& Rows2, const HTuple& Cols2, const char* GrayMatchMethod, Hlong MaskSize, Hlong RowMove, Hlong ColMove, Hlong RowTolerance, Hlong ColTolerance, double Rotation, Hlong MatchThreshold, const char* EstimationMethod, double DistanceThreshold, Hlong RandSeed, double* Kappa, double* Error, HTuple* Points1, HTuple* Points2) const;
- #ifdef _WIN32
- // Compute a projective transformation matrix between two images and the radial distortion coefficient by automatically finding correspondences between points.
- HHomMat2D ProjMatchPointsDistortionRansac(const HImage& Image2, const HTuple& Rows1, const HTuple& Cols1, const HTuple& Rows2, const HTuple& Cols2, const wchar_t* GrayMatchMethod, Hlong MaskSize, Hlong RowMove, Hlong ColMove, Hlong RowTolerance, Hlong ColTolerance, double Rotation, Hlong MatchThreshold, const wchar_t* EstimationMethod, double DistanceThreshold, Hlong RandSeed, double* Kappa, double* Error, HTuple* Points1, HTuple* Points2) const;
- #endif
- // Compute a projective transformation matrix between two images by finding correspondences between points based on a known approximation of the projective transformation matrix.
- HHomMat2D ProjMatchPointsRansacGuided(const HImage& Image2, const HTuple& Rows1, const HTuple& Cols1, const HTuple& Rows2, const HTuple& Cols2, const HString& GrayMatchMethod, Hlong MaskSize, const HHomMat2D& HomMat2DGuide, double DistanceTolerance, const HTuple& MatchThreshold, const HString& EstimationMethod, double DistanceThreshold, Hlong RandSeed, HTuple* Points1, HTuple* Points2) const;
- // Compute a projective transformation matrix between two images by finding correspondences between points based on a known approximation of the projective transformation matrix.
- HHomMat2D ProjMatchPointsRansacGuided(const HImage& Image2, const HTuple& Rows1, const HTuple& Cols1, const HTuple& Rows2, const HTuple& Cols2, const HString& GrayMatchMethod, Hlong MaskSize, const HHomMat2D& HomMat2DGuide, double DistanceTolerance, Hlong MatchThreshold, const HString& EstimationMethod, double DistanceThreshold, Hlong RandSeed, HTuple* Points1, HTuple* Points2) const;
- // Compute a projective transformation matrix between two images by finding correspondences between points based on a known approximation of the projective transformation matrix.
- HHomMat2D ProjMatchPointsRansacGuided(const HImage& Image2, const HTuple& Rows1, const HTuple& Cols1, const HTuple& Rows2, const HTuple& Cols2, const char* GrayMatchMethod, Hlong MaskSize, const HHomMat2D& HomMat2DGuide, double DistanceTolerance, Hlong MatchThreshold, const char* EstimationMethod, double DistanceThreshold, Hlong RandSeed, HTuple* Points1, HTuple* Points2) const;
- #ifdef _WIN32
- // Compute a projective transformation matrix between two images by finding correspondences between points based on a known approximation of the projective transformation matrix.
- HHomMat2D ProjMatchPointsRansacGuided(const HImage& Image2, const HTuple& Rows1, const HTuple& Cols1, const HTuple& Rows2, const HTuple& Cols2, const wchar_t* GrayMatchMethod, Hlong MaskSize, const HHomMat2D& HomMat2DGuide, double DistanceTolerance, Hlong MatchThreshold, const wchar_t* EstimationMethod, double DistanceThreshold, Hlong RandSeed, HTuple* Points1, HTuple* Points2) const;
- #endif
- // Compute a projective transformation matrix between two images by finding correspondences between points.
- HHomMat2D ProjMatchPointsRansac(const HImage& Image2, const HTuple& Rows1, const HTuple& Cols1, const HTuple& Rows2, const HTuple& Cols2, const HString& GrayMatchMethod, Hlong MaskSize, Hlong RowMove, Hlong ColMove, Hlong RowTolerance, Hlong ColTolerance, const HTuple& Rotation, const HTuple& MatchThreshold, const HString& EstimationMethod, double DistanceThreshold, Hlong RandSeed, HTuple* Points1, HTuple* Points2) const;
- // Compute a projective transformation matrix between two images by finding correspondences between points.
- HHomMat2D ProjMatchPointsRansac(const HImage& Image2, const HTuple& Rows1, const HTuple& Cols1, const HTuple& Rows2, const HTuple& Cols2, const HString& GrayMatchMethod, Hlong MaskSize, Hlong RowMove, Hlong ColMove, Hlong RowTolerance, Hlong ColTolerance, double Rotation, Hlong MatchThreshold, const HString& EstimationMethod, double DistanceThreshold, Hlong RandSeed, HTuple* Points1, HTuple* Points2) const;
- // Compute a projective transformation matrix between two images by finding correspondences between points.
- HHomMat2D ProjMatchPointsRansac(const HImage& Image2, const HTuple& Rows1, const HTuple& Cols1, const HTuple& Rows2, const HTuple& Cols2, const char* GrayMatchMethod, Hlong MaskSize, Hlong RowMove, Hlong ColMove, Hlong RowTolerance, Hlong ColTolerance, double Rotation, Hlong MatchThreshold, const char* EstimationMethod, double DistanceThreshold, Hlong RandSeed, HTuple* Points1, HTuple* Points2) const;
- #ifdef _WIN32
- // Compute a projective transformation matrix between two images by finding correspondences between points.
- HHomMat2D ProjMatchPointsRansac(const HImage& Image2, const HTuple& Rows1, const HTuple& Cols1, const HTuple& Rows2, const HTuple& Cols2, const wchar_t* GrayMatchMethod, Hlong MaskSize, Hlong RowMove, Hlong ColMove, Hlong RowTolerance, Hlong ColTolerance, double Rotation, Hlong MatchThreshold, const wchar_t* EstimationMethod, double DistanceThreshold, Hlong RandSeed, HTuple* Points1, HTuple* Points2) const;
- #endif
- // Receive an image over a socket connection.
- void ReceiveImage(const HSocket& Socket);
- // Send an image over a socket connection.
- void SendImage(const HSocket& Socket) const;
- // Compute the distance values for a rectified stereo image pair using multi-scanline optimization.
- HImage BinocularDistanceMs(const HImage& ImageRect2, HImage* Score, const HCamPar& CamParamRect1, const HCamPar& CamParamRect2, const HPose& RelPoseRect, Hlong MinDisparity, Hlong MaxDisparity, Hlong SurfaceSmoothing, Hlong EdgeSmoothing, const HTuple& GenParamName, const HTuple& GenParamValue) const;
- // Compute the distance values for a rectified stereo image pair using multi-scanline optimization.
- HImage BinocularDistanceMs(const HImage& ImageRect2, HImage* Score, const HCamPar& CamParamRect1, const HCamPar& CamParamRect2, const HPose& RelPoseRect, Hlong MinDisparity, Hlong MaxDisparity, Hlong SurfaceSmoothing, Hlong EdgeSmoothing, const HString& GenParamName, const HString& GenParamValue) const;
- // Compute the distance values for a rectified stereo image pair using multi-scanline optimization.
- HImage BinocularDistanceMs(const HImage& ImageRect2, HImage* Score, const HCamPar& CamParamRect1, const HCamPar& CamParamRect2, const HPose& RelPoseRect, Hlong MinDisparity, Hlong MaxDisparity, Hlong SurfaceSmoothing, Hlong EdgeSmoothing, const char* GenParamName, const char* GenParamValue) const;
- #ifdef _WIN32
- // Compute the distance values for a rectified stereo image pair using multi-scanline optimization.
- HImage BinocularDistanceMs(const HImage& ImageRect2, HImage* Score, const HCamPar& CamParamRect1, const HCamPar& CamParamRect2, const HPose& RelPoseRect, Hlong MinDisparity, Hlong MaxDisparity, Hlong SurfaceSmoothing, Hlong EdgeSmoothing, const wchar_t* GenParamName, const wchar_t* GenParamValue) const;
- #endif
- // Compute the disparities of a rectified stereo image pair using multi-scanline optimization.
- HImage BinocularDisparityMs(const HImage& ImageRect2, HImage* Score, Hlong MinDisparity, Hlong MaxDisparity, Hlong SurfaceSmoothing, Hlong EdgeSmoothing, const HTuple& GenParamName, const HTuple& GenParamValue) const;
- // Compute the disparities of a rectified stereo image pair using multi-scanline optimization.
- HImage BinocularDisparityMs(const HImage& ImageRect2, HImage* Score, Hlong MinDisparity, Hlong MaxDisparity, Hlong SurfaceSmoothing, Hlong EdgeSmoothing, const HString& GenParamName, const HString& GenParamValue) const;
- // Compute the disparities of a rectified stereo image pair using multi-scanline optimization.
- HImage BinocularDisparityMs(const HImage& ImageRect2, HImage* Score, Hlong MinDisparity, Hlong MaxDisparity, Hlong SurfaceSmoothing, Hlong EdgeSmoothing, const char* GenParamName, const char* GenParamValue) const;
- #ifdef _WIN32
- // Compute the disparities of a rectified stereo image pair using multi-scanline optimization.
- HImage BinocularDisparityMs(const HImage& ImageRect2, HImage* Score, Hlong MinDisparity, Hlong MaxDisparity, Hlong SurfaceSmoothing, Hlong EdgeSmoothing, const wchar_t* GenParamName, const wchar_t* GenParamValue) const;
- #endif
- // Compute the distance values for a rectified stereo image pair using multigrid methods.
- HImage BinocularDistanceMg(const HImage& ImageRect2, HImage* Score, const HCamPar& CamParamRect1, const HCamPar& CamParamRect2, const HPose& RelPoseRect, double GrayConstancy, double GradientConstancy, double Smoothness, double InitialGuess, const HString& CalculateScore, const HTuple& MGParamName, const HTuple& MGParamValue) const;
- // Compute the distance values for a rectified stereo image pair using multigrid methods.
- HImage BinocularDistanceMg(const HImage& ImageRect2, HImage* Score, const HCamPar& CamParamRect1, const HCamPar& CamParamRect2, const HPose& RelPoseRect, double GrayConstancy, double GradientConstancy, double Smoothness, double InitialGuess, const HString& CalculateScore, const HString& MGParamName, const HString& MGParamValue) const;
- // Compute the distance values for a rectified stereo image pair using multigrid methods.
- HImage BinocularDistanceMg(const HImage& ImageRect2, HImage* Score, const HCamPar& CamParamRect1, const HCamPar& CamParamRect2, const HPose& RelPoseRect, double GrayConstancy, double GradientConstancy, double Smoothness, double InitialGuess, const char* CalculateScore, const char* MGParamName, const char* MGParamValue) const;
- #ifdef _WIN32
- // Compute the distance values for a rectified stereo image pair using multigrid methods.
- HImage BinocularDistanceMg(const HImage& ImageRect2, HImage* Score, const HCamPar& CamParamRect1, const HCamPar& CamParamRect2, const HPose& RelPoseRect, double GrayConstancy, double GradientConstancy, double Smoothness, double InitialGuess, const wchar_t* CalculateScore, const wchar_t* MGParamName, const wchar_t* MGParamValue) const;
- #endif
- // Compute the disparities of a rectified stereo image pair using multigrid methods.
- HImage BinocularDisparityMg(const HImage& ImageRect2, HImage* Score, double GrayConstancy, double GradientConstancy, double Smoothness, double InitialGuess, const HString& CalculateScore, const HTuple& MGParamName, const HTuple& MGParamValue) const;
- // Compute the disparities of a rectified stereo image pair using multigrid methods.
- HImage BinocularDisparityMg(const HImage& ImageRect2, HImage* Score, double GrayConstancy, double GradientConstancy, double Smoothness, double InitialGuess, const HString& CalculateScore, const HString& MGParamName, const HString& MGParamValue) const;
- // Compute the disparities of a rectified stereo image pair using multigrid methods.
- HImage BinocularDisparityMg(const HImage& ImageRect2, HImage* Score, double GrayConstancy, double GradientConstancy, double Smoothness, double InitialGuess, const char* CalculateScore, const char* MGParamName, const char* MGParamValue) const;
- #ifdef _WIN32
- // Compute the disparities of a rectified stereo image pair using multigrid methods.
- HImage BinocularDisparityMg(const HImage& ImageRect2, HImage* Score, double GrayConstancy, double GradientConstancy, double Smoothness, double InitialGuess, const wchar_t* CalculateScore, const wchar_t* MGParamName, const wchar_t* MGParamValue) const;
- #endif
- // Compute the projective rectification of weakly calibrated binocular stereo images.
- HImage GenBinocularProjRectification(const HHomMat2D& FMatrix, const HTuple& CovFMat, Hlong Width1, Hlong Height1, Hlong Width2, Hlong Height2, const HTuple& SubSampling, const HString& Mapping, HTuple* CovFMatRect, HHomMat2D* H1, HHomMat2D* H2);
- // Compute the projective rectification of weakly calibrated binocular stereo images.
- HImage GenBinocularProjRectification(const HHomMat2D& FMatrix, const HTuple& CovFMat, Hlong Width1, Hlong Height1, Hlong Width2, Hlong Height2, Hlong SubSampling, const HString& Mapping, HTuple* CovFMatRect, HHomMat2D* H1, HHomMat2D* H2);
- // Compute the projective rectification of weakly calibrated binocular stereo images.
- HImage GenBinocularProjRectification(const HHomMat2D& FMatrix, const HTuple& CovFMat, Hlong Width1, Hlong Height1, Hlong Width2, Hlong Height2, Hlong SubSampling, const char* Mapping, HTuple* CovFMatRect, HHomMat2D* H1, HHomMat2D* H2);
- #ifdef _WIN32
- // Compute the projective rectification of weakly calibrated binocular stereo images.
- HImage GenBinocularProjRectification(const HHomMat2D& FMatrix, const HTuple& CovFMat, Hlong Width1, Hlong Height1, Hlong Width2, Hlong Height2, Hlong SubSampling, const wchar_t* Mapping, HTuple* CovFMatRect, HHomMat2D* H1, HHomMat2D* H2);
- #endif
- // Compute the fundamental matrix and the radial distortion coefficient for a pair of stereo images by automatically finding correspondences between image points.
- HHomMat2D MatchFundamentalMatrixDistortionRansac(const HImage& Image2, const HTuple& Rows1, const HTuple& Cols1, const HTuple& Rows2, const HTuple& Cols2, const HString& GrayMatchMethod, Hlong MaskSize, Hlong RowMove, Hlong ColMove, Hlong RowTolerance, Hlong ColTolerance, const HTuple& Rotation, const HTuple& MatchThreshold, const HString& EstimationMethod, const HTuple& DistanceThreshold, Hlong RandSeed, double* Kappa, double* Error, HTuple* Points1, HTuple* Points2) const;
- // Compute the fundamental matrix and the radial distortion coefficient for a pair of stereo images by automatically finding correspondences between image points.
- HHomMat2D MatchFundamentalMatrixDistortionRansac(const HImage& Image2, const HTuple& Rows1, const HTuple& Cols1, const HTuple& Rows2, const HTuple& Cols2, const HString& GrayMatchMethod, Hlong MaskSize, Hlong RowMove, Hlong ColMove, Hlong RowTolerance, Hlong ColTolerance, double Rotation, Hlong MatchThreshold, const HString& EstimationMethod, double DistanceThreshold, Hlong RandSeed, double* Kappa, double* Error, HTuple* Points1, HTuple* Points2) const;
- // Compute the fundamental matrix and the radial distortion coefficient for a pair of stereo images by automatically finding correspondences between image points.
- HHomMat2D MatchFundamentalMatrixDistortionRansac(const HImage& Image2, const HTuple& Rows1, const HTuple& Cols1, const HTuple& Rows2, const HTuple& Cols2, const char* GrayMatchMethod, Hlong MaskSize, Hlong RowMove, Hlong ColMove, Hlong RowTolerance, Hlong ColTolerance, double Rotation, Hlong MatchThreshold, const char* EstimationMethod, double DistanceThreshold, Hlong RandSeed, double* Kappa, double* Error, HTuple* Points1, HTuple* Points2) const;
- #ifdef _WIN32
- // Compute the fundamental matrix and the radial distortion coefficient for a pair of stereo images by automatically finding correspondences between image points.
- HHomMat2D MatchFundamentalMatrixDistortionRansac(const HImage& Image2, const HTuple& Rows1, const HTuple& Cols1, const HTuple& Rows2, const HTuple& Cols2, const wchar_t* GrayMatchMethod, Hlong MaskSize, Hlong RowMove, Hlong ColMove, Hlong RowTolerance, Hlong ColTolerance, double Rotation, Hlong MatchThreshold, const wchar_t* EstimationMethod, double DistanceThreshold, Hlong RandSeed, double* Kappa, double* Error, HTuple* Points1, HTuple* Points2) const;
- #endif
- // Compute the relative orientation between two cameras by automatically finding correspondences between image points.
- HPose MatchRelPoseRansac(const HImage& Image2, const HTuple& Rows1, const HTuple& Cols1, const HTuple& Rows2, const HTuple& Cols2, const HCamPar& CamPar1, const HCamPar& CamPar2, const HString& GrayMatchMethod, Hlong MaskSize, Hlong RowMove, Hlong ColMove, Hlong RowTolerance, Hlong ColTolerance, const HTuple& Rotation, const HTuple& MatchThreshold, const HString& EstimationMethod, const HTuple& DistanceThreshold, Hlong RandSeed, HTuple* CovRelPose, HTuple* Error, HTuple* Points1, HTuple* Points2) const;
- // Compute the relative orientation between two cameras by automatically finding correspondences between image points.
- HPose MatchRelPoseRansac(const HImage& Image2, const HTuple& Rows1, const HTuple& Cols1, const HTuple& Rows2, const HTuple& Cols2, const HCamPar& CamPar1, const HCamPar& CamPar2, const HString& GrayMatchMethod, Hlong MaskSize, Hlong RowMove, Hlong ColMove, Hlong RowTolerance, Hlong ColTolerance, double Rotation, Hlong MatchThreshold, const HString& EstimationMethod, double DistanceThreshold, Hlong RandSeed, HTuple* CovRelPose, double* Error, HTuple* Points1, HTuple* Points2) const;
- // Compute the relative orientation between two cameras by automatically finding correspondences between image points.
- HPose MatchRelPoseRansac(const HImage& Image2, const HTuple& Rows1, const HTuple& Cols1, const HTuple& Rows2, const HTuple& Cols2, const HCamPar& CamPar1, const HCamPar& CamPar2, const char* GrayMatchMethod, Hlong MaskSize, Hlong RowMove, Hlong ColMove, Hlong RowTolerance, Hlong ColTolerance, double Rotation, Hlong MatchThreshold, const char* EstimationMethod, double DistanceThreshold, Hlong RandSeed, HTuple* CovRelPose, double* Error, HTuple* Points1, HTuple* Points2) const;
- #ifdef _WIN32
- // Compute the relative orientation between two cameras by automatically finding correspondences between image points.
- HPose MatchRelPoseRansac(const HImage& Image2, const HTuple& Rows1, const HTuple& Cols1, const HTuple& Rows2, const HTuple& Cols2, const HCamPar& CamPar1, const HCamPar& CamPar2, const wchar_t* GrayMatchMethod, Hlong MaskSize, Hlong RowMove, Hlong ColMove, Hlong RowTolerance, Hlong ColTolerance, double Rotation, Hlong MatchThreshold, const wchar_t* EstimationMethod, double DistanceThreshold, Hlong RandSeed, HTuple* CovRelPose, double* Error, HTuple* Points1, HTuple* Points2) const;
- #endif
- // Compute the essential matrix for a pair of stereo images by automatically finding correspondences between image points.
- HHomMat2D MatchEssentialMatrixRansac(const HImage& Image2, const HTuple& Rows1, const HTuple& Cols1, const HTuple& Rows2, const HTuple& Cols2, const HHomMat2D& CamMat1, const HHomMat2D& CamMat2, const HString& GrayMatchMethod, Hlong MaskSize, Hlong RowMove, Hlong ColMove, Hlong RowTolerance, Hlong ColTolerance, const HTuple& Rotation, const HTuple& MatchThreshold, const HString& EstimationMethod, const HTuple& DistanceThreshold, Hlong RandSeed, HTuple* CovEMat, HTuple* Error, HTuple* Points1, HTuple* Points2) const;
- // Compute the essential matrix for a pair of stereo images by automatically finding correspondences between image points.
- HHomMat2D MatchEssentialMatrixRansac(const HImage& Image2, const HTuple& Rows1, const HTuple& Cols1, const HTuple& Rows2, const HTuple& Cols2, const HHomMat2D& CamMat1, const HHomMat2D& CamMat2, const HString& GrayMatchMethod, Hlong MaskSize, Hlong RowMove, Hlong ColMove, Hlong RowTolerance, Hlong ColTolerance, double Rotation, Hlong MatchThreshold, const HString& EstimationMethod, double DistanceThreshold, Hlong RandSeed, HTuple* CovEMat, double* Error, HTuple* Points1, HTuple* Points2) const;
- // Compute the essential matrix for a pair of stereo images by automatically finding correspondences between image points.
- HHomMat2D MatchEssentialMatrixRansac(const HImage& Image2, const HTuple& Rows1, const HTuple& Cols1, const HTuple& Rows2, const HTuple& Cols2, const HHomMat2D& CamMat1, const HHomMat2D& CamMat2, const char* GrayMatchMethod, Hlong MaskSize, Hlong RowMove, Hlong ColMove, Hlong RowTolerance, Hlong ColTolerance, double Rotation, Hlong MatchThreshold, const char* EstimationMethod, double DistanceThreshold, Hlong RandSeed, HTuple* CovEMat, double* Error, HTuple* Points1, HTuple* Points2) const;
- #ifdef _WIN32
- // Compute the essential matrix for a pair of stereo images by automatically finding correspondences between image points.
- HHomMat2D MatchEssentialMatrixRansac(const HImage& Image2, const HTuple& Rows1, const HTuple& Cols1, const HTuple& Rows2, const HTuple& Cols2, const HHomMat2D& CamMat1, const HHomMat2D& CamMat2, const wchar_t* GrayMatchMethod, Hlong MaskSize, Hlong RowMove, Hlong ColMove, Hlong RowTolerance, Hlong ColTolerance, double Rotation, Hlong MatchThreshold, const wchar_t* EstimationMethod, double DistanceThreshold, Hlong RandSeed, HTuple* CovEMat, double* Error, HTuple* Points1, HTuple* Points2) const;
- #endif
- // Compute the fundamental matrix for a pair of stereo images by automatically finding correspondences between image points.
- HHomMat2D MatchFundamentalMatrixRansac(const HImage& Image2, const HTuple& Rows1, const HTuple& Cols1, const HTuple& Rows2, const HTuple& Cols2, const HString& GrayMatchMethod, Hlong MaskSize, Hlong RowMove, Hlong ColMove, Hlong RowTolerance, Hlong ColTolerance, const HTuple& Rotation, const HTuple& MatchThreshold, const HString& EstimationMethod, const HTuple& DistanceThreshold, Hlong RandSeed, HTuple* CovFMat, double* Error, HTuple* Points1, HTuple* Points2) const;
- // Compute the fundamental matrix for a pair of stereo images by automatically finding correspondences between image points.
- HHomMat2D MatchFundamentalMatrixRansac(const HImage& Image2, const HTuple& Rows1, const HTuple& Cols1, const HTuple& Rows2, const HTuple& Cols2, const HString& GrayMatchMethod, Hlong MaskSize, Hlong RowMove, Hlong ColMove, Hlong RowTolerance, Hlong ColTolerance, double Rotation, Hlong MatchThreshold, const HString& EstimationMethod, double DistanceThreshold, Hlong RandSeed, HTuple* CovFMat, double* Error, HTuple* Points1, HTuple* Points2) const;
- // Compute the fundamental matrix for a pair of stereo images by automatically finding correspondences between image points.
- HHomMat2D MatchFundamentalMatrixRansac(const HImage& Image2, const HTuple& Rows1, const HTuple& Cols1, const HTuple& Rows2, const HTuple& Cols2, const char* GrayMatchMethod, Hlong MaskSize, Hlong RowMove, Hlong ColMove, Hlong RowTolerance, Hlong ColTolerance, double Rotation, Hlong MatchThreshold, const char* EstimationMethod, double DistanceThreshold, Hlong RandSeed, HTuple* CovFMat, double* Error, HTuple* Points1, HTuple* Points2) const;
- #ifdef _WIN32
- // Compute the fundamental matrix for a pair of stereo images by automatically finding correspondences between image points.
- HHomMat2D MatchFundamentalMatrixRansac(const HImage& Image2, const HTuple& Rows1, const HTuple& Cols1, const HTuple& Rows2, const HTuple& Cols2, const wchar_t* GrayMatchMethod, Hlong MaskSize, Hlong RowMove, Hlong ColMove, Hlong RowTolerance, Hlong ColTolerance, double Rotation, Hlong MatchThreshold, const wchar_t* EstimationMethod, double DistanceThreshold, Hlong RandSeed, HTuple* CovFMat, double* Error, HTuple* Points1, HTuple* Points2) const;
- #endif
- // Compute the distance values for a rectified stereo image pair using correlation techniques.
- HImage BinocularDistance(const HImage& ImageRect2, HImage* Score, const HCamPar& CamParamRect1, const HCamPar& CamParamRect2, const HPose& RelPoseRect, const HString& Method, Hlong MaskWidth, Hlong MaskHeight, const HTuple& TextureThresh, Hlong MinDisparity, Hlong MaxDisparity, Hlong NumLevels, const HTuple& ScoreThresh, const HTuple& Filter, const HTuple& SubDistance) const;
- // Compute the distance values for a rectified stereo image pair using correlation techniques.
- HImage BinocularDistance(const HImage& ImageRect2, HImage* Score, const HCamPar& CamParamRect1, const HCamPar& CamParamRect2, const HPose& RelPoseRect, const HString& Method, Hlong MaskWidth, Hlong MaskHeight, double TextureThresh, Hlong MinDisparity, Hlong MaxDisparity, Hlong NumLevels, double ScoreThresh, const HString& Filter, const HString& SubDistance) const;
- // Compute the distance values for a rectified stereo image pair using correlation techniques.
- HImage BinocularDistance(const HImage& ImageRect2, HImage* Score, const HCamPar& CamParamRect1, const HCamPar& CamParamRect2, const HPose& RelPoseRect, const char* Method, Hlong MaskWidth, Hlong MaskHeight, double TextureThresh, Hlong MinDisparity, Hlong MaxDisparity, Hlong NumLevels, double ScoreThresh, const char* Filter, const char* SubDistance) const;
- #ifdef _WIN32
- // Compute the distance values for a rectified stereo image pair using correlation techniques.
- HImage BinocularDistance(const HImage& ImageRect2, HImage* Score, const HCamPar& CamParamRect1, const HCamPar& CamParamRect2, const HPose& RelPoseRect, const wchar_t* Method, Hlong MaskWidth, Hlong MaskHeight, double TextureThresh, Hlong MinDisparity, Hlong MaxDisparity, Hlong NumLevels, double ScoreThresh, const wchar_t* Filter, const wchar_t* SubDistance) const;
- #endif
- // Compute the disparities of a rectified image pair using correlation techniques.
- HImage BinocularDisparity(const HImage& ImageRect2, HImage* Score, const HString& Method, Hlong MaskWidth, Hlong MaskHeight, const HTuple& TextureThresh, Hlong MinDisparity, Hlong MaxDisparity, Hlong NumLevels, const HTuple& ScoreThresh, const HTuple& Filter, const HString& SubDisparity) const;
- // Compute the disparities of a rectified image pair using correlation techniques.
- HImage BinocularDisparity(const HImage& ImageRect2, HImage* Score, const HString& Method, Hlong MaskWidth, Hlong MaskHeight, double TextureThresh, Hlong MinDisparity, Hlong MaxDisparity, Hlong NumLevels, double ScoreThresh, const HString& Filter, const HString& SubDisparity) const;
- // Compute the disparities of a rectified image pair using correlation techniques.
- HImage BinocularDisparity(const HImage& ImageRect2, HImage* Score, const char* Method, Hlong MaskWidth, Hlong MaskHeight, double TextureThresh, Hlong MinDisparity, Hlong MaxDisparity, Hlong NumLevels, double ScoreThresh, const char* Filter, const char* SubDisparity) const;
- #ifdef _WIN32
- // Compute the disparities of a rectified image pair using correlation techniques.
- HImage BinocularDisparity(const HImage& ImageRect2, HImage* Score, const wchar_t* Method, Hlong MaskWidth, Hlong MaskHeight, double TextureThresh, Hlong MinDisparity, Hlong MaxDisparity, Hlong NumLevels, double ScoreThresh, const wchar_t* Filter, const wchar_t* SubDisparity) const;
- #endif
- // Transform a disparity image into 3D points in a rectified stereo system.
- HImage DisparityImageToXyz(HImage* Y, HImage* Z, const HCamPar& CamParamRect1, const HCamPar& CamParamRect2, const HPose& RelPoseRect) const;
- // Generate transformation maps that describe the mapping of the images of a binocular camera pair to a common rectified image plane.
- HImage GenBinocularRectificationMap(const HCamPar& CamParam1, const HCamPar& CamParam2, const HPose& RelPose, double SubSampling, const HString& Method, const HString& MapType, HCamPar* CamParamRect1, HCamPar* CamParamRect2, HPose* CamPoseRect1, HPose* CamPoseRect2, HPose* RelPoseRect);
- // Generate transformation maps that describe the mapping of the images of a binocular camera pair to a common rectified image plane.
- HImage GenBinocularRectificationMap(const HCamPar& CamParam1, const HCamPar& CamParam2, const HPose& RelPose, double SubSampling, const char* Method, const char* MapType, HCamPar* CamParamRect1, HCamPar* CamParamRect2, HPose* CamPoseRect1, HPose* CamPoseRect2, HPose* RelPoseRect);
- #ifdef _WIN32
- // Generate transformation maps that describe the mapping of the images of a binocular camera pair to a common rectified image plane.
- HImage GenBinocularRectificationMap(const HCamPar& CamParam1, const HCamPar& CamParam2, const HPose& RelPose, double SubSampling, const wchar_t* Method, const wchar_t* MapType, HCamPar* CamParamRect1, HCamPar* CamParamRect2, HPose* CamPoseRect1, HPose* CamPoseRect2, HPose* RelPoseRect);
- #endif
- // Get the iconic results of a measurement performed with the sheet-of light technique.
- void GetSheetOfLightResult(const HSheetOfLightModel& SheetOfLightModelID, const HTuple& ResultName);
- // Get the iconic results of a measurement performed with the sheet-of light technique.
- void GetSheetOfLightResult(const HSheetOfLightModel& SheetOfLightModelID, const HString& ResultName);
- // Get the iconic results of a measurement performed with the sheet-of light technique.
- void GetSheetOfLightResult(const HSheetOfLightModel& SheetOfLightModelID, const char* ResultName);
- #ifdef _WIN32
- // Get the iconic results of a measurement performed with the sheet-of light technique.
- void GetSheetOfLightResult(const HSheetOfLightModel& SheetOfLightModelID, const wchar_t* ResultName);
- #endif
- // Apply the calibration transformations to the input disparity image.
- void ApplySheetOfLightCalibration(const HSheetOfLightModel& SheetOfLightModelID) const;
- // Set sheet of light profiles by measured disparities.
- void SetProfileSheetOfLight(const HSheetOfLightModel& SheetOfLightModelID, const HTuple& MovementPoses) const;
- // Process the profile image provided as input and store the resulting disparity to the sheet-of-light model.
- void MeasureProfileSheetOfLight(const HSheetOfLightModel& SheetOfLightModelID, const HTuple& MovementPose) const;
- // Shade a height field.
- HImage ShadeHeightField(const HTuple& Slant, const HTuple& Tilt, const HTuple& Albedo, const HTuple& Ambient, const HString& Shadows) const;
- // Shade a height field.
- HImage ShadeHeightField(double Slant, double Tilt, double Albedo, double Ambient, const HString& Shadows) const;
- // Shade a height field.
- HImage ShadeHeightField(double Slant, double Tilt, double Albedo, double Ambient, const char* Shadows) const;
- #ifdef _WIN32
- // Shade a height field.
- HImage ShadeHeightField(double Slant, double Tilt, double Albedo, double Ambient, const wchar_t* Shadows) const;
- #endif
- // Estimate the albedo of a surface and the amount of ambient light.
- HTuple EstimateAlAm(HTuple* Ambient) const;
- // Estimate the albedo of a surface and the amount of ambient light.
- double EstimateAlAm(double* Ambient) const;
- // Estimate the slant of a light source and the albedo of a surface.
- HTuple EstimateSlAlZc(HTuple* Albedo) const;
- // Estimate the slant of a light source and the albedo of a surface.
- double EstimateSlAlZc(double* Albedo) const;
- // Estimate the slant of a light source and the albedo of a surface.
- HTuple EstimateSlAlLr(HTuple* Albedo) const;
- // Estimate the slant of a light source and the albedo of a surface.
- double EstimateSlAlLr(double* Albedo) const;
- // Estimate the tilt of a light source.
- HTuple EstimateTiltZc() const;
- // Estimate the tilt of a light source.
- HTuple EstimateTiltLr() const;
- // Reconstruct a surface from surface gradients.
- HImage ReconstructHeightFieldFromGradient(const HString& ReconstructionMethod, const HTuple& GenParamName, const HTuple& GenParamValue) const;
- // Reconstruct a surface from surface gradients.
- HImage ReconstructHeightFieldFromGradient(const char* ReconstructionMethod, const HTuple& GenParamName, const HTuple& GenParamValue) const;
- #ifdef _WIN32
- // Reconstruct a surface from surface gradients.
- HImage ReconstructHeightFieldFromGradient(const wchar_t* ReconstructionMethod, const HTuple& GenParamName, const HTuple& GenParamValue) const;
- #endif
- // Reconstruct a surface according to the photometric stereo technique.
- HImage PhotometricStereo(HImage* Gradient, HImage* Albedo, const HTuple& Slants, const HTuple& Tilts, const HTuple& ResultType, const HString& ReconstructionMethod, const HTuple& GenParamName, const HTuple& GenParamValue) const;
- // Reconstruct a surface according to the photometric stereo technique.
- HImage PhotometricStereo(HImage* Gradient, HImage* Albedo, const HTuple& Slants, const HTuple& Tilts, const HTuple& ResultType, const char* ReconstructionMethod, const HTuple& GenParamName, const HTuple& GenParamValue) const;
- #ifdef _WIN32
- // Reconstruct a surface according to the photometric stereo technique.
- HImage PhotometricStereo(HImage* Gradient, HImage* Albedo, const HTuple& Slants, const HTuple& Tilts, const HTuple& ResultType, const wchar_t* ReconstructionMethod, const HTuple& GenParamName, const HTuple& GenParamValue) const;
- #endif
- // Reconstruct a surface from a gray value image.
- HImage SfsPentland(const HTuple& Slant, const HTuple& Tilt, const HTuple& Albedo, const HTuple& Ambient) const;
- // Reconstruct a surface from a gray value image.
- HImage SfsPentland(double Slant, double Tilt, double Albedo, double Ambient) const;
- // Reconstruct a surface from a gray value image.
- HImage SfsOrigLr(const HTuple& Slant, const HTuple& Tilt, const HTuple& Albedo, const HTuple& Ambient) const;
- // Reconstruct a surface from a gray value image.
- HImage SfsOrigLr(double Slant, double Tilt, double Albedo, double Ambient) const;
- // Reconstruct a surface from a gray value image.
- HImage SfsModLr(const HTuple& Slant, const HTuple& Tilt, const HTuple& Albedo, const HTuple& Ambient) const;
- // Reconstruct a surface from a gray value image.
- HImage SfsModLr(double Slant, double Tilt, double Albedo, double Ambient) const;
- // Find text in an image.
- HTextResult FindText(const HTextModel& TextModel) const;
- // Classify a byte image using a look-up table.
- HRegion ClassifyImageClassLut(const HClassLUT& ClassLUTHandle) const;
- // Classify an image with a k-Nearest-Neighbor classifier.
- HRegion ClassifyImageClassKnn(HImage* DistanceImage, const HClassKnn& KNNHandle, double RejectionThreshold) const;
- // Add training samples from an image to the training data of a k-Nearest-Neighbor classifier.
- void AddSamplesImageClassKnn(const HRegion& ClassRegions, const HClassKnn& KNNHandle) const;
- // Classify an image with a Gaussian Mixture Model.
- HRegion ClassifyImageClassGmm(const HClassGmm& GMMHandle, double RejectionThreshold) const;
- // Add training samples from an image to the training data of a Gaussian Mixture Model.
- void AddSamplesImageClassGmm(const HRegion& ClassRegions, const HClassGmm& GMMHandle, double Randomize) const;
- // Classify an image with a support vector machine.
- HRegion ClassifyImageClassSvm(const HClassSvm& SVMHandle) const;
- // Add training samples from an image to the training data of a support vector machine.
- void AddSamplesImageClassSvm(const HRegion& ClassRegions, const HClassSvm& SVMHandle) const;
- // Classify an image with a multilayer perceptron.
- HRegion ClassifyImageClassMlp(const HClassMlp& MLPHandle, double RejectionThreshold) const;
- // Add training samples from an image to the training data of a multilayer perceptron.
- void AddSamplesImageClassMlp(const HRegion& ClassRegions, const HClassMlp& MLPHandle) const;
- // Construct classes for class_ndim_norm.
- HTuple LearnNdimNorm(const HRegion& Foreground, const HRegion& Background, const HString& Metric, const HTuple& Distance, const HTuple& MinNumberPercent, HTuple* Center, double* Quality) const;
- // Construct classes for class_ndim_norm.
- HTuple LearnNdimNorm(const HRegion& Foreground, const HRegion& Background, const HString& Metric, double Distance, double MinNumberPercent, HTuple* Center, double* Quality) const;
- // Construct classes for class_ndim_norm.
- HTuple LearnNdimNorm(const HRegion& Foreground, const HRegion& Background, const char* Metric, double Distance, double MinNumberPercent, HTuple* Center, double* Quality) const;
- #ifdef _WIN32
- // Construct classes for class_ndim_norm.
- HTuple LearnNdimNorm(const HRegion& Foreground, const HRegion& Background, const wchar_t* Metric, double Distance, double MinNumberPercent, HTuple* Center, double* Quality) const;
- #endif
- // Train a classificator using a multi-channel image.
- void LearnNdimBox(const HRegion& Foreground, const HRegion& Background, const HClassBox& ClassifHandle) const;
- // Classify pixels using hyper-cuboids.
- HRegion ClassNdimBox(const HClassBox& ClassifHandle) const;
- // Classify pixels using hyper-spheres or hyper-cubes.
- HRegion ClassNdimNorm(const HString& Metric, const HString& SingleMultiple, const HTuple& Radius, const HTuple& Center) const;
- // Classify pixels using hyper-spheres or hyper-cubes.
- HRegion ClassNdimNorm(const HString& Metric, const HString& SingleMultiple, double Radius, double Center) const;
- // Classify pixels using hyper-spheres or hyper-cubes.
- HRegion ClassNdimNorm(const char* Metric, const char* SingleMultiple, double Radius, double Center) const;
- #ifdef _WIN32
- // Classify pixels using hyper-spheres or hyper-cubes.
- HRegion ClassNdimNorm(const wchar_t* Metric, const wchar_t* SingleMultiple, double Radius, double Center) const;
- #endif
- // Segment an image using two-dimensional pixel classification.
- HRegion Class2dimSup(const HImage& ImageRow, const HRegion& FeatureSpace) const;
- // Segment two images by clustering.
- HRegion Class2dimUnsup(const HImage& Image2, Hlong Threshold, Hlong NumClasses) const;
- // Compare two images pixel by pixel.
- HRegion CheckDifference(const HImage& Pattern, const HString& Mode, Hlong DiffLowerBound, Hlong DiffUpperBound, Hlong GrayOffset, Hlong AddRow, Hlong AddCol) const;
- // Compare two images pixel by pixel.
- HRegion CheckDifference(const HImage& Pattern, const char* Mode, Hlong DiffLowerBound, Hlong DiffUpperBound, Hlong GrayOffset, Hlong AddRow, Hlong AddCol) const;
- #ifdef _WIN32
- // Compare two images pixel by pixel.
- HRegion CheckDifference(const HImage& Pattern, const wchar_t* Mode, Hlong DiffLowerBound, Hlong DiffUpperBound, Hlong GrayOffset, Hlong AddRow, Hlong AddCol) const;
- #endif
- // Perform a threshold segmentation for extracting characters.
- HRegion CharThreshold(const HRegion& HistoRegion, double Sigma, const HTuple& Percent, HTuple* Threshold) const;
- // Perform a threshold segmentation for extracting characters.
- HRegion CharThreshold(const HRegion& HistoRegion, double Sigma, double Percent, Hlong* Threshold) const;
- // Extract regions with equal gray values from an image.
- HRegion LabelToRegion() const;
- // Suppress non-maximum points on an edge.
- HImage NonmaxSuppressionAmp(const HString& Mode) const;
- // Suppress non-maximum points on an edge.
- HImage NonmaxSuppressionAmp(const char* Mode) const;
- #ifdef _WIN32
- // Suppress non-maximum points on an edge.
- HImage NonmaxSuppressionAmp(const wchar_t* Mode) const;
- #endif
- // Suppress non-maximum points on an edge using a direction image.
- HImage NonmaxSuppressionDir(const HImage& ImgDir, const HString& Mode) const;
- // Suppress non-maximum points on an edge using a direction image.
- HImage NonmaxSuppressionDir(const HImage& ImgDir, const char* Mode) const;
- #ifdef _WIN32
- // Suppress non-maximum points on an edge using a direction image.
- HImage NonmaxSuppressionDir(const HImage& ImgDir, const wchar_t* Mode) const;
- #endif
- // Perform a hysteresis threshold operation on an image.
- HRegion HysteresisThreshold(const HTuple& Low, const HTuple& High, Hlong MaxLength) const;
- // Perform a hysteresis threshold operation on an image.
- HRegion HysteresisThreshold(Hlong Low, Hlong High, Hlong MaxLength) const;
- // Segment an image using binary thresholding.
- HRegion BinaryThreshold(const HString& Method, const HString& LightDark, HTuple* UsedThreshold) const;
- // Segment an image using binary thresholding.
- HRegion BinaryThreshold(const HString& Method, const HString& LightDark, Hlong* UsedThreshold) const;
- // Segment an image using binary thresholding.
- HRegion BinaryThreshold(const char* Method, const char* LightDark, Hlong* UsedThreshold) const;
- #ifdef _WIN32
- // Segment an image using binary thresholding.
- HRegion BinaryThreshold(const wchar_t* Method, const wchar_t* LightDark, Hlong* UsedThreshold) const;
- #endif
- // Segment an image using local thresholding.
- HRegion LocalThreshold(const HString& Method, const HString& LightDark, const HTuple& GenParamName, const HTuple& GenParamValue) const;
- // Segment an image using local thresholding.
- HRegion LocalThreshold(const HString& Method, const HString& LightDark, const HString& GenParamName, Hlong GenParamValue) const;
- // Segment an image using local thresholding.
- HRegion LocalThreshold(const char* Method, const char* LightDark, const char* GenParamName, Hlong GenParamValue) const;
- #ifdef _WIN32
- // Segment an image using local thresholding.
- HRegion LocalThreshold(const wchar_t* Method, const wchar_t* LightDark, const wchar_t* GenParamName, Hlong GenParamValue) const;
- #endif
- // Threshold an image by local mean and standard deviation analysis.
- HRegion VarThreshold(Hlong MaskWidth, Hlong MaskHeight, const HTuple& StdDevScale, const HTuple& AbsThreshold, const HString& LightDark) const;
- // Threshold an image by local mean and standard deviation analysis.
- HRegion VarThreshold(Hlong MaskWidth, Hlong MaskHeight, double StdDevScale, double AbsThreshold, const HString& LightDark) const;
- // Threshold an image by local mean and standard deviation analysis.
- HRegion VarThreshold(Hlong MaskWidth, Hlong MaskHeight, double StdDevScale, double AbsThreshold, const char* LightDark) const;
- #ifdef _WIN32
- // Threshold an image by local mean and standard deviation analysis.
- HRegion VarThreshold(Hlong MaskWidth, Hlong MaskHeight, double StdDevScale, double AbsThreshold, const wchar_t* LightDark) const;
- #endif
- // Segment an image using a local threshold.
- HRegion DynThreshold(const HImage& ThresholdImage, const HTuple& Offset, const HString& LightDark) const;
- // Segment an image using a local threshold.
- HRegion DynThreshold(const HImage& ThresholdImage, double Offset, const HString& LightDark) const;
- // Segment an image using a local threshold.
- HRegion DynThreshold(const HImage& ThresholdImage, double Offset, const char* LightDark) const;
- #ifdef _WIN32
- // Segment an image using a local threshold.
- HRegion DynThreshold(const HImage& ThresholdImage, double Offset, const wchar_t* LightDark) const;
- #endif
- // Segment an image using global threshold.
- HRegion Threshold(const HTuple& MinGray, const HTuple& MaxGray) const;
- // Segment an image using global threshold.
- HRegion Threshold(double MinGray, double MaxGray) const;
- // Extract level crossings from an image with subpixel accuracy.
- HXLDCont ThresholdSubPix(const HTuple& Threshold) const;
- // Extract level crossings from an image with subpixel accuracy.
- HXLDCont ThresholdSubPix(double Threshold) const;
- // Segment an image using regiongrowing for multi-channel images.
- HRegion RegiongrowingN(const HString& Metric, const HTuple& MinTolerance, const HTuple& MaxTolerance, Hlong MinSize) const;
- // Segment an image using regiongrowing for multi-channel images.
- HRegion RegiongrowingN(const HString& Metric, double MinTolerance, double MaxTolerance, Hlong MinSize) const;
- // Segment an image using regiongrowing for multi-channel images.
- HRegion RegiongrowingN(const char* Metric, double MinTolerance, double MaxTolerance, Hlong MinSize) const;
- #ifdef _WIN32
- // Segment an image using regiongrowing for multi-channel images.
- HRegion RegiongrowingN(const wchar_t* Metric, double MinTolerance, double MaxTolerance, Hlong MinSize) const;
- #endif
- // Segment an image using regiongrowing.
- HRegion Regiongrowing(Hlong RasterHeight, Hlong RasterWidth, const HTuple& Tolerance, Hlong MinSize) const;
- // Segment an image using regiongrowing.
- HRegion Regiongrowing(Hlong RasterHeight, Hlong RasterWidth, double Tolerance, Hlong MinSize) const;
- // Perform a regiongrowing using mean gray values.
- HRegion RegiongrowingMean(const HTuple& StartRows, const HTuple& StartColumns, double Tolerance, Hlong MinSize) const;
- // Perform a regiongrowing using mean gray values.
- HRegion RegiongrowingMean(Hlong StartRows, Hlong StartColumns, double Tolerance, Hlong MinSize) const;
- // Segment an image by "pouring water" over it.
- HRegion Pouring(const HString& Mode, Hlong MinGray, Hlong MaxGray) const;
- // Segment an image by "pouring water" over it.
- HRegion Pouring(const char* Mode, Hlong MinGray, Hlong MaxGray) const;
- #ifdef _WIN32
- // Segment an image by "pouring water" over it.
- HRegion Pouring(const wchar_t* Mode, Hlong MinGray, Hlong MaxGray) const;
- #endif
- // Extract watershed basins from an image using a threshold.
- HRegion WatershedsThreshold(const HTuple& Threshold) const;
- // Extract watershed basins from an image using a threshold.
- HRegion WatershedsThreshold(Hlong Threshold) const;
- // Extract watersheds and basins from an image.
- HRegion Watersheds(HRegion* Watersheds) const;
- // Extract zero crossings from an image.
- HRegion ZeroCrossing() const;
- // Extract zero crossings from an image with subpixel accuracy.
- HXLDCont ZeroCrossingSubPix() const;
- // Threshold operator for signed images.
- HRegion DualThreshold(Hlong MinSize, double MinGray, double Threshold) const;
- // Expand a region starting at a given line.
- HRegion ExpandLine(Hlong Coordinate, const HString& ExpandType, const HString& RowColumn, const HTuple& Threshold) const;
- // Expand a region starting at a given line.
- HRegion ExpandLine(Hlong Coordinate, const HString& ExpandType, const HString& RowColumn, double Threshold) const;
- // Expand a region starting at a given line.
- HRegion ExpandLine(Hlong Coordinate, const char* ExpandType, const char* RowColumn, double Threshold) const;
- #ifdef _WIN32
- // Expand a region starting at a given line.
- HRegion ExpandLine(Hlong Coordinate, const wchar_t* ExpandType, const wchar_t* RowColumn, double Threshold) const;
- #endif
- // Detect all local minima in an image.
- HRegion LocalMin() const;
- // Detect all gray value lowlands.
- HRegion Lowlands() const;
- // Detect the centers of all gray value lowlands.
- HRegion LowlandsCenter() const;
- // Detect all local maxima in an image.
- HRegion LocalMax() const;
- // Detect all gray value plateaus.
- HRegion Plateaus() const;
- // Detect the centers of all gray value plateaus.
- HRegion PlateausCenter() const;
- // Segment an image using thresholds determined from its histogram.
- HRegion AutoThreshold(const HTuple& Sigma) const;
- // Segment an image using thresholds determined from its histogram.
- HRegion AutoThreshold(double Sigma) const;
- // Segment an image using an automatically determined threshold.
- HRegion BinThreshold() const;
- // Fast thresholding of images using global thresholds.
- HRegion FastThreshold(const HTuple& MinGray, const HTuple& MaxGray, Hlong MinSize) const;
- // Fast thresholding of images using global thresholds.
- HRegion FastThreshold(double MinGray, double MaxGray, Hlong MinSize) const;
- // Fill gaps between regions (depending on gray value or color) or split overlapping regions.
- HRegion ExpandGray(const HRegion& Regions, const HRegion& ForbiddenArea, const HTuple& Iterations, const HString& Mode, const HTuple& Threshold) const;
- // Fill gaps between regions (depending on gray value or color) or split overlapping regions.
- HRegion ExpandGray(const HRegion& Regions, const HRegion& ForbiddenArea, const HString& Iterations, const HString& Mode, Hlong Threshold) const;
- // Fill gaps between regions (depending on gray value or color) or split overlapping regions.
- HRegion ExpandGray(const HRegion& Regions, const HRegion& ForbiddenArea, const char* Iterations, const char* Mode, Hlong Threshold) const;
- #ifdef _WIN32
- // Fill gaps between regions (depending on gray value or color) or split overlapping regions.
- HRegion ExpandGray(const HRegion& Regions, const HRegion& ForbiddenArea, const wchar_t* Iterations, const wchar_t* Mode, Hlong Threshold) const;
- #endif
- // Fill gaps between regions (depending on gray value or color) or split overlapping regions.
- HRegion ExpandGrayRef(const HRegion& Regions, const HRegion& ForbiddenArea, const HTuple& Iterations, const HString& Mode, const HTuple& RefGray, const HTuple& Threshold) const;
- // Fill gaps between regions (depending on gray value or color) or split overlapping regions.
- HRegion ExpandGrayRef(const HRegion& Regions, const HRegion& ForbiddenArea, const HString& Iterations, const HString& Mode, Hlong RefGray, Hlong Threshold) const;
- // Fill gaps between regions (depending on gray value or color) or split overlapping regions.
- HRegion ExpandGrayRef(const HRegion& Regions, const HRegion& ForbiddenArea, const char* Iterations, const char* Mode, Hlong RefGray, Hlong Threshold) const;
- #ifdef _WIN32
- // Fill gaps between regions (depending on gray value or color) or split overlapping regions.
- HRegion ExpandGrayRef(const HRegion& Regions, const HRegion& ForbiddenArea, const wchar_t* Iterations, const wchar_t* Mode, Hlong RefGray, Hlong Threshold) const;
- #endif
- // Calculate the difference of two object tuples.
- HImage ObjDiff(const HImage& ObjectsSub) const;
- // Set single gray values in an image.
- void SetGrayval(const HTuple& Row, const HTuple& Column, const HTuple& Grayval) const;
- // Set single gray values in an image.
- void SetGrayval(Hlong Row, Hlong Column, double Grayval) const;
- // Paint XLD objects into an image.
- HImage PaintXld(const HXLD& XLD, const HTuple& Grayval) const;
- // Paint XLD objects into an image.
- HImage PaintXld(const HXLD& XLD, double Grayval) const;
- // Paint regions into an image.
- HImage PaintRegion(const HRegion& Region, const HTuple& Grayval, const HString& Type) const;
- // Paint regions into an image.
- HImage PaintRegion(const HRegion& Region, double Grayval, const HString& Type) const;
- // Paint regions into an image.
- HImage PaintRegion(const HRegion& Region, double Grayval, const char* Type) const;
- #ifdef _WIN32
- // Paint regions into an image.
- HImage PaintRegion(const HRegion& Region, double Grayval, const wchar_t* Type) const;
- #endif
- // Overpaint regions in an image.
- void OverpaintRegion(const HRegion& Region, const HTuple& Grayval, const HString& Type) const;
- // Overpaint regions in an image.
- void OverpaintRegion(const HRegion& Region, double Grayval, const HString& Type) const;
- // Overpaint regions in an image.
- void OverpaintRegion(const HRegion& Region, double Grayval, const char* Type) const;
- #ifdef _WIN32
- // Overpaint regions in an image.
- void OverpaintRegion(const HRegion& Region, double Grayval, const wchar_t* Type) const;
- #endif
- // Create an image with a specified constant gray value.
- HImage GenImageProto(const HTuple& Grayval) const;
- // Create an image with a specified constant gray value.
- HImage GenImageProto(double Grayval) const;
- // Paint the gray values of an image into another image.
- HImage PaintGray(const HImage& ImageDestination) const;
- // Overpaint the gray values of an image.
- void OverpaintGray(const HImage& ImageSource) const;
- // Copy an iconic object in the HALCON database.
- HImage CopyObj(Hlong Index, Hlong NumObj) const;
- // Concatenate two iconic object tuples.
- HImage ConcatObj(const HImage& Objects2) const;
- // Copy an image and allocate new memory for it.
- HImage CopyImage() const;
- // Select objects from an object tuple.
- HImage SelectObj(const HTuple& Index) const;
- // Select objects from an object tuple.
- HImage SelectObj(Hlong Index) const;
- // Compare iconic objects regarding equality.
- Hlong CompareObj(const HImage& Objects2, const HTuple& Epsilon) const;
- // Compare iconic objects regarding equality.
- Hlong CompareObj(const HImage& Objects2, double Epsilon) const;
- // Compare image objects regarding equality.
- Hlong TestEqualObj(const HImage& Objects2) const;
- // Create a three-channel image from a pointer to the interleaved pixels.
- void GenImageInterleaved(void* PixelPointer, const HString& ColorFormat, Hlong OriginalWidth, Hlong OriginalHeight, Hlong Alignment, const HString& Type, Hlong ImageWidth, Hlong ImageHeight, Hlong StartRow, Hlong StartColumn, Hlong BitsPerChannel, Hlong BitShift);
- // Create a three-channel image from a pointer to the interleaved pixels.
- void GenImageInterleaved(void* PixelPointer, const char* ColorFormat, Hlong OriginalWidth, Hlong OriginalHeight, Hlong Alignment, const char* Type, Hlong ImageWidth, Hlong ImageHeight, Hlong StartRow, Hlong StartColumn, Hlong BitsPerChannel, Hlong BitShift);
- #ifdef _WIN32
- // Create a three-channel image from a pointer to the interleaved pixels.
- void GenImageInterleaved(void* PixelPointer, const wchar_t* ColorFormat, Hlong OriginalWidth, Hlong OriginalHeight, Hlong Alignment, const wchar_t* Type, Hlong ImageWidth, Hlong ImageHeight, Hlong StartRow, Hlong StartColumn, Hlong BitsPerChannel, Hlong BitShift);
- #endif
- // Create an image from three pointers to the pixels (red/green/blue).
- void GenImage3(const HString& Type, Hlong Width, Hlong Height, void* PixelPointerRed, void* PixelPointerGreen, void* PixelPointerBlue);
- // Create an image from three pointers to the pixels (red/green/blue).
- void GenImage3(const char* Type, Hlong Width, Hlong Height, void* PixelPointerRed, void* PixelPointerGreen, void* PixelPointerBlue);
- #ifdef _WIN32
- // Create an image from three pointers to the pixels (red/green/blue).
- void GenImage3(const wchar_t* Type, Hlong Width, Hlong Height, void* PixelPointerRed, void* PixelPointerGreen, void* PixelPointerBlue);
- #endif
- // Create an image from a pointer to the pixels.
- void GenImage1(const HString& Type, Hlong Width, Hlong Height, void* PixelPointer);
- // Create an image from a pointer to the pixels.
- void GenImage1(const char* Type, Hlong Width, Hlong Height, void* PixelPointer);
- #ifdef _WIN32
- // Create an image from a pointer to the pixels.
- void GenImage1(const wchar_t* Type, Hlong Width, Hlong Height, void* PixelPointer);
- #endif
- // Create an image with constant gray value.
- void GenImageConst(const HString& Type, Hlong Width, Hlong Height);
- // Create an image with constant gray value.
- void GenImageConst(const char* Type, Hlong Width, Hlong Height);
- #ifdef _WIN32
- // Create an image with constant gray value.
- void GenImageConst(const wchar_t* Type, Hlong Width, Hlong Height);
- #endif
- // Create a gray value ramp.
- void GenImageGrayRamp(double Alpha, double Beta, double Mean, Hlong Row, Hlong Column, Hlong Width, Hlong Height);
- // Create a three-channel image from three pointers on the pixels with storage management.
- void GenImage3Extern(const HString& Type, Hlong Width, Hlong Height, void* PointerRed, void* PointerGreen, void* PointerBlue, void* ClearProc);
- // Create a three-channel image from three pointers on the pixels with storage management.
- void GenImage3Extern(const char* Type, Hlong Width, Hlong Height, void* PointerRed, void* PointerGreen, void* PointerBlue, void* ClearProc);
- #ifdef _WIN32
- // Create a three-channel image from three pointers on the pixels with storage management.
- void GenImage3Extern(const wchar_t* Type, Hlong Width, Hlong Height, void* PointerRed, void* PointerGreen, void* PointerBlue, void* ClearProc);
- #endif
- // Create an image from a pointer on the pixels with storage management.
- void GenImage1Extern(const HString& Type, Hlong Width, Hlong Height, void* PixelPointer, void* ClearProc);
- // Create an image from a pointer on the pixels with storage management.
- void GenImage1Extern(const char* Type, Hlong Width, Hlong Height, void* PixelPointer, void* ClearProc);
- #ifdef _WIN32
- // Create an image from a pointer on the pixels with storage management.
- void GenImage1Extern(const wchar_t* Type, Hlong Width, Hlong Height, void* PixelPointer, void* ClearProc);
- #endif
- // Create an image with a rectangular domain from a pointer on the pixels (with storage management).
- void GenImage1Rect(void* PixelPointer, Hlong Width, Hlong Height, Hlong VerticalPitch, Hlong HorizontalBitPitch, Hlong BitsPerPixel, const HString& DoCopy, void* ClearProc);
- // Create an image with a rectangular domain from a pointer on the pixels (with storage management).
- void GenImage1Rect(void* PixelPointer, Hlong Width, Hlong Height, Hlong VerticalPitch, Hlong HorizontalBitPitch, Hlong BitsPerPixel, const char* DoCopy, void* ClearProc);
- #ifdef _WIN32
- // Create an image with a rectangular domain from a pointer on the pixels (with storage management).
- void GenImage1Rect(void* PixelPointer, Hlong Width, Hlong Height, Hlong VerticalPitch, Hlong HorizontalBitPitch, Hlong BitsPerPixel, const wchar_t* DoCopy, void* ClearProc);
- #endif
- // Access to the image data pointer and the image data inside the smallest rectangle of the domain of the input image.
- void* GetImagePointer1Rect(Hlong* Width, Hlong* Height, Hlong* VerticalPitch, Hlong* HorizontalBitPitch, Hlong* BitsPerPixel) const;
- // Access the pointers of a colored image.
- void GetImagePointer3(HTuple* PointerRed, HTuple* PointerGreen, HTuple* PointerBlue, HTuple* Type, HTuple* Width, HTuple* Height) const;
- // Access the pointers of a colored image.
- void GetImagePointer3(void** PointerRed, void** PointerGreen, void** PointerBlue, HString* Type, Hlong* Width, Hlong* Height) const;
- // Access the pointer of a channel.
- HTuple GetImagePointer1(HTuple* Type, HTuple* Width, HTuple* Height) const;
- // Access the pointer of a channel.
- void* GetImagePointer1(HString* Type, Hlong* Width, Hlong* Height) const;
- // Return the type of an image.
- HTuple GetImageType() const;
- // Return the size of an image.
- void GetImageSize(HTuple* Width, HTuple* Height) const;
- // Return the size of an image.
- void GetImageSize(Hlong* Width, Hlong* Height) const;
- // Request time at which the image was created.
- Hlong GetImageTime(Hlong* Second, Hlong* Minute, Hlong* Hour, Hlong* Day, Hlong* YDay, Hlong* Month, Hlong* Year) const;
- // Return gray values of an image at the positions given by tuples of rows and columns.
- HTuple GetGrayvalInterpolated(const HTuple& Row, const HTuple& Column, const HString& Interpolation) const;
- // Return gray values of an image at the positions given by tuples of rows and columns.
- double GetGrayvalInterpolated(double Row, double Column, const HString& Interpolation) const;
- // Return gray values of an image at the positions given by tuples of rows and columns.
- double GetGrayvalInterpolated(double Row, double Column, const char* Interpolation) const;
- #ifdef _WIN32
- // Return gray values of an image at the positions given by tuples of rows and columns.
- double GetGrayvalInterpolated(double Row, double Column, const wchar_t* Interpolation) const;
- #endif
- // Access the gray values of an image object.
- HTuple GetGrayval(const HTuple& Row, const HTuple& Column) const;
- // Access the gray values of an image object.
- HTuple GetGrayval(Hlong Row, Hlong Column) const;
- // Verification of a pattern using an OCV tool.
- HTuple DoOcvSimple(const HOCV& OCVHandle, const HTuple& PatternName, const HString& AdaptPos, const HString& AdaptSize, const HString& AdaptAngle, const HString& AdaptGray, double Threshold) const;
- // Verification of a pattern using an OCV tool.
- double DoOcvSimple(const HOCV& OCVHandle, const HString& PatternName, const HString& AdaptPos, const HString& AdaptSize, const HString& AdaptAngle, const HString& AdaptGray, double Threshold) const;
- // Verification of a pattern using an OCV tool.
- double DoOcvSimple(const HOCV& OCVHandle, const char* PatternName, const char* AdaptPos, const char* AdaptSize, const char* AdaptAngle, const char* AdaptGray, double Threshold) const;
- #ifdef _WIN32
- // Verification of a pattern using an OCV tool.
- double DoOcvSimple(const HOCV& OCVHandle, const wchar_t* PatternName, const wchar_t* AdaptPos, const wchar_t* AdaptSize, const wchar_t* AdaptAngle, const wchar_t* AdaptGray, double Threshold) const;
- #endif
- // Training of an OCV tool.
- void TraindOcvProj(const HOCV& OCVHandle, const HTuple& Name, const HString& Mode) const;
- // Training of an OCV tool.
- void TraindOcvProj(const HOCV& OCVHandle, const HString& Name, const HString& Mode) const;
- // Training of an OCV tool.
- void TraindOcvProj(const HOCV& OCVHandle, const char* Name, const char* Mode) const;
- #ifdef _WIN32
- // Training of an OCV tool.
- void TraindOcvProj(const HOCV& OCVHandle, const wchar_t* Name, const wchar_t* Mode) const;
- #endif
- // Compute the features of a character.
- HTuple GetFeaturesOcrClassKnn(const HOCRKnn& OCRHandle, const HString& Transform) const;
- // Compute the features of a character.
- HTuple GetFeaturesOcrClassKnn(const HOCRKnn& OCRHandle, const char* Transform) const;
- #ifdef _WIN32
- // Compute the features of a character.
- HTuple GetFeaturesOcrClassKnn(const HOCRKnn& OCRHandle, const wchar_t* Transform) const;
- #endif
- // Compute the features of a character.
- HTuple GetFeaturesOcrClassSvm(const HOCRSvm& OCRHandle, const HString& Transform) const;
- // Compute the features of a character.
- HTuple GetFeaturesOcrClassSvm(const HOCRSvm& OCRHandle, const char* Transform) const;
- #ifdef _WIN32
- // Compute the features of a character.
- HTuple GetFeaturesOcrClassSvm(const HOCRSvm& OCRHandle, const wchar_t* Transform) const;
- #endif
- // Compute the features of a character.
- HTuple GetFeaturesOcrClassMlp(const HOCRMlp& OCRHandle, const HString& Transform) const;
- // Compute the features of a character.
- HTuple GetFeaturesOcrClassMlp(const HOCRMlp& OCRHandle, const char* Transform) const;
- #ifdef _WIN32
- // Compute the features of a character.
- HTuple GetFeaturesOcrClassMlp(const HOCRMlp& OCRHandle, const wchar_t* Transform) const;
- #endif
- // Cut out an image area relative to the domain.
- HImage CropDomainRel(Hlong Top, Hlong Left, Hlong Bottom, Hlong Right) const;
- // Access the features which correspond to a character.
- HTuple OcrGetFeatures(const HOCRBox& OcrHandle) const;
- // Write characters into a training file.
- void WriteOcrTrainfImage(const HTuple& Class, const HString& TrainingFile) const;
- // Write characters into a training file.
- void WriteOcrTrainfImage(const HString& Class, const HString& TrainingFile) const;
- // Write characters into a training file.
- void WriteOcrTrainfImage(const char* Class, const char* TrainingFile) const;
- #ifdef _WIN32
- // Write characters into a training file.
- void WriteOcrTrainfImage(const wchar_t* Class, const wchar_t* TrainingFile) const;
- #endif
- // Read training specific characters from files and convert to images.
- HTuple ReadOcrTrainfSelect(const HTuple& TrainingFile, const HTuple& SearchNames);
- // Read training specific characters from files and convert to images.
- HString ReadOcrTrainfSelect(const HString& TrainingFile, const HString& SearchNames);
- // Read training specific characters from files and convert to images.
- HString ReadOcrTrainfSelect(const char* TrainingFile, const char* SearchNames);
- #ifdef _WIN32
- // Read training specific characters from files and convert to images.
- HString ReadOcrTrainfSelect(const wchar_t* TrainingFile, const wchar_t* SearchNames);
- #endif
- // Read training characters from files and convert to images.
- HTuple ReadOcrTrainf(const HTuple& TrainingFile);
- // Read training characters from files and convert to images.
- HTuple ReadOcrTrainf(const HString& TrainingFile);
- // Read training characters from files and convert to images.
- HTuple ReadOcrTrainf(const char* TrainingFile);
- #ifdef _WIN32
- // Read training characters from files and convert to images.
- HTuple ReadOcrTrainf(const wchar_t* TrainingFile);
- #endif
- // Perform a gray value bottom hat transformation on an image.
- HImage GrayBothat(const HImage& SE) const;
- // Perform a gray value top hat transformation on an image.
- HImage GrayTophat(const HImage& SE) const;
- // Perform a gray value closing on an image.
- HImage GrayClosing(const HImage& SE) const;
- // Perform a gray value opening on an image.
- HImage GrayOpening(const HImage& SE) const;
- // Perform a gray value dilation on an image.
- HImage GrayDilation(const HImage& SE) const;
- // Perform a gray value erosion on an image.
- HImage GrayErosion(const HImage& SE) const;
- // Load a structuring element for gray morphology.
- void ReadGraySe(const HString& FileName);
- // Load a structuring element for gray morphology.
- void ReadGraySe(const char* FileName);
- #ifdef _WIN32
- // Load a structuring element for gray morphology.
- void ReadGraySe(const wchar_t* FileName);
- #endif
- // Generate ellipsoidal structuring elements for gray morphology.
- void GenDiscSe(const HString& Type, Hlong Width, Hlong Height, const HTuple& Smax);
- // Generate ellipsoidal structuring elements for gray morphology.
- void GenDiscSe(const HString& Type, Hlong Width, Hlong Height, double Smax);
- // Generate ellipsoidal structuring elements for gray morphology.
- void GenDiscSe(const char* Type, Hlong Width, Hlong Height, double Smax);
- #ifdef _WIN32
- // Generate ellipsoidal structuring elements for gray morphology.
- void GenDiscSe(const wchar_t* Type, Hlong Width, Hlong Height, double Smax);
- #endif
- // Extracting points with a particular gray value along a rectangle or an annular arc.
- void MeasureThresh(const HMeasure& MeasureHandle, double Sigma, double Threshold, const HString& Select, HTuple* RowThresh, HTuple* ColumnThresh, HTuple* Distance) const;
- // Extracting points with a particular gray value along a rectangle or an annular arc.
- void MeasureThresh(const HMeasure& MeasureHandle, double Sigma, double Threshold, const char* Select, HTuple* RowThresh, HTuple* ColumnThresh, HTuple* Distance) const;
- #ifdef _WIN32
- // Extracting points with a particular gray value along a rectangle or an annular arc.
- void MeasureThresh(const HMeasure& MeasureHandle, double Sigma, double Threshold, const wchar_t* Select, HTuple* RowThresh, HTuple* ColumnThresh, HTuple* Distance) const;
- #endif
- // Extract a gray value profile perpendicular to a rectangle or annular arc.
- HTuple MeasureProjection(const HMeasure& MeasureHandle) const;
- // Extract straight edge pairs perpendicular to a rectangle or an annular arc.
- void FuzzyMeasurePairing(const HMeasure& MeasureHandle, double Sigma, double AmpThresh, double FuzzyThresh, const HString& Transition, const HString& Pairing, Hlong NumPairs, HTuple* RowEdgeFirst, HTuple* ColumnEdgeFirst, HTuple* AmplitudeFirst, HTuple* RowEdgeSecond, HTuple* ColumnEdgeSecond, HTuple* AmplitudeSecond, HTuple* RowPairCenter, HTuple* ColumnPairCenter, HTuple* FuzzyScore, HTuple* IntraDistance) const;
- // Extract straight edge pairs perpendicular to a rectangle or an annular arc.
- void FuzzyMeasurePairing(const HMeasure& MeasureHandle, double Sigma, double AmpThresh, double FuzzyThresh, const char* Transition, const char* Pairing, Hlong NumPairs, HTuple* RowEdgeFirst, HTuple* ColumnEdgeFirst, HTuple* AmplitudeFirst, HTuple* RowEdgeSecond, HTuple* ColumnEdgeSecond, HTuple* AmplitudeSecond, HTuple* RowPairCenter, HTuple* ColumnPairCenter, HTuple* FuzzyScore, HTuple* IntraDistance) const;
- #ifdef _WIN32
- // Extract straight edge pairs perpendicular to a rectangle or an annular arc.
- void FuzzyMeasurePairing(const HMeasure& MeasureHandle, double Sigma, double AmpThresh, double FuzzyThresh, const wchar_t* Transition, const wchar_t* Pairing, Hlong NumPairs, HTuple* RowEdgeFirst, HTuple* ColumnEdgeFirst, HTuple* AmplitudeFirst, HTuple* RowEdgeSecond, HTuple* ColumnEdgeSecond, HTuple* AmplitudeSecond, HTuple* RowPairCenter, HTuple* ColumnPairCenter, HTuple* FuzzyScore, HTuple* IntraDistance) const;
- #endif
- // Extract straight edge pairs perpendicular to a rectangle or an annular arc.
- void FuzzyMeasurePairs(const HMeasure& MeasureHandle, double Sigma, double AmpThresh, double FuzzyThresh, const HString& Transition, HTuple* RowEdgeFirst, HTuple* ColumnEdgeFirst, HTuple* AmplitudeFirst, HTuple* RowEdgeSecond, HTuple* ColumnEdgeSecond, HTuple* AmplitudeSecond, HTuple* RowEdgeCenter, HTuple* ColumnEdgeCenter, HTuple* FuzzyScore, HTuple* IntraDistance, HTuple* InterDistance) const;
- // Extract straight edge pairs perpendicular to a rectangle or an annular arc.
- void FuzzyMeasurePairs(const HMeasure& MeasureHandle, double Sigma, double AmpThresh, double FuzzyThresh, const char* Transition, HTuple* RowEdgeFirst, HTuple* ColumnEdgeFirst, HTuple* AmplitudeFirst, HTuple* RowEdgeSecond, HTuple* ColumnEdgeSecond, HTuple* AmplitudeSecond, HTuple* RowEdgeCenter, HTuple* ColumnEdgeCenter, HTuple* FuzzyScore, HTuple* IntraDistance, HTuple* InterDistance) const;
- #ifdef _WIN32
- // Extract straight edge pairs perpendicular to a rectangle or an annular arc.
- void FuzzyMeasurePairs(const HMeasure& MeasureHandle, double Sigma, double AmpThresh, double FuzzyThresh, const wchar_t* Transition, HTuple* RowEdgeFirst, HTuple* ColumnEdgeFirst, HTuple* AmplitudeFirst, HTuple* RowEdgeSecond, HTuple* ColumnEdgeSecond, HTuple* AmplitudeSecond, HTuple* RowEdgeCenter, HTuple* ColumnEdgeCenter, HTuple* FuzzyScore, HTuple* IntraDistance, HTuple* InterDistance) const;
- #endif
- // Extract straight edges perpendicular to a rectangle or an annular arc.
- void FuzzyMeasurePos(const HMeasure& MeasureHandle, double Sigma, double AmpThresh, double FuzzyThresh, const HString& Transition, HTuple* RowEdge, HTuple* ColumnEdge, HTuple* Amplitude, HTuple* FuzzyScore, HTuple* Distance) const;
- // Extract straight edges perpendicular to a rectangle or an annular arc.
- void FuzzyMeasurePos(const HMeasure& MeasureHandle, double Sigma, double AmpThresh, double FuzzyThresh, const char* Transition, HTuple* RowEdge, HTuple* ColumnEdge, HTuple* Amplitude, HTuple* FuzzyScore, HTuple* Distance) const;
- #ifdef _WIN32
- // Extract straight edges perpendicular to a rectangle or an annular arc.
- void FuzzyMeasurePos(const HMeasure& MeasureHandle, double Sigma, double AmpThresh, double FuzzyThresh, const wchar_t* Transition, HTuple* RowEdge, HTuple* ColumnEdge, HTuple* Amplitude, HTuple* FuzzyScore, HTuple* Distance) const;
- #endif
- // Extract straight edge pairs perpendicular to a rectangle or annular arc.
- void MeasurePairs(const HMeasure& MeasureHandle, double Sigma, double Threshold, const HString& Transition, const HString& Select, HTuple* RowEdgeFirst, HTuple* ColumnEdgeFirst, HTuple* AmplitudeFirst, HTuple* RowEdgeSecond, HTuple* ColumnEdgeSecond, HTuple* AmplitudeSecond, HTuple* IntraDistance, HTuple* InterDistance) const;
- // Extract straight edge pairs perpendicular to a rectangle or annular arc.
- void MeasurePairs(const HMeasure& MeasureHandle, double Sigma, double Threshold, const char* Transition, const char* Select, HTuple* RowEdgeFirst, HTuple* ColumnEdgeFirst, HTuple* AmplitudeFirst, HTuple* RowEdgeSecond, HTuple* ColumnEdgeSecond, HTuple* AmplitudeSecond, HTuple* IntraDistance, HTuple* InterDistance) const;
- #ifdef _WIN32
- // Extract straight edge pairs perpendicular to a rectangle or annular arc.
- void MeasurePairs(const HMeasure& MeasureHandle, double Sigma, double Threshold, const wchar_t* Transition, const wchar_t* Select, HTuple* RowEdgeFirst, HTuple* ColumnEdgeFirst, HTuple* AmplitudeFirst, HTuple* RowEdgeSecond, HTuple* ColumnEdgeSecond, HTuple* AmplitudeSecond, HTuple* IntraDistance, HTuple* InterDistance) const;
- #endif
- // Extract straight edges perpendicular to a rectangle or annular arc.
- void MeasurePos(const HMeasure& MeasureHandle, double Sigma, double Threshold, const HString& Transition, const HString& Select, HTuple* RowEdge, HTuple* ColumnEdge, HTuple* Amplitude, HTuple* Distance) const;
- // Extract straight edges perpendicular to a rectangle or annular arc.
- void MeasurePos(const HMeasure& MeasureHandle, double Sigma, double Threshold, const char* Transition, const char* Select, HTuple* RowEdge, HTuple* ColumnEdge, HTuple* Amplitude, HTuple* Distance) const;
- #ifdef _WIN32
- // Extract straight edges perpendicular to a rectangle or annular arc.
- void MeasurePos(const HMeasure& MeasureHandle, double Sigma, double Threshold, const wchar_t* Transition, const wchar_t* Select, HTuple* RowEdge, HTuple* ColumnEdge, HTuple* Amplitude, HTuple* Distance) const;
- #endif
- // Identify objects with a sample identifier.
- HTuple ApplySampleIdentifier(const HSampleIdentifier& SampleIdentifier, Hlong NumResults, double RatingThreshold, const HTuple& GenParamName, const HTuple& GenParamValue, HTuple* Rating) const;
- // Identify objects with a sample identifier.
- Hlong ApplySampleIdentifier(const HSampleIdentifier& SampleIdentifier, Hlong NumResults, double RatingThreshold, const HTuple& GenParamName, const HTuple& GenParamValue, double* Rating) const;
- // Add training data to an existing sample identifier.
- Hlong AddSampleIdentifierTrainingData(const HSampleIdentifier& SampleIdentifier, const HTuple& ObjectIdx, const HTuple& GenParamName, const HTuple& GenParamValue) const;
- // Add training data to an existing sample identifier.
- Hlong AddSampleIdentifierTrainingData(const HSampleIdentifier& SampleIdentifier, Hlong ObjectIdx, const HTuple& GenParamName, const HTuple& GenParamValue) const;
- // Add preparation data to an existing sample identifier.
- Hlong AddSampleIdentifierPreparationData(const HSampleIdentifier& SampleIdentifier, const HTuple& ObjectIdx, const HTuple& GenParamName, const HTuple& GenParamValue) const;
- // Add preparation data to an existing sample identifier.
- Hlong AddSampleIdentifierPreparationData(const HSampleIdentifier& SampleIdentifier, Hlong ObjectIdx, const HTuple& GenParamName, const HTuple& GenParamValue) const;
- // Determine the parameters of a shape model.
- HTuple DetermineShapeModelParams(const HTuple& NumLevels, double AngleStart, double AngleExtent, const HTuple& ScaleMin, const HTuple& ScaleMax, const HString& Optimization, const HString& Metric, const HTuple& Contrast, const HTuple& MinContrast, const HTuple& Parameters, HTuple* ParameterValue) const;
- // Determine the parameters of a shape model.
- HTuple DetermineShapeModelParams(Hlong NumLevels, double AngleStart, double AngleExtent, double ScaleMin, double ScaleMax, const HString& Optimization, const HString& Metric, Hlong Contrast, Hlong MinContrast, const HString& Parameters, HTuple* ParameterValue) const;
- // Determine the parameters of a shape model.
- HTuple DetermineShapeModelParams(Hlong NumLevels, double AngleStart, double AngleExtent, double ScaleMin, double ScaleMax, const char* Optimization, const char* Metric, Hlong Contrast, Hlong MinContrast, const char* Parameters, HTuple* ParameterValue) const;
- #ifdef _WIN32
- // Determine the parameters of a shape model.
- HTuple DetermineShapeModelParams(Hlong NumLevels, double AngleStart, double AngleExtent, double ScaleMin, double ScaleMax, const wchar_t* Optimization, const wchar_t* Metric, Hlong Contrast, Hlong MinContrast, const wchar_t* Parameters, HTuple* ParameterValue) const;
- #endif
- // Find the best matches of multiple anisotropically scaled shape models.
- void FindAnisoShapeModels(const HShapeModelArray& ModelIDs, const HTuple& AngleStart, const HTuple& AngleExtent, const HTuple& ScaleRMin, const HTuple& ScaleRMax, const HTuple& ScaleCMin, const HTuple& ScaleCMax, const HTuple& MinScore, const HTuple& NumMatches, const HTuple& MaxOverlap, const HTuple& SubPixel, const HTuple& NumLevels, const HTuple& Greediness, HTuple* Row, HTuple* Column, HTuple* Angle, HTuple* ScaleR, HTuple* ScaleC, HTuple* Score, HTuple* Model) const;
- // Find the best matches of multiple anisotropically scaled shape models.
- void FindAnisoShapeModels(const HShapeModel& ModelIDs, double AngleStart, double AngleExtent, double ScaleRMin, double ScaleRMax, double ScaleCMin, double ScaleCMax, double MinScore, Hlong NumMatches, double MaxOverlap, const HString& SubPixel, Hlong NumLevels, double Greediness, HTuple* Row, HTuple* Column, HTuple* Angle, HTuple* ScaleR, HTuple* ScaleC, HTuple* Score, HTuple* Model) const;
- // Find the best matches of multiple anisotropically scaled shape models.
- void FindAnisoShapeModels(const HShapeModel& ModelIDs, double AngleStart, double AngleExtent, double ScaleRMin, double ScaleRMax, double ScaleCMin, double ScaleCMax, double MinScore, Hlong NumMatches, double MaxOverlap, const char* SubPixel, Hlong NumLevels, double Greediness, HTuple* Row, HTuple* Column, HTuple* Angle, HTuple* ScaleR, HTuple* ScaleC, HTuple* Score, HTuple* Model) const;
- #ifdef _WIN32
- // Find the best matches of multiple anisotropically scaled shape models.
- void FindAnisoShapeModels(const HShapeModel& ModelIDs, double AngleStart, double AngleExtent, double ScaleRMin, double ScaleRMax, double ScaleCMin, double ScaleCMax, double MinScore, Hlong NumMatches, double MaxOverlap, const wchar_t* SubPixel, Hlong NumLevels, double Greediness, HTuple* Row, HTuple* Column, HTuple* Angle, HTuple* ScaleR, HTuple* ScaleC, HTuple* Score, HTuple* Model) const;
- #endif
- // Find the best matches of multiple isotropically scaled shape models.
- void FindScaledShapeModels(const HShapeModelArray& ModelIDs, const HTuple& AngleStart, const HTuple& AngleExtent, const HTuple& ScaleMin, const HTuple& ScaleMax, const HTuple& MinScore, const HTuple& NumMatches, const HTuple& MaxOverlap, const HTuple& SubPixel, const HTuple& NumLevels, const HTuple& Greediness, HTuple* Row, HTuple* Column, HTuple* Angle, HTuple* Scale, HTuple* Score, HTuple* Model) const;
- // Find the best matches of multiple isotropically scaled shape models.
- void FindScaledShapeModels(const HShapeModel& ModelIDs, double AngleStart, double AngleExtent, double ScaleMin, double ScaleMax, double MinScore, Hlong NumMatches, double MaxOverlap, const HString& SubPixel, Hlong NumLevels, double Greediness, HTuple* Row, HTuple* Column, HTuple* Angle, HTuple* Scale, HTuple* Score, HTuple* Model) const;
- // Find the best matches of multiple isotropically scaled shape models.
- void FindScaledShapeModels(const HShapeModel& ModelIDs, double AngleStart, double AngleExtent, double ScaleMin, double ScaleMax, double MinScore, Hlong NumMatches, double MaxOverlap, const char* SubPixel, Hlong NumLevels, double Greediness, HTuple* Row, HTuple* Column, HTuple* Angle, HTuple* Scale, HTuple* Score, HTuple* Model) const;
- #ifdef _WIN32
- // Find the best matches of multiple isotropically scaled shape models.
- void FindScaledShapeModels(const HShapeModel& ModelIDs, double AngleStart, double AngleExtent, double ScaleMin, double ScaleMax, double MinScore, Hlong NumMatches, double MaxOverlap, const wchar_t* SubPixel, Hlong NumLevels, double Greediness, HTuple* Row, HTuple* Column, HTuple* Angle, HTuple* Scale, HTuple* Score, HTuple* Model) const;
- #endif
- // Find the best matches of multiple shape models.
- void FindShapeModels(const HShapeModelArray& ModelIDs, const HTuple& AngleStart, const HTuple& AngleExtent, const HTuple& MinScore, const HTuple& NumMatches, const HTuple& MaxOverlap, const HTuple& SubPixel, const HTuple& NumLevels, const HTuple& Greediness, HTuple* Row, HTuple* Column, HTuple* Angle, HTuple* Score, HTuple* Model) const;
- // Find the best matches of multiple shape models.
- void FindShapeModels(const HShapeModel& ModelIDs, double AngleStart, double AngleExtent, double MinScore, Hlong NumMatches, double MaxOverlap, const HString& SubPixel, Hlong NumLevels, double Greediness, HTuple* Row, HTuple* Column, HTuple* Angle, HTuple* Score, HTuple* Model) const;
- // Find the best matches of multiple shape models.
- void FindShapeModels(const HShapeModel& ModelIDs, double AngleStart, double AngleExtent, double MinScore, Hlong NumMatches, double MaxOverlap, const char* SubPixel, Hlong NumLevels, double Greediness, HTuple* Row, HTuple* Column, HTuple* Angle, HTuple* Score, HTuple* Model) const;
- #ifdef _WIN32
- // Find the best matches of multiple shape models.
- void FindShapeModels(const HShapeModel& ModelIDs, double AngleStart, double AngleExtent, double MinScore, Hlong NumMatches, double MaxOverlap, const wchar_t* SubPixel, Hlong NumLevels, double Greediness, HTuple* Row, HTuple* Column, HTuple* Angle, HTuple* Score, HTuple* Model) const;
- #endif
- // Find the best matches of an anisotropically scaled shape model in an image.
- void FindAnisoShapeModel(const HShapeModel& ModelID, double AngleStart, double AngleExtent, double ScaleRMin, double ScaleRMax, double ScaleCMin, double ScaleCMax, const HTuple& MinScore, Hlong NumMatches, double MaxOverlap, const HTuple& SubPixel, const HTuple& NumLevels, double Greediness, HTuple* Row, HTuple* Column, HTuple* Angle, HTuple* ScaleR, HTuple* ScaleC, HTuple* Score) const;
- // Find the best matches of an anisotropically scaled shape model in an image.
- void FindAnisoShapeModel(const HShapeModel& ModelID, double AngleStart, double AngleExtent, double ScaleRMin, double ScaleRMax, double ScaleCMin, double ScaleCMax, double MinScore, Hlong NumMatches, double MaxOverlap, const HString& SubPixel, Hlong NumLevels, double Greediness, HTuple* Row, HTuple* Column, HTuple* Angle, HTuple* ScaleR, HTuple* ScaleC, HTuple* Score) const;
- // Find the best matches of an anisotropically scaled shape model in an image.
- void FindAnisoShapeModel(const HShapeModel& ModelID, double AngleStart, double AngleExtent, double ScaleRMin, double ScaleRMax, double ScaleCMin, double ScaleCMax, double MinScore, Hlong NumMatches, double MaxOverlap, const char* SubPixel, Hlong NumLevels, double Greediness, HTuple* Row, HTuple* Column, HTuple* Angle, HTuple* ScaleR, HTuple* ScaleC, HTuple* Score) const;
- #ifdef _WIN32
- // Find the best matches of an anisotropically scaled shape model in an image.
- void FindAnisoShapeModel(const HShapeModel& ModelID, double AngleStart, double AngleExtent, double ScaleRMin, double ScaleRMax, double ScaleCMin, double ScaleCMax, double MinScore, Hlong NumMatches, double MaxOverlap, const wchar_t* SubPixel, Hlong NumLevels, double Greediness, HTuple* Row, HTuple* Column, HTuple* Angle, HTuple* ScaleR, HTuple* ScaleC, HTuple* Score) const;
- #endif
- // Find the best matches of an isotropically scaled shape model in an image.
- void FindScaledShapeModel(const HShapeModel& ModelID, double AngleStart, double AngleExtent, double ScaleMin, double ScaleMax, const HTuple& MinScore, Hlong NumMatches, double MaxOverlap, const HTuple& SubPixel, const HTuple& NumLevels, double Greediness, HTuple* Row, HTuple* Column, HTuple* Angle, HTuple* Scale, HTuple* Score) const;
- // Find the best matches of an isotropically scaled shape model in an image.
- void FindScaledShapeModel(const HShapeModel& ModelID, double AngleStart, double AngleExtent, double ScaleMin, double ScaleMax, double MinScore, Hlong NumMatches, double MaxOverlap, const HString& SubPixel, Hlong NumLevels, double Greediness, HTuple* Row, HTuple* Column, HTuple* Angle, HTuple* Scale, HTuple* Score) const;
- // Find the best matches of an isotropically scaled shape model in an image.
- void FindScaledShapeModel(const HShapeModel& ModelID, double AngleStart, double AngleExtent, double ScaleMin, double ScaleMax, double MinScore, Hlong NumMatches, double MaxOverlap, const char* SubPixel, Hlong NumLevels, double Greediness, HTuple* Row, HTuple* Column, HTuple* Angle, HTuple* Scale, HTuple* Score) const;
- #ifdef _WIN32
- // Find the best matches of an isotropically scaled shape model in an image.
- void FindScaledShapeModel(const HShapeModel& ModelID, double AngleStart, double AngleExtent, double ScaleMin, double ScaleMax, double MinScore, Hlong NumMatches, double MaxOverlap, const wchar_t* SubPixel, Hlong NumLevels, double Greediness, HTuple* Row, HTuple* Column, HTuple* Angle, HTuple* Scale, HTuple* Score) const;
- #endif
- // Find the best matches of a shape model in an image.
- void FindShapeModel(const HShapeModel& ModelID, double AngleStart, double AngleExtent, const HTuple& MinScore, Hlong NumMatches, double MaxOverlap, const HTuple& SubPixel, const HTuple& NumLevels, double Greediness, HTuple* Row, HTuple* Column, HTuple* Angle, HTuple* Score) const;
- // Find the best matches of a shape model in an image.
- void FindShapeModel(const HShapeModel& ModelID, double AngleStart, double AngleExtent, double MinScore, Hlong NumMatches, double MaxOverlap, const HString& SubPixel, Hlong NumLevels, double Greediness, HTuple* Row, HTuple* Column, HTuple* Angle, HTuple* Score) const;
- // Find the best matches of a shape model in an image.
- void FindShapeModel(const HShapeModel& ModelID, double AngleStart, double AngleExtent, double MinScore, Hlong NumMatches, double MaxOverlap, const char* SubPixel, Hlong NumLevels, double Greediness, HTuple* Row, HTuple* Column, HTuple* Angle, HTuple* Score) const;
- #ifdef _WIN32
- // Find the best matches of a shape model in an image.
- void FindShapeModel(const HShapeModel& ModelID, double AngleStart, double AngleExtent, double MinScore, Hlong NumMatches, double MaxOverlap, const wchar_t* SubPixel, Hlong NumLevels, double Greediness, HTuple* Row, HTuple* Column, HTuple* Angle, HTuple* Score) const;
- #endif
- // Set the metric of a shape model that was created from XLD contours.
- void SetShapeModelMetric(const HShapeModel& ModelID, const HHomMat2D& HomMat2D, const HString& Metric) const;
- // Set the metric of a shape model that was created from XLD contours.
- void SetShapeModelMetric(const HShapeModel& ModelID, const HHomMat2D& HomMat2D, const char* Metric) const;
- #ifdef _WIN32
- // Set the metric of a shape model that was created from XLD contours.
- void SetShapeModelMetric(const HShapeModel& ModelID, const HHomMat2D& HomMat2D, const wchar_t* Metric) const;
- #endif
- // Set selected parameters of the shape model.
- static void SetShapeModelParam(const HShapeModel& ModelID, const HTuple& GenParamName, const HTuple& GenParamValue);
- // Prepare an anisotropically scaled shape model for matching.
- HShapeModel CreateAnisoShapeModel(const HTuple& NumLevels, double AngleStart, double AngleExtent, const HTuple& AngleStep, double ScaleRMin, double ScaleRMax, const HTuple& ScaleRStep, double ScaleCMin, double ScaleCMax, const HTuple& ScaleCStep, const HTuple& Optimization, const HString& Metric, const HTuple& Contrast, const HTuple& MinContrast) const;
- // Prepare an anisotropically scaled shape model for matching.
- HShapeModel CreateAnisoShapeModel(Hlong NumLevels, double AngleStart, double AngleExtent, double AngleStep, double ScaleRMin, double ScaleRMax, double ScaleRStep, double ScaleCMin, double ScaleCMax, double ScaleCStep, const HString& Optimization, const HString& Metric, Hlong Contrast, Hlong MinContrast) const;
- // Prepare an anisotropically scaled shape model for matching.
- HShapeModel CreateAnisoShapeModel(Hlong NumLevels, double AngleStart, double AngleExtent, double AngleStep, double ScaleRMin, double ScaleRMax, double ScaleRStep, double ScaleCMin, double ScaleCMax, double ScaleCStep, const char* Optimization, const char* Metric, Hlong Contrast, Hlong MinContrast) const;
- #ifdef _WIN32
- // Prepare an anisotropically scaled shape model for matching.
- HShapeModel CreateAnisoShapeModel(Hlong NumLevels, double AngleStart, double AngleExtent, double AngleStep, double ScaleRMin, double ScaleRMax, double ScaleRStep, double ScaleCMin, double ScaleCMax, double ScaleCStep, const wchar_t* Optimization, const wchar_t* Metric, Hlong Contrast, Hlong MinContrast) const;
- #endif
- // Prepare an isotropically scaled shape model for matching.
- HShapeModel CreateScaledShapeModel(const HTuple& NumLevels, double AngleStart, double AngleExtent, const HTuple& AngleStep, double ScaleMin, double ScaleMax, const HTuple& ScaleStep, const HTuple& Optimization, const HString& Metric, const HTuple& Contrast, const HTuple& MinContrast) const;
- // Prepare an isotropically scaled shape model for matching.
- HShapeModel CreateScaledShapeModel(Hlong NumLevels, double AngleStart, double AngleExtent, double AngleStep, double ScaleMin, double ScaleMax, double ScaleStep, const HString& Optimization, const HString& Metric, Hlong Contrast, Hlong MinContrast) const;
- // Prepare an isotropically scaled shape model for matching.
- HShapeModel CreateScaledShapeModel(Hlong NumLevels, double AngleStart, double AngleExtent, double AngleStep, double ScaleMin, double ScaleMax, double ScaleStep, const char* Optimization, const char* Metric, Hlong Contrast, Hlong MinContrast) const;
- #ifdef _WIN32
- // Prepare an isotropically scaled shape model for matching.
- HShapeModel CreateScaledShapeModel(Hlong NumLevels, double AngleStart, double AngleExtent, double AngleStep, double ScaleMin, double ScaleMax, double ScaleStep, const wchar_t* Optimization, const wchar_t* Metric, Hlong Contrast, Hlong MinContrast) const;
- #endif
- // Prepare a shape model for matching.
- HShapeModel CreateShapeModel(const HTuple& NumLevels, double AngleStart, double AngleExtent, const HTuple& AngleStep, const HTuple& Optimization, const HString& Metric, const HTuple& Contrast, const HTuple& MinContrast) const;
- // Prepare a shape model for matching.
- HShapeModel CreateShapeModel(Hlong NumLevels, double AngleStart, double AngleExtent, double AngleStep, const HString& Optimization, const HString& Metric, Hlong Contrast, Hlong MinContrast) const;
- // Prepare a shape model for matching.
- HShapeModel CreateShapeModel(Hlong NumLevels, double AngleStart, double AngleExtent, double AngleStep, const char* Optimization, const char* Metric, Hlong Contrast, Hlong MinContrast) const;
- #ifdef _WIN32
- // Prepare a shape model for matching.
- HShapeModel CreateShapeModel(Hlong NumLevels, double AngleStart, double AngleExtent, double AngleStep, const wchar_t* Optimization, const wchar_t* Metric, Hlong Contrast, Hlong MinContrast) const;
- #endif
- // Create the representation of a shape model.
- HImage InspectShapeModel(HRegion* ModelRegions, Hlong NumLevels, const HTuple& Contrast) const;
- // Create the representation of a shape model.
- HImage InspectShapeModel(HRegion* ModelRegions, Hlong NumLevels, Hlong Contrast) const;
- // Find the best matches of a calibrated descriptor model in an image and return their 3D pose.
- HPoseArray FindCalibDescriptorModel(const HDescriptorModel& ModelID, const HTuple& DetectorParamName, const HTuple& DetectorParamValue, const HTuple& DescriptorParamName, const HTuple& DescriptorParamValue, const HTuple& MinScore, Hlong NumMatches, const HCamPar& CamParam, const HTuple& ScoreType, HTuple* Score) const;
- // Find the best matches of a calibrated descriptor model in an image and return their 3D pose.
- HPose FindCalibDescriptorModel(const HDescriptorModel& ModelID, const HTuple& DetectorParamName, const HTuple& DetectorParamValue, const HTuple& DescriptorParamName, const HTuple& DescriptorParamValue, double MinScore, Hlong NumMatches, const HCamPar& CamParam, const HString& ScoreType, double* Score) const;
- // Find the best matches of a calibrated descriptor model in an image and return their 3D pose.
- HPose FindCalibDescriptorModel(const HDescriptorModel& ModelID, const HTuple& DetectorParamName, const HTuple& DetectorParamValue, const HTuple& DescriptorParamName, const HTuple& DescriptorParamValue, double MinScore, Hlong NumMatches, const HCamPar& CamParam, const char* ScoreType, double* Score) const;
- #ifdef _WIN32
- // Find the best matches of a calibrated descriptor model in an image and return their 3D pose.
- HPose FindCalibDescriptorModel(const HDescriptorModel& ModelID, const HTuple& DetectorParamName, const HTuple& DetectorParamValue, const HTuple& DescriptorParamName, const HTuple& DescriptorParamValue, double MinScore, Hlong NumMatches, const HCamPar& CamParam, const wchar_t* ScoreType, double* Score) const;
- #endif
- // Find the best matches of a descriptor model in an image.
- HHomMat2DArray FindUncalibDescriptorModel(const HDescriptorModel& ModelID, const HTuple& DetectorParamName, const HTuple& DetectorParamValue, const HTuple& DescriptorParamName, const HTuple& DescriptorParamValue, const HTuple& MinScore, Hlong NumMatches, const HTuple& ScoreType, HTuple* Score) const;
- // Find the best matches of a descriptor model in an image.
- HHomMat2D FindUncalibDescriptorModel(const HDescriptorModel& ModelID, const HTuple& DetectorParamName, const HTuple& DetectorParamValue, const HTuple& DescriptorParamName, const HTuple& DescriptorParamValue, double MinScore, Hlong NumMatches, const HString& ScoreType, double* Score) const;
- // Find the best matches of a descriptor model in an image.
- HHomMat2D FindUncalibDescriptorModel(const HDescriptorModel& ModelID, const HTuple& DetectorParamName, const HTuple& DetectorParamValue, const HTuple& DescriptorParamName, const HTuple& DescriptorParamValue, double MinScore, Hlong NumMatches, const char* ScoreType, double* Score) const;
- #ifdef _WIN32
- // Find the best matches of a descriptor model in an image.
- HHomMat2D FindUncalibDescriptorModel(const HDescriptorModel& ModelID, const HTuple& DetectorParamName, const HTuple& DetectorParamValue, const HTuple& DescriptorParamName, const HTuple& DescriptorParamValue, double MinScore, Hlong NumMatches, const wchar_t* ScoreType, double* Score) const;
- #endif
- // Create a descriptor model for calibrated perspective matching.
- HDescriptorModel CreateCalibDescriptorModel(const HCamPar& CamParam, const HPose& ReferencePose, const HString& DetectorType, const HTuple& DetectorParamName, const HTuple& DetectorParamValue, const HTuple& DescriptorParamName, const HTuple& DescriptorParamValue, Hlong Seed) const;
- // Create a descriptor model for calibrated perspective matching.
- HDescriptorModel CreateCalibDescriptorModel(const HCamPar& CamParam, const HPose& ReferencePose, const char* DetectorType, const HTuple& DetectorParamName, const HTuple& DetectorParamValue, const HTuple& DescriptorParamName, const HTuple& DescriptorParamValue, Hlong Seed) const;
- #ifdef _WIN32
- // Create a descriptor model for calibrated perspective matching.
- HDescriptorModel CreateCalibDescriptorModel(const HCamPar& CamParam, const HPose& ReferencePose, const wchar_t* DetectorType, const HTuple& DetectorParamName, const HTuple& DetectorParamValue, const HTuple& DescriptorParamName, const HTuple& DescriptorParamValue, Hlong Seed) const;
- #endif
- // Prepare a descriptor model for interest point matching.
- HDescriptorModel CreateUncalibDescriptorModel(const HString& DetectorType, const HTuple& DetectorParamName, const HTuple& DetectorParamValue, const HTuple& DescriptorParamName, const HTuple& DescriptorParamValue, Hlong Seed) const;
- // Prepare a descriptor model for interest point matching.
- HDescriptorModel CreateUncalibDescriptorModel(const char* DetectorType, const HTuple& DetectorParamName, const HTuple& DetectorParamValue, const HTuple& DescriptorParamName, const HTuple& DescriptorParamValue, Hlong Seed) const;
- #ifdef _WIN32
- // Prepare a descriptor model for interest point matching.
- HDescriptorModel CreateUncalibDescriptorModel(const wchar_t* DetectorType, const HTuple& DetectorParamName, const HTuple& DetectorParamValue, const HTuple& DescriptorParamName, const HTuple& DescriptorParamValue, Hlong Seed) const;
- #endif
- // Determine the parameters of a deformable model.
- HTuple DetermineDeformableModelParams(const HTuple& NumLevels, double AngleStart, double AngleExtent, const HTuple& ScaleMin, const HTuple& ScaleMax, const HString& Optimization, const HString& Metric, const HTuple& Contrast, const HTuple& MinContrast, const HTuple& GenParamName, const HTuple& GenParamValue, const HTuple& Parameters, HTuple* ParameterValue) const;
- // Determine the parameters of a deformable model.
- HTuple DetermineDeformableModelParams(Hlong NumLevels, double AngleStart, double AngleExtent, double ScaleMin, double ScaleMax, const HString& Optimization, const HString& Metric, Hlong Contrast, Hlong MinContrast, const HTuple& GenParamName, const HTuple& GenParamValue, const HString& Parameters, HTuple* ParameterValue) const;
- // Determine the parameters of a deformable model.
- HTuple DetermineDeformableModelParams(Hlong NumLevels, double AngleStart, double AngleExtent, double ScaleMin, double ScaleMax, const char* Optimization, const char* Metric, Hlong Contrast, Hlong MinContrast, const HTuple& GenParamName, const HTuple& GenParamValue, const char* Parameters, HTuple* ParameterValue) const;
- #ifdef _WIN32
- // Determine the parameters of a deformable model.
- HTuple DetermineDeformableModelParams(Hlong NumLevels, double AngleStart, double AngleExtent, double ScaleMin, double ScaleMax, const wchar_t* Optimization, const wchar_t* Metric, Hlong Contrast, Hlong MinContrast, const HTuple& GenParamName, const HTuple& GenParamValue, const wchar_t* Parameters, HTuple* ParameterValue) const;
- #endif
- // Find the best matches of a local deformable model in an image.
- HImage FindLocalDeformableModel(HImage* VectorField, HXLDCont* DeformedContours, const HDeformableModel& ModelID, double AngleStart, double AngleExtent, double ScaleRMin, double ScaleRMax, double ScaleCMin, double ScaleCMax, double MinScore, Hlong NumMatches, double MaxOverlap, Hlong NumLevels, double Greediness, const HTuple& ResultType, const HTuple& GenParamName, const HTuple& GenParamValue, HTuple* Score, HTuple* Row, HTuple* Column) const;
- // Find the best matches of a calibrated deformable model in an image and return their 3D pose.
- HPoseArray FindPlanarCalibDeformableModel(const HDeformableModel& ModelID, double AngleStart, double AngleExtent, double ScaleRMin, double ScaleRMax, double ScaleCMin, double ScaleCMax, double MinScore, Hlong NumMatches, double MaxOverlap, const HTuple& NumLevels, double Greediness, const HTuple& GenParamName, const HTuple& GenParamValue, HTuple* CovPose, HTuple* Score) const;
- // Find the best matches of a calibrated deformable model in an image and return their 3D pose.
- HPose FindPlanarCalibDeformableModel(const HDeformableModel& ModelID, double AngleStart, double AngleExtent, double ScaleRMin, double ScaleRMax, double ScaleCMin, double ScaleCMax, double MinScore, Hlong NumMatches, double MaxOverlap, Hlong NumLevels, double Greediness, const HTuple& GenParamName, const HTuple& GenParamValue, HTuple* CovPose, HTuple* Score) const;
- // Find the best matches of a planar projective invariant deformable model in an image.
- HHomMat2DArray FindPlanarUncalibDeformableModel(const HDeformableModel& ModelID, double AngleStart, double AngleExtent, double ScaleRMin, double ScaleRMax, double ScaleCMin, double ScaleCMax, double MinScore, Hlong NumMatches, double MaxOverlap, const HTuple& NumLevels, double Greediness, const HTuple& GenParamName, const HTuple& GenParamValue, HTuple* Score) const;
- // Find the best matches of a planar projective invariant deformable model in an image.
- HHomMat2D FindPlanarUncalibDeformableModel(const HDeformableModel& ModelID, double AngleStart, double AngleExtent, double ScaleRMin, double ScaleRMax, double ScaleCMin, double ScaleCMax, double MinScore, Hlong NumMatches, double MaxOverlap, Hlong NumLevels, double Greediness, const HTuple& GenParamName, const HTuple& GenParamValue, HTuple* Score) const;
- // Set the metric of a local deformable model that was created from XLD contours.
- void SetLocalDeformableModelMetric(const HImage& VectorField, const HDeformableModel& ModelID, const HString& Metric) const;
- // Set the metric of a local deformable model that was created from XLD contours.
- void SetLocalDeformableModelMetric(const HImage& VectorField, const HDeformableModel& ModelID, const char* Metric) const;
- #ifdef _WIN32
- // Set the metric of a local deformable model that was created from XLD contours.
- void SetLocalDeformableModelMetric(const HImage& VectorField, const HDeformableModel& ModelID, const wchar_t* Metric) const;
- #endif
- // Set the metric of a planar calibrated deformable model that was created from XLD contours.
- void SetPlanarCalibDeformableModelMetric(const HDeformableModel& ModelID, const HPose& Pose, const HString& Metric) const;
- // Set the metric of a planar calibrated deformable model that was created from XLD contours.
- void SetPlanarCalibDeformableModelMetric(const HDeformableModel& ModelID, const HPose& Pose, const char* Metric) const;
- #ifdef _WIN32
- // Set the metric of a planar calibrated deformable model that was created from XLD contours.
- void SetPlanarCalibDeformableModelMetric(const HDeformableModel& ModelID, const HPose& Pose, const wchar_t* Metric) const;
- #endif
- // Set the metric of a planar uncalibrated deformable model that was created from XLD contours.
- void SetPlanarUncalibDeformableModelMetric(const HDeformableModel& ModelID, const HHomMat2D& HomMat2D, const HString& Metric) const;
- // Set the metric of a planar uncalibrated deformable model that was created from XLD contours.
- void SetPlanarUncalibDeformableModelMetric(const HDeformableModel& ModelID, const HHomMat2D& HomMat2D, const char* Metric) const;
- #ifdef _WIN32
- // Set the metric of a planar uncalibrated deformable model that was created from XLD contours.
- void SetPlanarUncalibDeformableModelMetric(const HDeformableModel& ModelID, const HHomMat2D& HomMat2D, const wchar_t* Metric) const;
- #endif
- // Creates a deformable model for local, deformable matching.
- HDeformableModel CreateLocalDeformableModel(const HTuple& NumLevels, const HTuple& AngleStart, const HTuple& AngleExtent, const HTuple& AngleStep, double ScaleRMin, const HTuple& ScaleRMax, const HTuple& ScaleRStep, double ScaleCMin, const HTuple& ScaleCMax, const HTuple& ScaleCStep, const HTuple& Optimization, const HString& Metric, const HTuple& Contrast, const HTuple& MinContrast, const HTuple& GenParamName, const HTuple& GenParamValue) const;
- // Creates a deformable model for local, deformable matching.
- HDeformableModel CreateLocalDeformableModel(Hlong NumLevels, const HTuple& AngleStart, const HTuple& AngleExtent, double AngleStep, double ScaleRMin, const HTuple& ScaleRMax, double ScaleRStep, double ScaleCMin, const HTuple& ScaleCMax, double ScaleCStep, const HString& Optimization, const HString& Metric, const HTuple& Contrast, Hlong MinContrast, const HTuple& GenParamName, const HTuple& GenParamValue) const;
- // Creates a deformable model for local, deformable matching.
- HDeformableModel CreateLocalDeformableModel(Hlong NumLevels, const HTuple& AngleStart, const HTuple& AngleExtent, double AngleStep, double ScaleRMin, const HTuple& ScaleRMax, double ScaleRStep, double ScaleCMin, const HTuple& ScaleCMax, double ScaleCStep, const char* Optimization, const char* Metric, const HTuple& Contrast, Hlong MinContrast, const HTuple& GenParamName, const HTuple& GenParamValue) const;
- #ifdef _WIN32
- // Creates a deformable model for local, deformable matching.
- HDeformableModel CreateLocalDeformableModel(Hlong NumLevels, const HTuple& AngleStart, const HTuple& AngleExtent, double AngleStep, double ScaleRMin, const HTuple& ScaleRMax, double ScaleRStep, double ScaleCMin, const HTuple& ScaleCMax, double ScaleCStep, const wchar_t* Optimization, const wchar_t* Metric, const HTuple& Contrast, Hlong MinContrast, const HTuple& GenParamName, const HTuple& GenParamValue) const;
- #endif
- // Create a deformable model for calibrated perspective matching.
- HDeformableModel CreatePlanarCalibDeformableModel(const HCamPar& CamParam, const HPose& ReferencePose, const HTuple& NumLevels, const HTuple& AngleStart, const HTuple& AngleExtent, const HTuple& AngleStep, double ScaleRMin, const HTuple& ScaleRMax, const HTuple& ScaleRStep, double ScaleCMin, const HTuple& ScaleCMax, const HTuple& ScaleCStep, const HTuple& Optimization, const HString& Metric, const HTuple& Contrast, const HTuple& MinContrast, const HTuple& GenParamName, const HTuple& GenParamValue) const;
- // Create a deformable model for calibrated perspective matching.
- HDeformableModel CreatePlanarCalibDeformableModel(const HCamPar& CamParam, const HPose& ReferencePose, Hlong NumLevels, const HTuple& AngleStart, const HTuple& AngleExtent, double AngleStep, double ScaleRMin, const HTuple& ScaleRMax, double ScaleRStep, double ScaleCMin, const HTuple& ScaleCMax, double ScaleCStep, const HString& Optimization, const HString& Metric, const HTuple& Contrast, Hlong MinContrast, const HTuple& GenParamName, const HTuple& GenParamValue) const;
- // Create a deformable model for calibrated perspective matching.
- HDeformableModel CreatePlanarCalibDeformableModel(const HCamPar& CamParam, const HPose& ReferencePose, Hlong NumLevels, const HTuple& AngleStart, const HTuple& AngleExtent, double AngleStep, double ScaleRMin, const HTuple& ScaleRMax, double ScaleRStep, double ScaleCMin, const HTuple& ScaleCMax, double ScaleCStep, const char* Optimization, const char* Metric, const HTuple& Contrast, Hlong MinContrast, const HTuple& GenParamName, const HTuple& GenParamValue) const;
- #ifdef _WIN32
- // Create a deformable model for calibrated perspective matching.
- HDeformableModel CreatePlanarCalibDeformableModel(const HCamPar& CamParam, const HPose& ReferencePose, Hlong NumLevels, const HTuple& AngleStart, const HTuple& AngleExtent, double AngleStep, double ScaleRMin, const HTuple& ScaleRMax, double ScaleRStep, double ScaleCMin, const HTuple& ScaleCMax, double ScaleCStep, const wchar_t* Optimization, const wchar_t* Metric, const HTuple& Contrast, Hlong MinContrast, const HTuple& GenParamName, const HTuple& GenParamValue) const;
- #endif
- // Creates a deformable model for uncalibrated, perspective matching.
- HDeformableModel CreatePlanarUncalibDeformableModel(const HTuple& NumLevels, const HTuple& AngleStart, const HTuple& AngleExtent, const HTuple& AngleStep, double ScaleRMin, const HTuple& ScaleRMax, const HTuple& ScaleRStep, double ScaleCMin, const HTuple& ScaleCMax, const HTuple& ScaleCStep, const HTuple& Optimization, const HString& Metric, const HTuple& Contrast, const HTuple& MinContrast, const HTuple& GenParamName, const HTuple& GenParamValue) const;
- // Creates a deformable model for uncalibrated, perspective matching.
- HDeformableModel CreatePlanarUncalibDeformableModel(Hlong NumLevels, const HTuple& AngleStart, const HTuple& AngleExtent, double AngleStep, double ScaleRMin, const HTuple& ScaleRMax, double ScaleRStep, double ScaleCMin, const HTuple& ScaleCMax, double ScaleCStep, const HString& Optimization, const HString& Metric, const HTuple& Contrast, Hlong MinContrast, const HTuple& GenParamName, const HTuple& GenParamValue) const;
- // Creates a deformable model for uncalibrated, perspective matching.
- HDeformableModel CreatePlanarUncalibDeformableModel(Hlong NumLevels, const HTuple& AngleStart, const HTuple& AngleExtent, double AngleStep, double ScaleRMin, const HTuple& ScaleRMax, double ScaleRStep, double ScaleCMin, const HTuple& ScaleCMax, double ScaleCStep, const char* Optimization, const char* Metric, const HTuple& Contrast, Hlong MinContrast, const HTuple& GenParamName, const HTuple& GenParamValue) const;
- #ifdef _WIN32
- // Creates a deformable model for uncalibrated, perspective matching.
- HDeformableModel CreatePlanarUncalibDeformableModel(Hlong NumLevels, const HTuple& AngleStart, const HTuple& AngleExtent, double AngleStep, double ScaleRMin, const HTuple& ScaleRMax, double ScaleRStep, double ScaleCMin, const HTuple& ScaleCMax, double ScaleCStep, const wchar_t* Optimization, const wchar_t* Metric, const HTuple& Contrast, Hlong MinContrast, const HTuple& GenParamName, const HTuple& GenParamValue) const;
- #endif
- // Find the best matches of an NCC model in an image.
- void FindNccModel(const HNCCModel& ModelID, double AngleStart, double AngleExtent, double MinScore, Hlong NumMatches, double MaxOverlap, const HString& SubPixel, const HTuple& NumLevels, HTuple* Row, HTuple* Column, HTuple* Angle, HTuple* Score) const;
- // Find the best matches of an NCC model in an image.
- void FindNccModel(const HNCCModel& ModelID, double AngleStart, double AngleExtent, double MinScore, Hlong NumMatches, double MaxOverlap, const HString& SubPixel, Hlong NumLevels, HTuple* Row, HTuple* Column, HTuple* Angle, HTuple* Score) const;
- // Find the best matches of an NCC model in an image.
- void FindNccModel(const HNCCModel& ModelID, double AngleStart, double AngleExtent, double MinScore, Hlong NumMatches, double MaxOverlap, const char* SubPixel, Hlong NumLevels, HTuple* Row, HTuple* Column, HTuple* Angle, HTuple* Score) const;
- #ifdef _WIN32
- // Find the best matches of an NCC model in an image.
- void FindNccModel(const HNCCModel& ModelID, double AngleStart, double AngleExtent, double MinScore, Hlong NumMatches, double MaxOverlap, const wchar_t* SubPixel, Hlong NumLevels, HTuple* Row, HTuple* Column, HTuple* Angle, HTuple* Score) const;
- #endif
- // Set selected parameters of the NCC model.
- static void SetNccModelParam(const HNCCModel& ModelID, const HTuple& GenParamName, const HTuple& GenParamValue);
- // Prepare an NCC model for matching.
- HNCCModel CreateNccModel(const HTuple& NumLevels, double AngleStart, double AngleExtent, const HTuple& AngleStep, const HString& Metric) const;
- // Prepare an NCC model for matching.
- HNCCModel CreateNccModel(Hlong NumLevels, double AngleStart, double AngleExtent, double AngleStep, const HString& Metric) const;
- // Prepare an NCC model for matching.
- HNCCModel CreateNccModel(Hlong NumLevels, double AngleStart, double AngleExtent, double AngleStep, const char* Metric) const;
- #ifdef _WIN32
- // Prepare an NCC model for matching.
- HNCCModel CreateNccModel(Hlong NumLevels, double AngleStart, double AngleExtent, double AngleStep, const wchar_t* Metric) const;
- #endif
- // Find the best matches of a component model in an image.
- HTuple FindComponentModel(const HComponentModel& ComponentModelID, const HTuple& RootComponent, const HTuple& AngleStartRoot, const HTuple& AngleExtentRoot, double MinScore, Hlong NumMatches, double MaxOverlap, const HString& IfRootNotFound, const HString& IfComponentNotFound, const HString& PosePrediction, const HTuple& MinScoreComp, const HTuple& SubPixelComp, const HTuple& NumLevelsComp, const HTuple& GreedinessComp, HTuple* ModelEnd, HTuple* Score, HTuple* RowComp, HTuple* ColumnComp, HTuple* AngleComp, HTuple* ScoreComp, HTuple* ModelComp) const;
- // Find the best matches of a component model in an image.
- Hlong FindComponentModel(const HComponentModel& ComponentModelID, Hlong RootComponent, double AngleStartRoot, double AngleExtentRoot, double MinScore, Hlong NumMatches, double MaxOverlap, const HString& IfRootNotFound, const HString& IfComponentNotFound, const HString& PosePrediction, double MinScoreComp, const HString& SubPixelComp, Hlong NumLevelsComp, double GreedinessComp, Hlong* ModelEnd, double* Score, double* RowComp, double* ColumnComp, double* AngleComp, double* ScoreComp, Hlong* ModelComp) const;
- // Find the best matches of a component model in an image.
- Hlong FindComponentModel(const HComponentModel& ComponentModelID, Hlong RootComponent, double AngleStartRoot, double AngleExtentRoot, double MinScore, Hlong NumMatches, double MaxOverlap, const char* IfRootNotFound, const char* IfComponentNotFound, const char* PosePrediction, double MinScoreComp, const char* SubPixelComp, Hlong NumLevelsComp, double GreedinessComp, Hlong* ModelEnd, double* Score, double* RowComp, double* ColumnComp, double* AngleComp, double* ScoreComp, Hlong* ModelComp) const;
- #ifdef _WIN32
- // Find the best matches of a component model in an image.
- Hlong FindComponentModel(const HComponentModel& ComponentModelID, Hlong RootComponent, double AngleStartRoot, double AngleExtentRoot, double MinScore, Hlong NumMatches, double MaxOverlap, const wchar_t* IfRootNotFound, const wchar_t* IfComponentNotFound, const wchar_t* PosePrediction, double MinScoreComp, const wchar_t* SubPixelComp, Hlong NumLevelsComp, double GreedinessComp, Hlong* ModelEnd, double* Score, double* RowComp, double* ColumnComp, double* AngleComp, double* ScoreComp, Hlong* ModelComp) const;
- #endif
- // Prepare a component model for matching based on explicitly specified components and relations.
- HComponentModel CreateComponentModel(const HRegion& ComponentRegions, const HTuple& VariationRow, const HTuple& VariationColumn, const HTuple& VariationAngle, double AngleStart, double AngleExtent, const HTuple& ContrastLowComp, const HTuple& ContrastHighComp, const HTuple& MinSizeComp, const HTuple& MinContrastComp, const HTuple& MinScoreComp, const HTuple& NumLevelsComp, const HTuple& AngleStepComp, const HString& OptimizationComp, const HTuple& MetricComp, const HTuple& PregenerationComp, HTuple* RootRanking) const;
- // Prepare a component model for matching based on explicitly specified components and relations.
- HComponentModel CreateComponentModel(const HRegion& ComponentRegions, Hlong VariationRow, Hlong VariationColumn, double VariationAngle, double AngleStart, double AngleExtent, Hlong ContrastLowComp, Hlong ContrastHighComp, Hlong MinSizeComp, Hlong MinContrastComp, double MinScoreComp, Hlong NumLevelsComp, double AngleStepComp, const HString& OptimizationComp, const HString& MetricComp, const HString& PregenerationComp, Hlong* RootRanking) const;
- // Prepare a component model for matching based on explicitly specified components and relations.
- HComponentModel CreateComponentModel(const HRegion& ComponentRegions, Hlong VariationRow, Hlong VariationColumn, double VariationAngle, double AngleStart, double AngleExtent, Hlong ContrastLowComp, Hlong ContrastHighComp, Hlong MinSizeComp, Hlong MinContrastComp, double MinScoreComp, Hlong NumLevelsComp, double AngleStepComp, const char* OptimizationComp, const char* MetricComp, const char* PregenerationComp, Hlong* RootRanking) const;
- #ifdef _WIN32
- // Prepare a component model for matching based on explicitly specified components and relations.
- HComponentModel CreateComponentModel(const HRegion& ComponentRegions, Hlong VariationRow, Hlong VariationColumn, double VariationAngle, double AngleStart, double AngleExtent, Hlong ContrastLowComp, Hlong ContrastHighComp, Hlong MinSizeComp, Hlong MinContrastComp, double MinScoreComp, Hlong NumLevelsComp, double AngleStepComp, const wchar_t* OptimizationComp, const wchar_t* MetricComp, const wchar_t* PregenerationComp, Hlong* RootRanking) const;
- #endif
- // Adopt new parameters that are used to create the model components into the training result.
- HRegion ClusterModelComponents(const HComponentTraining& ComponentTrainingID, const HString& AmbiguityCriterion, double MaxContourOverlap, double ClusterThreshold) const;
- // Adopt new parameters that are used to create the model components into the training result.
- HRegion ClusterModelComponents(const HComponentTraining& ComponentTrainingID, const char* AmbiguityCriterion, double MaxContourOverlap, double ClusterThreshold) const;
- #ifdef _WIN32
- // Adopt new parameters that are used to create the model components into the training result.
- HRegion ClusterModelComponents(const HComponentTraining& ComponentTrainingID, const wchar_t* AmbiguityCriterion, double MaxContourOverlap, double ClusterThreshold) const;
- #endif
- // Train components and relations for the component-based matching.
- HRegion TrainModelComponents(const HRegion& InitialComponents, const HImage& TrainingImages, const HTuple& ContrastLow, const HTuple& ContrastHigh, const HTuple& MinSize, const HTuple& MinScore, const HTuple& SearchRowTol, const HTuple& SearchColumnTol, const HTuple& SearchAngleTol, const HString& TrainingEmphasis, const HString& AmbiguityCriterion, double MaxContourOverlap, double ClusterThreshold, HComponentTraining* ComponentTrainingID) const;
- // Train components and relations for the component-based matching.
- HRegion TrainModelComponents(const HRegion& InitialComponents, const HImage& TrainingImages, Hlong ContrastLow, Hlong ContrastHigh, Hlong MinSize, double MinScore, Hlong SearchRowTol, Hlong SearchColumnTol, double SearchAngleTol, const HString& TrainingEmphasis, const HString& AmbiguityCriterion, double MaxContourOverlap, double ClusterThreshold, HComponentTraining* ComponentTrainingID) const;
- // Train components and relations for the component-based matching.
- HRegion TrainModelComponents(const HRegion& InitialComponents, const HImage& TrainingImages, Hlong ContrastLow, Hlong ContrastHigh, Hlong MinSize, double MinScore, Hlong SearchRowTol, Hlong SearchColumnTol, double SearchAngleTol, const char* TrainingEmphasis, const char* AmbiguityCriterion, double MaxContourOverlap, double ClusterThreshold, HComponentTraining* ComponentTrainingID) const;
- #ifdef _WIN32
- // Train components and relations for the component-based matching.
- HRegion TrainModelComponents(const HRegion& InitialComponents, const HImage& TrainingImages, Hlong ContrastLow, Hlong ContrastHigh, Hlong MinSize, double MinScore, Hlong SearchRowTol, Hlong SearchColumnTol, double SearchAngleTol, const wchar_t* TrainingEmphasis, const wchar_t* AmbiguityCriterion, double MaxContourOverlap, double ClusterThreshold, HComponentTraining* ComponentTrainingID) const;
- #endif
- // Extract the initial components of a component model.
- HRegion GenInitialComponents(const HTuple& ContrastLow, const HTuple& ContrastHigh, const HTuple& MinSize, const HString& Mode, const HTuple& GenericName, const HTuple& GenericValue) const;
- // Extract the initial components of a component model.
- HRegion GenInitialComponents(Hlong ContrastLow, Hlong ContrastHigh, Hlong MinSize, const HString& Mode, const HString& GenericName, double GenericValue) const;
- // Extract the initial components of a component model.
- HRegion GenInitialComponents(Hlong ContrastLow, Hlong ContrastHigh, Hlong MinSize, const char* Mode, const char* GenericName, double GenericValue) const;
- #ifdef _WIN32
- // Extract the initial components of a component model.
- HRegion GenInitialComponents(Hlong ContrastLow, Hlong ContrastHigh, Hlong MinSize, const wchar_t* Mode, const wchar_t* GenericName, double GenericValue) const;
- #endif
- // Find the best matches of a 3D shape model in an image.
- HPoseArray FindShapeModel3d(const HShapeModel3D& ShapeModel3DID, double MinScore, double Greediness, const HTuple& NumLevels, const HTuple& GenParamName, const HTuple& GenParamValue, HTuple* CovPose, HTuple* Score) const;
- // Convert one-channel images into a multi-channel image
- HImage ChannelsToImage() const;
- // Convert a multi-channel image into One-channel images
- HImage ImageToChannels() const;
- // Convert 7 images into a seven-channel image.
- HImage Compose7(const HImage& Image2, const HImage& Image3, const HImage& Image4, const HImage& Image5, const HImage& Image6, const HImage& Image7) const;
- // Convert 6 images into a six-channel image.
- HImage Compose6(const HImage& Image2, const HImage& Image3, const HImage& Image4, const HImage& Image5, const HImage& Image6) const;
- // Convert 5 images into a five-channel image.
- HImage Compose5(const HImage& Image2, const HImage& Image3, const HImage& Image4, const HImage& Image5) const;
- // Convert 4 images into a four-channel image.
- HImage Compose4(const HImage& Image2, const HImage& Image3, const HImage& Image4) const;
- // Convert 3 images into a three-channel image.
- HImage Compose3(const HImage& Image2, const HImage& Image3) const;
- // Convert two images into a two-channel image.
- HImage Compose2(const HImage& Image2) const;
- // Convert a seven-channel image into seven images.
- HImage Decompose7(HImage* Image2, HImage* Image3, HImage* Image4, HImage* Image5, HImage* Image6, HImage* Image7) const;
- // Convert a six-channel image into six images.
- HImage Decompose6(HImage* Image2, HImage* Image3, HImage* Image4, HImage* Image5, HImage* Image6) const;
- // Convert a five-channel image into five images.
- HImage Decompose5(HImage* Image2, HImage* Image3, HImage* Image4, HImage* Image5) const;
- // Convert a four-channel image into four images.
- HImage Decompose4(HImage* Image2, HImage* Image3, HImage* Image4) const;
- // Convert a three-channel image into three images.
- HImage Decompose3(HImage* Image2, HImage* Image3) const;
- // Convert a two-channel image into two images.
- HImage Decompose2(HImage* Image2) const;
- // Count channels of image.
- HTuple CountChannels() const;
- // Append additional matrices (channels) to the image.
- HImage AppendChannel(const HImage& Image) const;
- // Access a channel of a multi-channel image.
- HImage AccessChannel(Hlong Channel) const;
- // Tile multiple image objects into a large image with explicit positioning information.
- HImage TileImagesOffset(const HTuple& OffsetRow, const HTuple& OffsetCol, const HTuple& Row1, const HTuple& Col1, const HTuple& Row2, const HTuple& Col2, Hlong Width, Hlong Height) const;
- // Tile multiple image objects into a large image with explicit positioning information.
- HImage TileImagesOffset(Hlong OffsetRow, Hlong OffsetCol, Hlong Row1, Hlong Col1, Hlong Row2, Hlong Col2, Hlong Width, Hlong Height) const;
- // Tile multiple image objects into a large image.
- HImage TileImages(Hlong NumColumns, const HString& TileOrder) const;
- // Tile multiple image objects into a large image.
- HImage TileImages(Hlong NumColumns, const char* TileOrder) const;
- #ifdef _WIN32
- // Tile multiple image objects into a large image.
- HImage TileImages(Hlong NumColumns, const wchar_t* TileOrder) const;
- #endif
- // Tile multiple images into a large image.
- HImage TileChannels(Hlong NumColumns, const HString& TileOrder) const;
- // Tile multiple images into a large image.
- HImage TileChannels(Hlong NumColumns, const char* TileOrder) const;
- #ifdef _WIN32
- // Tile multiple images into a large image.
- HImage TileChannels(Hlong NumColumns, const wchar_t* TileOrder) const;
- #endif
- // Cut out of defined gray values.
- HImage CropDomain() const;
- // Cut out one or more rectangular image areas.
- HImage CropRectangle1(const HTuple& Row1, const HTuple& Column1, const HTuple& Row2, const HTuple& Column2) const;
- // Cut out one or more rectangular image areas.
- HImage CropRectangle1(Hlong Row1, Hlong Column1, Hlong Row2, Hlong Column2) const;
- // Cut out one or more rectangular image areas.
- HImage CropPart(const HTuple& Row, const HTuple& Column, const HTuple& Width, const HTuple& Height) const;
- // Cut out one or more rectangular image areas.
- HImage CropPart(Hlong Row, Hlong Column, Hlong Width, Hlong Height) const;
- // Change image size.
- HImage ChangeFormat(Hlong Width, Hlong Height) const;
- // Change definition domain of an image.
- HImage ChangeDomain(const HRegion& NewDomain) const;
- // Reduce the domain of an image to a rectangle.
- HImage Rectangle1Domain(Hlong Row1, Hlong Column1, Hlong Row2, Hlong Column2) const;
- // Reduce the domain of an image.
- HImage ReduceDomain(const HRegion& Region) const;
- // Expand the domain of an image to maximum.
- HImage FullDomain() const;
- // Get the domain of an image.
- HRegion GetDomain() const;
- // Detect lines in edge images with the help of the Hough transform using local gradient direction and return them in normal form.
- HImage HoughLinesDir(HRegion* Lines, Hlong DirectionUncertainty, Hlong AngleResolution, const HString& Smoothing, Hlong FilterSize, Hlong Threshold, Hlong AngleGap, Hlong DistGap, const HString& GenLines, HTuple* Angle, HTuple* Dist) const;
- // Detect lines in edge images with the help of the Hough transform using local gradient direction and return them in normal form.
- HImage HoughLinesDir(HRegion* Lines, Hlong DirectionUncertainty, Hlong AngleResolution, const char* Smoothing, Hlong FilterSize, Hlong Threshold, Hlong AngleGap, Hlong DistGap, const char* GenLines, HTuple* Angle, HTuple* Dist) const;
- #ifdef _WIN32
- // Detect lines in edge images with the help of the Hough transform using local gradient direction and return them in normal form.
- HImage HoughLinesDir(HRegion* Lines, Hlong DirectionUncertainty, Hlong AngleResolution, const wchar_t* Smoothing, Hlong FilterSize, Hlong Threshold, Hlong AngleGap, Hlong DistGap, const wchar_t* GenLines, HTuple* Angle, HTuple* Dist) const;
- #endif
- // Compute the Hough transform for lines using local gradient direction.
- HImage HoughLineTransDir(Hlong DirectionUncertainty, Hlong AngleResolution) const;
- // Segment the rectification grid region in the image.
- HRegion FindRectificationGrid(const HTuple& MinContrast, const HTuple& Radius) const;
- // Segment the rectification grid region in the image.
- HRegion FindRectificationGrid(double MinContrast, double Radius) const;
- // Establish connections between the grid points of the rectification grid.
- HXLD ConnectGridPoints(const HTuple& Row, const HTuple& Column, const HTuple& Sigma, const HTuple& MaxDist) const;
- // Establish connections between the grid points of the rectification grid.
- HXLD ConnectGridPoints(const HTuple& Row, const HTuple& Column, Hlong Sigma, double MaxDist) const;
- // Compute the mapping between the distorted image and the rectified image based upon the points of a regular grid.
- HImage GenGridRectificationMap(const HXLD& ConnectingLines, HXLD* Meshes, Hlong GridSpacing, const HTuple& Rotation, const HTuple& Row, const HTuple& Column, const HString& MapType) const;
- // Compute the mapping between the distorted image and the rectified image based upon the points of a regular grid.
- HImage GenGridRectificationMap(const HXLD& ConnectingLines, HXLD* Meshes, Hlong GridSpacing, const HString& Rotation, const HTuple& Row, const HTuple& Column, const HString& MapType) const;
- // Compute the mapping between the distorted image and the rectified image based upon the points of a regular grid.
- HImage GenGridRectificationMap(const HXLD& ConnectingLines, HXLD* Meshes, Hlong GridSpacing, const char* Rotation, const HTuple& Row, const HTuple& Column, const char* MapType) const;
- #ifdef _WIN32
- // Compute the mapping between the distorted image and the rectified image based upon the points of a regular grid.
- HImage GenGridRectificationMap(const HXLD& ConnectingLines, HXLD* Meshes, Hlong GridSpacing, const wchar_t* Rotation, const HTuple& Row, const HTuple& Column, const wchar_t* MapType) const;
- #endif
- // Calculates image coordinates for a point in a 3D plot window.
- void UnprojectCoordinates(const HWindow& WindowHandle, const HTuple& Row, const HTuple& Column, Hlong* ImageRow, Hlong* ImageColumn, HTuple* Height) const;
- // Calculates image coordinates for a point in a 3D plot window.
- void UnprojectCoordinates(const HWindow& WindowHandle, double Row, double Column, Hlong* ImageRow, Hlong* ImageColumn, Hlong* Height) const;
- // Write the window content in an image object.
- void DumpWindowImage(const HWindow& WindowHandle);
- // Displays gray value images.
- void DispImage(const HWindow& WindowHandle) const;
- // Displays images with several channels.
- void DispChannel(const HWindow& WindowHandle, const HTuple& Channel) const;
- // Displays images with several channels.
- void DispChannel(const HWindow& WindowHandle, Hlong Channel) const;
- // Displays a color (RGB) image
- void DispColor(const HWindow& WindowHandle) const;
- // Visualize images using gnuplot.
- void GnuplotPlotImage(const HGnuplot& GnuplotFileID, Hlong SamplesX, Hlong SamplesY, const HTuple& ViewRotX, const HTuple& ViewRotZ, const HString& Hidden3D) const;
- // Visualize images using gnuplot.
- void GnuplotPlotImage(const HGnuplot& GnuplotFileID, Hlong SamplesX, Hlong SamplesY, double ViewRotX, double ViewRotZ, const HString& Hidden3D) const;
- // Visualize images using gnuplot.
- void GnuplotPlotImage(const HGnuplot& GnuplotFileID, Hlong SamplesX, Hlong SamplesY, double ViewRotX, double ViewRotZ, const char* Hidden3D) const;
- #ifdef _WIN32
- // Visualize images using gnuplot.
- void GnuplotPlotImage(const HGnuplot& GnuplotFileID, Hlong SamplesX, Hlong SamplesY, double ViewRotX, double ViewRotZ, const wchar_t* Hidden3D) const;
- #endif
- // Filter an image using a Laws texture filter.
- HImage TextureLaws(const HString& FilterTypes, Hlong Shift, Hlong FilterSize) const;
- // Filter an image using a Laws texture filter.
- HImage TextureLaws(const char* FilterTypes, Hlong Shift, Hlong FilterSize) const;
- #ifdef _WIN32
- // Filter an image using a Laws texture filter.
- HImage TextureLaws(const wchar_t* FilterTypes, Hlong Shift, Hlong FilterSize) const;
- #endif
- // Calculate the standard deviation of gray values within rectangular windows.
- HImage DeviationImage(Hlong Width, Hlong Height) const;
- // Calculate the entropy of gray values within a rectangular window.
- HImage EntropyImage(Hlong Width, Hlong Height) const;
- // Perform an isotropic diffusion of an image.
- HImage IsotropicDiffusion(double Sigma, Hlong Iterations) const;
- // Perform an anisotropic diffusion of an image.
- HImage AnisotropicDiffusion(const HString& Mode, double Contrast, double Theta, Hlong Iterations) const;
- // Perform an anisotropic diffusion of an image.
- HImage AnisotropicDiffusion(const char* Mode, double Contrast, double Theta, Hlong Iterations) const;
- #ifdef _WIN32
- // Perform an anisotropic diffusion of an image.
- HImage AnisotropicDiffusion(const wchar_t* Mode, double Contrast, double Theta, Hlong Iterations) const;
- #endif
- // Smooth an image using various filters.
- HImage SmoothImage(const HString& Filter, double Alpha) const;
- // Smooth an image using various filters.
- HImage SmoothImage(const char* Filter, double Alpha) const;
- #ifdef _WIN32
- // Smooth an image using various filters.
- HImage SmoothImage(const wchar_t* Filter, double Alpha) const;
- #endif
- // Non-linear smoothing with the sigma filter.
- HImage SigmaImage(Hlong MaskHeight, Hlong MaskWidth, Hlong Sigma) const;
- // Calculate the average of maximum and minimum inside any mask.
- HImage MidrangeImage(const HRegion& Mask, const HTuple& Margin) const;
- // Calculate the average of maximum and minimum inside any mask.
- HImage MidrangeImage(const HRegion& Mask, const HString& Margin) const;
- // Calculate the average of maximum and minimum inside any mask.
- HImage MidrangeImage(const HRegion& Mask, const char* Margin) const;
- #ifdef _WIN32
- // Calculate the average of maximum and minimum inside any mask.
- HImage MidrangeImage(const HRegion& Mask, const wchar_t* Margin) const;
- #endif
- // Smooth an image with an arbitrary rank mask.
- HImage TrimmedMean(const HRegion& Mask, Hlong Number, const HTuple& Margin) const;
- // Smooth an image with an arbitrary rank mask.
- HImage TrimmedMean(const HRegion& Mask, Hlong Number, const HString& Margin) const;
- // Smooth an image with an arbitrary rank mask.
- HImage TrimmedMean(const HRegion& Mask, Hlong Number, const char* Margin) const;
- #ifdef _WIN32
- // Smooth an image with an arbitrary rank mask.
- HImage TrimmedMean(const HRegion& Mask, Hlong Number, const wchar_t* Margin) const;
- #endif
- // Separated median filtering with rectangle masks.
- HImage MedianSeparate(Hlong MaskWidth, Hlong MaskHeight, const HTuple& Margin) const;
- // Separated median filtering with rectangle masks.
- HImage MedianSeparate(Hlong MaskWidth, Hlong MaskHeight, const HString& Margin) const;
- // Separated median filtering with rectangle masks.
- HImage MedianSeparate(Hlong MaskWidth, Hlong MaskHeight, const char* Margin) const;
- #ifdef _WIN32
- // Separated median filtering with rectangle masks.
- HImage MedianSeparate(Hlong MaskWidth, Hlong MaskHeight, const wchar_t* Margin) const;
- #endif
- // Compute a median filter with rectangular masks.
- HImage MedianRect(Hlong MaskWidth, Hlong MaskHeight) const;
- // Compute a median filter with various masks.
- HImage MedianImage(const HString& MaskType, Hlong Radius, const HTuple& Margin) const;
- // Compute a median filter with various masks.
- HImage MedianImage(const HString& MaskType, Hlong Radius, const HString& Margin) const;
- // Compute a median filter with various masks.
- HImage MedianImage(const char* MaskType, Hlong Radius, const char* Margin) const;
- #ifdef _WIN32
- // Compute a median filter with various masks.
- HImage MedianImage(const wchar_t* MaskType, Hlong Radius, const wchar_t* Margin) const;
- #endif
- // Weighted median filtering with different rank masks.
- HImage MedianWeighted(const HString& MaskType, Hlong MaskSize) const;
- // Weighted median filtering with different rank masks.
- HImage MedianWeighted(const char* MaskType, Hlong MaskSize) const;
- #ifdef _WIN32
- // Weighted median filtering with different rank masks.
- HImage MedianWeighted(const wchar_t* MaskType, Hlong MaskSize) const;
- #endif
- // Compute a rank filter with rectangular masks.
- HImage RankRect(Hlong MaskWidth, Hlong MaskHeight, Hlong Rank) const;
- // Compute a rank filter with arbitrary masks.
- HImage RankImage(const HRegion& Mask, Hlong Rank, const HTuple& Margin) const;
- // Compute a rank filter with arbitrary masks.
- HImage RankImage(const HRegion& Mask, Hlong Rank, const HString& Margin) const;
- // Compute a rank filter with arbitrary masks.
- HImage RankImage(const HRegion& Mask, Hlong Rank, const char* Margin) const;
- #ifdef _WIN32
- // Compute a rank filter with arbitrary masks.
- HImage RankImage(const HRegion& Mask, Hlong Rank, const wchar_t* Margin) const;
- #endif
- // Opening, Median and Closing with circle or rectangle mask.
- HImage DualRank(const HString& MaskType, Hlong Radius, Hlong ModePercent, const HTuple& Margin) const;
- // Opening, Median and Closing with circle or rectangle mask.
- HImage DualRank(const HString& MaskType, Hlong Radius, Hlong ModePercent, const HString& Margin) const;
- // Opening, Median and Closing with circle or rectangle mask.
- HImage DualRank(const char* MaskType, Hlong Radius, Hlong ModePercent, const char* Margin) const;
- #ifdef _WIN32
- // Opening, Median and Closing with circle or rectangle mask.
- HImage DualRank(const wchar_t* MaskType, Hlong Radius, Hlong ModePercent, const wchar_t* Margin) const;
- #endif
- // Smooth by averaging.
- HImage MeanImage(Hlong MaskWidth, Hlong MaskHeight) const;
- // Smooth an image using the binomial filter.
- HImage BinomialFilter(Hlong MaskWidth, Hlong MaskHeight) const;
- // Smooth an image using discrete Gaussian functions.
- HImage GaussImage(Hlong Size) const;
- // Smooth using discrete gauss functions.
- HImage GaussFilter(Hlong Size) const;
- // Smooth an image in the spatial domain to suppress noise.
- HImage EliminateMinMax(Hlong MaskWidth, Hlong MaskHeight, double Gap, Hlong Mode) const;
- // Interpolate 2 video half images.
- HImage FillInterlace(const HString& Mode) const;
- // Interpolate 2 video half images.
- HImage FillInterlace(const char* Mode) const;
- #ifdef _WIN32
- // Interpolate 2 video half images.
- HImage FillInterlace(const wchar_t* Mode) const;
- #endif
- // Return gray values with given rank from multiple channels.
- HImage RankN(Hlong RankIndex) const;
- // Average gray values over several channels.
- HImage MeanN() const;
- // Replace values outside of thresholds with average value.
- HImage EliminateSp(Hlong MaskWidth, Hlong MaskHeight, Hlong MinThresh, Hlong MaxThresh) const;
- // Suppress salt and pepper noise.
- HImage MeanSp(Hlong MaskWidth, Hlong MaskHeight, Hlong MinThresh, Hlong MaxThresh) const;
- // Find corners using the Sojka operator.
- void PointsSojka(Hlong MaskSize, const HTuple& SigmaW, const HTuple& SigmaD, const HTuple& MinGrad, const HTuple& MinApparentness, double MinAngle, const HString& Subpix, HTuple* Row, HTuple* Column) const;
- // Find corners using the Sojka operator.
- void PointsSojka(Hlong MaskSize, double SigmaW, double SigmaD, double MinGrad, double MinApparentness, double MinAngle, const HString& Subpix, HTuple* Row, HTuple* Column) const;
- // Find corners using the Sojka operator.
- void PointsSojka(Hlong MaskSize, double SigmaW, double SigmaD, double MinGrad, double MinApparentness, double MinAngle, const char* Subpix, HTuple* Row, HTuple* Column) const;
- #ifdef _WIN32
- // Find corners using the Sojka operator.
- void PointsSojka(Hlong MaskSize, double SigmaW, double SigmaD, double MinGrad, double MinApparentness, double MinAngle, const wchar_t* Subpix, HTuple* Row, HTuple* Column) const;
- #endif
- // Enhance circular dots in an image.
- HImage DotsImage(Hlong Diameter, const HString& FilterType, Hlong PixelShift) const;
- // Enhance circular dots in an image.
- HImage DotsImage(Hlong Diameter, const char* FilterType, Hlong PixelShift) const;
- #ifdef _WIN32
- // Enhance circular dots in an image.
- HImage DotsImage(Hlong Diameter, const wchar_t* FilterType, Hlong PixelShift) const;
- #endif
- // Subpixel precise detection of local minima in an image.
- void LocalMinSubPix(const HString& Filter, double Sigma, double Threshold, HTuple* Row, HTuple* Column) const;
- // Subpixel precise detection of local minima in an image.
- void LocalMinSubPix(const char* Filter, double Sigma, double Threshold, HTuple* Row, HTuple* Column) const;
- #ifdef _WIN32
- // Subpixel precise detection of local minima in an image.
- void LocalMinSubPix(const wchar_t* Filter, double Sigma, double Threshold, HTuple* Row, HTuple* Column) const;
- #endif
- // Subpixel precise detection of local maxima in an image.
- void LocalMaxSubPix(const HString& Filter, double Sigma, double Threshold, HTuple* Row, HTuple* Column) const;
- // Subpixel precise detection of local maxima in an image.
- void LocalMaxSubPix(const char* Filter, double Sigma, double Threshold, HTuple* Row, HTuple* Column) const;
- #ifdef _WIN32
- // Subpixel precise detection of local maxima in an image.
- void LocalMaxSubPix(const wchar_t* Filter, double Sigma, double Threshold, HTuple* Row, HTuple* Column) const;
- #endif
- // Subpixel precise detection of saddle points in an image.
- void SaddlePointsSubPix(const HString& Filter, double Sigma, double Threshold, HTuple* Row, HTuple* Column) const;
- // Subpixel precise detection of saddle points in an image.
- void SaddlePointsSubPix(const char* Filter, double Sigma, double Threshold, HTuple* Row, HTuple* Column) const;
- #ifdef _WIN32
- // Subpixel precise detection of saddle points in an image.
- void SaddlePointsSubPix(const wchar_t* Filter, double Sigma, double Threshold, HTuple* Row, HTuple* Column) const;
- #endif
- // Subpixel precise detection of critical points in an image.
- void CriticalPointsSubPix(const HString& Filter, double Sigma, double Threshold, HTuple* RowMin, HTuple* ColumnMin, HTuple* RowMax, HTuple* ColumnMax, HTuple* RowSaddle, HTuple* ColumnSaddle) const;
- // Subpixel precise detection of critical points in an image.
- void CriticalPointsSubPix(const char* Filter, double Sigma, double Threshold, HTuple* RowMin, HTuple* ColumnMin, HTuple* RowMax, HTuple* ColumnMax, HTuple* RowSaddle, HTuple* ColumnSaddle) const;
- #ifdef _WIN32
- // Subpixel precise detection of critical points in an image.
- void CriticalPointsSubPix(const wchar_t* Filter, double Sigma, double Threshold, HTuple* RowMin, HTuple* ColumnMin, HTuple* RowMax, HTuple* ColumnMax, HTuple* RowSaddle, HTuple* ColumnSaddle) const;
- #endif
- // Detect points of interest using the Harris operator.
- void PointsHarris(double SigmaGrad, double SigmaSmooth, double Alpha, const HTuple& Threshold, HTuple* Row, HTuple* Column) const;
- // Detect points of interest using the Harris operator.
- void PointsHarris(double SigmaGrad, double SigmaSmooth, double Alpha, double Threshold, HTuple* Row, HTuple* Column) const;
- // Detect points of interest using the binomial approximation of the Harris operator.
- void PointsHarrisBinomial(Hlong MaskSizeGrad, Hlong MaskSizeSmooth, double Alpha, const HTuple& Threshold, const HString& Subpix, HTuple* Row, HTuple* Column) const;
- // Detect points of interest using the binomial approximation of the Harris operator.
- void PointsHarrisBinomial(Hlong MaskSizeGrad, Hlong MaskSizeSmooth, double Alpha, double Threshold, const HString& Subpix, HTuple* Row, HTuple* Column) const;
- // Detect points of interest using the binomial approximation of the Harris operator.
- void PointsHarrisBinomial(Hlong MaskSizeGrad, Hlong MaskSizeSmooth, double Alpha, double Threshold, const char* Subpix, HTuple* Row, HTuple* Column) const;
- #ifdef _WIN32
- // Detect points of interest using the binomial approximation of the Harris operator.
- void PointsHarrisBinomial(Hlong MaskSizeGrad, Hlong MaskSizeSmooth, double Alpha, double Threshold, const wchar_t* Subpix, HTuple* Row, HTuple* Column) const;
- #endif
- // Detect points of interest using the Lepetit operator.
- void PointsLepetit(Hlong Radius, Hlong CheckNeighbor, Hlong MinCheckNeighborDiff, Hlong MinScore, const HString& Subpix, HTuple* Row, HTuple* Column) const;
- // Detect points of interest using the Lepetit operator.
- void PointsLepetit(Hlong Radius, Hlong CheckNeighbor, Hlong MinCheckNeighborDiff, Hlong MinScore, const char* Subpix, HTuple* Row, HTuple* Column) const;
- #ifdef _WIN32
- // Detect points of interest using the Lepetit operator.
- void PointsLepetit(Hlong Radius, Hlong CheckNeighbor, Hlong MinCheckNeighborDiff, Hlong MinScore, const wchar_t* Subpix, HTuple* Row, HTuple* Column) const;
- #endif
- // Detect points of interest using the Foerstner operator.
- void PointsFoerstner(const HTuple& SigmaGrad, const HTuple& SigmaInt, const HTuple& SigmaPoints, const HTuple& ThreshInhom, double ThreshShape, const HString& Smoothing, const HString& EliminateDoublets, HTuple* RowJunctions, HTuple* ColumnJunctions, HTuple* CoRRJunctions, HTuple* CoRCJunctions, HTuple* CoCCJunctions, HTuple* RowArea, HTuple* ColumnArea, HTuple* CoRRArea, HTuple* CoRCArea, HTuple* CoCCArea) const;
- // Detect points of interest using the Foerstner operator.
- void PointsFoerstner(double SigmaGrad, double SigmaInt, double SigmaPoints, double ThreshInhom, double ThreshShape, const HString& Smoothing, const HString& EliminateDoublets, HTuple* RowJunctions, HTuple* ColumnJunctions, HTuple* CoRRJunctions, HTuple* CoRCJunctions, HTuple* CoCCJunctions, HTuple* RowArea, HTuple* ColumnArea, HTuple* CoRRArea, HTuple* CoRCArea, HTuple* CoCCArea) const;
- // Detect points of interest using the Foerstner operator.
- void PointsFoerstner(double SigmaGrad, double SigmaInt, double SigmaPoints, double ThreshInhom, double ThreshShape, const char* Smoothing, const char* EliminateDoublets, HTuple* RowJunctions, HTuple* ColumnJunctions, HTuple* CoRRJunctions, HTuple* CoRCJunctions, HTuple* CoCCJunctions, HTuple* RowArea, HTuple* ColumnArea, HTuple* CoRRArea, HTuple* CoRCArea, HTuple* CoCCArea) const;
- #ifdef _WIN32
- // Detect points of interest using the Foerstner operator.
- void PointsFoerstner(double SigmaGrad, double SigmaInt, double SigmaPoints, double ThreshInhom, double ThreshShape, const wchar_t* Smoothing, const wchar_t* EliminateDoublets, HTuple* RowJunctions, HTuple* ColumnJunctions, HTuple* CoRRJunctions, HTuple* CoRCJunctions, HTuple* CoCCJunctions, HTuple* RowArea, HTuple* ColumnArea, HTuple* CoRRArea, HTuple* CoRCArea, HTuple* CoCCArea) const;
- #endif
- // Estimate the image noise from a single image.
- HTuple EstimateNoise(const HString& Method, const HTuple& Percent) const;
- // Estimate the image noise from a single image.
- double EstimateNoise(const HString& Method, double Percent) const;
- // Estimate the image noise from a single image.
- double EstimateNoise(const char* Method, double Percent) const;
- #ifdef _WIN32
- // Estimate the image noise from a single image.
- double EstimateNoise(const wchar_t* Method, double Percent) const;
- #endif
- // Determine the noise distribution of an image.
- HTuple NoiseDistributionMean(const HRegion& ConstRegion, Hlong FilterSize) const;
- // Add noise to an image.
- HImage AddNoiseWhite(double Amp) const;
- // Add noise to an image.
- HImage AddNoiseDistribution(const HTuple& Distribution) const;
- // Calculate standard deviation over several channels.
- HImage DeviationN() const;
- // Perform an inpainting by texture propagation.
- HImage InpaintingTexture(const HRegion& Region, Hlong MaskSize, Hlong SearchSize, double Anisotropy, const HString& PostIteration, double Smoothness) const;
- // Perform an inpainting by texture propagation.
- HImage InpaintingTexture(const HRegion& Region, Hlong MaskSize, Hlong SearchSize, double Anisotropy, const char* PostIteration, double Smoothness) const;
- #ifdef _WIN32
- // Perform an inpainting by texture propagation.
- HImage InpaintingTexture(const HRegion& Region, Hlong MaskSize, Hlong SearchSize, double Anisotropy, const wchar_t* PostIteration, double Smoothness) const;
- #endif
- // Perform an inpainting by coherence transport.
- HImage InpaintingCt(const HRegion& Region, double Epsilon, double Kappa, double Sigma, double Rho, const HTuple& ChannelCoefficients) const;
- // Perform an inpainting by coherence transport.
- HImage InpaintingCt(const HRegion& Region, double Epsilon, double Kappa, double Sigma, double Rho, double ChannelCoefficients) const;
- // Perform an inpainting by smoothing of level lines.
- HImage InpaintingMcf(const HRegion& Region, double Sigma, double Theta, Hlong Iterations) const;
- // Perform an inpainting by coherence enhancing diffusion.
- HImage InpaintingCed(const HRegion& Region, double Sigma, double Rho, double Theta, Hlong Iterations) const;
- // Perform an inpainting by anisotropic diffusion.
- HImage InpaintingAniso(const HRegion& Region, const HString& Mode, double Contrast, double Theta, Hlong Iterations, double Rho) const;
- // Perform an inpainting by anisotropic diffusion.
- HImage InpaintingAniso(const HRegion& Region, const char* Mode, double Contrast, double Theta, Hlong Iterations, double Rho) const;
- #ifdef _WIN32
- // Perform an inpainting by anisotropic diffusion.
- HImage InpaintingAniso(const HRegion& Region, const wchar_t* Mode, double Contrast, double Theta, Hlong Iterations, double Rho) const;
- #endif
- // Perform a harmonic interpolation on an image region.
- HImage HarmonicInterpolation(const HRegion& Region, double Precision) const;
- // Expand the domain of an image and set the gray values in the expanded domain.
- HImage ExpandDomainGray(Hlong ExpansionRange) const;
- // Compute the topographic primal sketch of an image.
- HImage TopographicSketch() const;
- // Compute an affine transformation of the color values of a multichannel image.
- HImage LinearTransColor(const HTuple& TransMat) const;
- // Compute the transformation matrix of the principal component analysis of multichannel images.
- HTuple GenPrincipalCompTrans(HTuple* TransInv, HTuple* Mean, HTuple* Cov, HTuple* InfoPerComp) const;
- // Compute the principal components of multichannel images.
- HImage PrincipalComp(HTuple* InfoPerComp) const;
- // Determine the fuzzy entropy of regions.
- HTuple FuzzyEntropy(const HRegion& Regions, Hlong Apar, Hlong Cpar) const;
- // Calculate the fuzzy perimeter of a region.
- HTuple FuzzyPerimeter(const HRegion& Regions, Hlong Apar, Hlong Cpar) const;
- // Perform a gray value closing with a selected mask.
- HImage GrayClosingShape(const HTuple& MaskHeight, const HTuple& MaskWidth, const HString& MaskShape) const;
- // Perform a gray value closing with a selected mask.
- HImage GrayClosingShape(double MaskHeight, double MaskWidth, const HString& MaskShape) const;
- // Perform a gray value closing with a selected mask.
- HImage GrayClosingShape(double MaskHeight, double MaskWidth, const char* MaskShape) const;
- #ifdef _WIN32
- // Perform a gray value closing with a selected mask.
- HImage GrayClosingShape(double MaskHeight, double MaskWidth, const wchar_t* MaskShape) const;
- #endif
- // Perform a gray value opening with a selected mask.
- HImage GrayOpeningShape(const HTuple& MaskHeight, const HTuple& MaskWidth, const HString& MaskShape) const;
- // Perform a gray value opening with a selected mask.
- HImage GrayOpeningShape(double MaskHeight, double MaskWidth, const HString& MaskShape) const;
- // Perform a gray value opening with a selected mask.
- HImage GrayOpeningShape(double MaskHeight, double MaskWidth, const char* MaskShape) const;
- #ifdef _WIN32
- // Perform a gray value opening with a selected mask.
- HImage GrayOpeningShape(double MaskHeight, double MaskWidth, const wchar_t* MaskShape) const;
- #endif
- // Determine the minimum gray value within a selected mask.
- HImage GrayErosionShape(const HTuple& MaskHeight, const HTuple& MaskWidth, const HString& MaskShape) const;
- // Determine the minimum gray value within a selected mask.
- HImage GrayErosionShape(double MaskHeight, double MaskWidth, const HString& MaskShape) const;
- // Determine the minimum gray value within a selected mask.
- HImage GrayErosionShape(double MaskHeight, double MaskWidth, const char* MaskShape) const;
- #ifdef _WIN32
- // Determine the minimum gray value within a selected mask.
- HImage GrayErosionShape(double MaskHeight, double MaskWidth, const wchar_t* MaskShape) const;
- #endif
- // Determine the maximum gray value within a selected mask.
- HImage GrayDilationShape(const HTuple& MaskHeight, const HTuple& MaskWidth, const HString& MaskShape) const;
- // Determine the maximum gray value within a selected mask.
- HImage GrayDilationShape(double MaskHeight, double MaskWidth, const HString& MaskShape) const;
- // Determine the maximum gray value within a selected mask.
- HImage GrayDilationShape(double MaskHeight, double MaskWidth, const char* MaskShape) const;
- #ifdef _WIN32
- // Determine the maximum gray value within a selected mask.
- HImage GrayDilationShape(double MaskHeight, double MaskWidth, const wchar_t* MaskShape) const;
- #endif
- // Determine the gray value range within a rectangle.
- HImage GrayRangeRect(Hlong MaskHeight, Hlong MaskWidth) const;
- // Perform a gray value closing with a rectangular mask.
- HImage GrayClosingRect(Hlong MaskHeight, Hlong MaskWidth) const;
- // Perform a gray value opening with a rectangular mask.
- HImage GrayOpeningRect(Hlong MaskHeight, Hlong MaskWidth) const;
- // Determine the minimum gray value within a rectangle.
- HImage GrayErosionRect(Hlong MaskHeight, Hlong MaskWidth) const;
- // Determine the maximum gray value within a rectangle.
- HImage GrayDilationRect(Hlong MaskHeight, Hlong MaskWidth) const;
- // Thinning of gray value images.
- HImage GraySkeleton() const;
- // Transform an image with a gray-value look-up-table
- HImage LutTrans(const HTuple& Lut) const;
- // Calculate the correlation between an image and an arbitrary filter mask
- HImage ConvolImage(const HTuple& FilterMask, const HTuple& Margin) const;
- // Calculate the correlation between an image and an arbitrary filter mask
- HImage ConvolImage(const HString& FilterMask, const HString& Margin) const;
- // Calculate the correlation between an image and an arbitrary filter mask
- HImage ConvolImage(const char* FilterMask, const char* Margin) const;
- #ifdef _WIN32
- // Calculate the correlation between an image and an arbitrary filter mask
- HImage ConvolImage(const wchar_t* FilterMask, const wchar_t* Margin) const;
- #endif
- // Convert the type of an image.
- HImage ConvertImageType(const HString& NewType) const;
- // Convert the type of an image.
- HImage ConvertImageType(const char* NewType) const;
- #ifdef _WIN32
- // Convert the type of an image.
- HImage ConvertImageType(const wchar_t* NewType) const;
- #endif
- // Convert two real-valued images into a vector field image.
- HImage RealToVectorField(const HImage& Col, const HString& Type) const;
- // Convert two real-valued images into a vector field image.
- HImage RealToVectorField(const HImage& Col, const char* Type) const;
- #ifdef _WIN32
- // Convert two real-valued images into a vector field image.
- HImage RealToVectorField(const HImage& Col, const wchar_t* Type) const;
- #endif
- // Convert a vector field image into two real-valued images.
- HImage VectorFieldToReal(HImage* Col) const;
- // Convert two real images into a complex image.
- HImage RealToComplex(const HImage& ImageImaginary) const;
- // Convert a complex image into two real images.
- HImage ComplexToReal(HImage* ImageImaginary) const;
- // Paint regions with their average gray value.
- HImage RegionToMean(const HRegion& Regions) const;
- // Calculate the lowest possible gray value on an arbitrary path to the image border for each point in the image.
- HImage GrayInside() const;
- // Symmetry of gray values along a row.
- HImage Symmetry(Hlong MaskSize, double Direction, double Exponent) const;
- // Selection of gray values of a multi-channel image using an index image.
- HImage SelectGrayvaluesFromChannels(const HImage& IndexImage) const;
- // Extract depth using multiple focus levels.
- HImage DepthFromFocus(HImage* Confidence, const HTuple& Filter, const HTuple& Selection) const;
- // Extract depth using multiple focus levels.
- HImage DepthFromFocus(HImage* Confidence, const HString& Filter, const HString& Selection) const;
- // Extract depth using multiple focus levels.
- HImage DepthFromFocus(HImage* Confidence, const char* Filter, const char* Selection) const;
- #ifdef _WIN32
- // Extract depth using multiple focus levels.
- HImage DepthFromFocus(HImage* Confidence, const wchar_t* Filter, const wchar_t* Selection) const;
- #endif
- // Compute the uncalibrated scene flow between two stereo image pairs.
- HImage SceneFlowUncalib(const HImage& ImageRect2T1, const HImage& ImageRect1T2, const HImage& ImageRect2T2, const HImage& Disparity, HImage* DisparityChange, const HTuple& SmoothingFlow, const HTuple& SmoothingDisparity, const HTuple& GenParamName, const HTuple& GenParamValue) const;
- // Compute the uncalibrated scene flow between two stereo image pairs.
- HImage SceneFlowUncalib(const HImage& ImageRect2T1, const HImage& ImageRect1T2, const HImage& ImageRect2T2, const HImage& Disparity, HImage* DisparityChange, double SmoothingFlow, double SmoothingDisparity, const HString& GenParamName, const HString& GenParamValue) const;
- // Compute the uncalibrated scene flow between two stereo image pairs.
- HImage SceneFlowUncalib(const HImage& ImageRect2T1, const HImage& ImageRect1T2, const HImage& ImageRect2T2, const HImage& Disparity, HImage* DisparityChange, double SmoothingFlow, double SmoothingDisparity, const char* GenParamName, const char* GenParamValue) const;
- #ifdef _WIN32
- // Compute the uncalibrated scene flow between two stereo image pairs.
- HImage SceneFlowUncalib(const HImage& ImageRect2T1, const HImage& ImageRect1T2, const HImage& ImageRect2T2, const HImage& Disparity, HImage* DisparityChange, double SmoothingFlow, double SmoothingDisparity, const wchar_t* GenParamName, const wchar_t* GenParamValue) const;
- #endif
- // Unwarp an image using a vector field.
- HImage UnwarpImageVectorField(const HImage& VectorField) const;
- // Convolve a vector field with derivatives of the Gaussian.
- HImage DerivateVectorField(const HTuple& Sigma, const HString& Component) const;
- // Convolve a vector field with derivatives of the Gaussian.
- HImage DerivateVectorField(double Sigma, const HString& Component) const;
- // Convolve a vector field with derivatives of the Gaussian.
- HImage DerivateVectorField(double Sigma, const char* Component) const;
- #ifdef _WIN32
- // Convolve a vector field with derivatives of the Gaussian.
- HImage DerivateVectorField(double Sigma, const wchar_t* Component) const;
- #endif
- // Compute the length of the vectors of a vector field.
- HImage VectorFieldLength(const HString& Mode) const;
- // Compute the length of the vectors of a vector field.
- HImage VectorFieldLength(const char* Mode) const;
- #ifdef _WIN32
- // Compute the length of the vectors of a vector field.
- HImage VectorFieldLength(const wchar_t* Mode) const;
- #endif
- // Compute the optical flow between two images.
- HImage OpticalFlowMg(const HImage& ImageT2, const HString& Algorithm, double SmoothingSigma, double IntegrationSigma, double FlowSmoothness, double GradientConstancy, const HTuple& MGParamName, const HTuple& MGParamValue) const;
- // Compute the optical flow between two images.
- HImage OpticalFlowMg(const HImage& ImageT2, const HString& Algorithm, double SmoothingSigma, double IntegrationSigma, double FlowSmoothness, double GradientConstancy, const HString& MGParamName, const HString& MGParamValue) const;
- // Compute the optical flow between two images.
- HImage OpticalFlowMg(const HImage& ImageT2, const char* Algorithm, double SmoothingSigma, double IntegrationSigma, double FlowSmoothness, double GradientConstancy, const char* MGParamName, const char* MGParamValue) const;
- #ifdef _WIN32
- // Compute the optical flow between two images.
- HImage OpticalFlowMg(const HImage& ImageT2, const wchar_t* Algorithm, double SmoothingSigma, double IntegrationSigma, double FlowSmoothness, double GradientConstancy, const wchar_t* MGParamName, const wchar_t* MGParamValue) const;
- #endif
- // Matching a template and an image in a resolution pyramid.
- HImage ExhaustiveMatchMg(const HImage& ImageTemplate, const HString& Mode, Hlong Level, Hlong Threshold) const;
- // Matching a template and an image in a resolution pyramid.
- HImage ExhaustiveMatchMg(const HImage& ImageTemplate, const char* Mode, Hlong Level, Hlong Threshold) const;
- #ifdef _WIN32
- // Matching a template and an image in a resolution pyramid.
- HImage ExhaustiveMatchMg(const HImage& ImageTemplate, const wchar_t* Mode, Hlong Level, Hlong Threshold) const;
- #endif
- // Preparing a pattern for template matching with rotation.
- HTemplate CreateTemplateRot(Hlong NumLevel, double AngleStart, double AngleExtend, double AngleStep, const HString& Optimize, const HString& GrayValues) const;
- // Preparing a pattern for template matching with rotation.
- HTemplate CreateTemplateRot(Hlong NumLevel, double AngleStart, double AngleExtend, double AngleStep, const char* Optimize, const char* GrayValues) const;
- #ifdef _WIN32
- // Preparing a pattern for template matching with rotation.
- HTemplate CreateTemplateRot(Hlong NumLevel, double AngleStart, double AngleExtend, double AngleStep, const wchar_t* Optimize, const wchar_t* GrayValues) const;
- #endif
- // Preparing a pattern for template matching.
- HTemplate CreateTemplate(Hlong FirstError, Hlong NumLevel, const HString& Optimize, const HString& GrayValues) const;
- // Preparing a pattern for template matching.
- HTemplate CreateTemplate(Hlong FirstError, Hlong NumLevel, const char* Optimize, const char* GrayValues) const;
- #ifdef _WIN32
- // Preparing a pattern for template matching.
- HTemplate CreateTemplate(Hlong FirstError, Hlong NumLevel, const wchar_t* Optimize, const wchar_t* GrayValues) const;
- #endif
- // Adapting a template to the size of an image.
- void AdaptTemplate(const HTemplate& TemplateID) const;
- // Searching all good gray value matches in a pyramid.
- HRegion FastMatchMg(const HTemplate& TemplateID, double MaxError, const HTuple& NumLevel) const;
- // Searching all good gray value matches in a pyramid.
- HRegion FastMatchMg(const HTemplate& TemplateID, double MaxError, Hlong NumLevel) const;
- // Searching the best gray value matches in a pre generated pyramid.
- void BestMatchPreMg(const HTemplate& TemplateID, double MaxError, const HString& SubPixel, Hlong NumLevels, const HTuple& WhichLevels, double* Row, double* Column, double* Error) const;
- // Searching the best gray value matches in a pre generated pyramid.
- void BestMatchPreMg(const HTemplate& TemplateID, double MaxError, const HString& SubPixel, Hlong NumLevels, Hlong WhichLevels, double* Row, double* Column, double* Error) const;
- // Searching the best gray value matches in a pre generated pyramid.
- void BestMatchPreMg(const HTemplate& TemplateID, double MaxError, const char* SubPixel, Hlong NumLevels, Hlong WhichLevels, double* Row, double* Column, double* Error) const;
- #ifdef _WIN32
- // Searching the best gray value matches in a pre generated pyramid.
- void BestMatchPreMg(const HTemplate& TemplateID, double MaxError, const wchar_t* SubPixel, Hlong NumLevels, Hlong WhichLevels, double* Row, double* Column, double* Error) const;
- #endif
- // Searching the best gray value matches in a pyramid.
- void BestMatchMg(const HTemplate& TemplateID, double MaxError, const HString& SubPixel, Hlong NumLevels, const HTuple& WhichLevels, double* Row, double* Column, double* Error) const;
- // Searching the best gray value matches in a pyramid.
- void BestMatchMg(const HTemplate& TemplateID, double MaxError, const HString& SubPixel, Hlong NumLevels, Hlong WhichLevels, double* Row, double* Column, double* Error) const;
- // Searching the best gray value matches in a pyramid.
- void BestMatchMg(const HTemplate& TemplateID, double MaxError, const char* SubPixel, Hlong NumLevels, Hlong WhichLevels, double* Row, double* Column, double* Error) const;
- #ifdef _WIN32
- // Searching the best gray value matches in a pyramid.
- void BestMatchMg(const HTemplate& TemplateID, double MaxError, const wchar_t* SubPixel, Hlong NumLevels, Hlong WhichLevels, double* Row, double* Column, double* Error) const;
- #endif
- // Searching all good matches of a template and an image.
- HRegion FastMatch(const HTemplate& TemplateID, double MaxError) const;
- // Searching the best matching of a template and a pyramid with rotation.
- void BestMatchRotMg(const HTemplate& TemplateID, double AngleStart, double AngleExtend, double MaxError, const HString& SubPixel, Hlong NumLevels, HTuple* Row, HTuple* Column, HTuple* Angle, HTuple* Error) const;
- // Searching the best matching of a template and a pyramid with rotation.
- void BestMatchRotMg(const HTemplate& TemplateID, double AngleStart, double AngleExtend, double MaxError, const HString& SubPixel, Hlong NumLevels, double* Row, double* Column, double* Angle, double* Error) const;
- // Searching the best matching of a template and a pyramid with rotation.
- void BestMatchRotMg(const HTemplate& TemplateID, double AngleStart, double AngleExtend, double MaxError, const char* SubPixel, Hlong NumLevels, double* Row, double* Column, double* Angle, double* Error) const;
- #ifdef _WIN32
- // Searching the best matching of a template and a pyramid with rotation.
- void BestMatchRotMg(const HTemplate& TemplateID, double AngleStart, double AngleExtend, double MaxError, const wchar_t* SubPixel, Hlong NumLevels, double* Row, double* Column, double* Angle, double* Error) const;
- #endif
- // Searching the best matching of a template and an image with rotation.
- void BestMatchRot(const HTemplate& TemplateID, double AngleStart, double AngleExtend, double MaxError, const HString& SubPixel, HTuple* Row, HTuple* Column, HTuple* Angle, HTuple* Error) const;
- // Searching the best matching of a template and an image with rotation.
- void BestMatchRot(const HTemplate& TemplateID, double AngleStart, double AngleExtend, double MaxError, const HString& SubPixel, double* Row, double* Column, double* Angle, double* Error) const;
- // Searching the best matching of a template and an image with rotation.
- void BestMatchRot(const HTemplate& TemplateID, double AngleStart, double AngleExtend, double MaxError, const char* SubPixel, double* Row, double* Column, double* Angle, double* Error) const;
- #ifdef _WIN32
- // Searching the best matching of a template and an image with rotation.
- void BestMatchRot(const HTemplate& TemplateID, double AngleStart, double AngleExtend, double MaxError, const wchar_t* SubPixel, double* Row, double* Column, double* Angle, double* Error) const;
- #endif
- // Searching the best matching of a template and an image.
- void BestMatch(const HTemplate& TemplateID, double MaxError, const HString& SubPixel, HTuple* Row, HTuple* Column, HTuple* Error) const;
- // Searching the best matching of a template and an image.
- void BestMatch(const HTemplate& TemplateID, double MaxError, const HString& SubPixel, double* Row, double* Column, double* Error) const;
- // Searching the best matching of a template and an image.
- void BestMatch(const HTemplate& TemplateID, double MaxError, const char* SubPixel, double* Row, double* Column, double* Error) const;
- #ifdef _WIN32
- // Searching the best matching of a template and an image.
- void BestMatch(const HTemplate& TemplateID, double MaxError, const wchar_t* SubPixel, double* Row, double* Column, double* Error) const;
- #endif
- // Matching of a template and an image.
- HImage ExhaustiveMatch(const HRegion& RegionOfInterest, const HImage& ImageTemplate, const HString& Mode) const;
- // Matching of a template and an image.
- HImage ExhaustiveMatch(const HRegion& RegionOfInterest, const HImage& ImageTemplate, const char* Mode) const;
- #ifdef _WIN32
- // Matching of a template and an image.
- HImage ExhaustiveMatch(const HRegion& RegionOfInterest, const HImage& ImageTemplate, const wchar_t* Mode) const;
- #endif
- // Searching corners in images.
- HImage CornerResponse(Hlong Size, double Weight) const;
- // Calculating a Gauss pyramid.
- HImage GenGaussPyramid(const HString& Mode, double Scale) const;
- // Calculating a Gauss pyramid.
- HImage GenGaussPyramid(const char* Mode, double Scale) const;
- #ifdef _WIN32
- // Calculating a Gauss pyramid.
- HImage GenGaussPyramid(const wchar_t* Mode, double Scale) const;
- #endif
- // Calculating the monotony operation.
- HImage Monotony() const;
- // Edge extraction using bandpass filters.
- HImage BandpassImage(const HString& FilterType) const;
- // Edge extraction using bandpass filters.
- HImage BandpassImage(const char* FilterType) const;
- #ifdef _WIN32
- // Edge extraction using bandpass filters.
- HImage BandpassImage(const wchar_t* FilterType) const;
- #endif
- // Detect color lines and their width.
- HXLDCont LinesColor(const HTuple& Sigma, const HTuple& Low, const HTuple& High, const HString& ExtractWidth, const HString& CompleteJunctions) const;
- // Detect color lines and their width.
- HXLDCont LinesColor(double Sigma, double Low, double High, const HString& ExtractWidth, const HString& CompleteJunctions) const;
- // Detect color lines and their width.
- HXLDCont LinesColor(double Sigma, double Low, double High, const char* ExtractWidth, const char* CompleteJunctions) const;
- #ifdef _WIN32
- // Detect color lines and their width.
- HXLDCont LinesColor(double Sigma, double Low, double High, const wchar_t* ExtractWidth, const wchar_t* CompleteJunctions) const;
- #endif
- // Detect lines and their width.
- HXLDCont LinesGauss(const HTuple& Sigma, const HTuple& Low, const HTuple& High, const HString& LightDark, const HString& ExtractWidth, const HString& LineModel, const HString& CompleteJunctions) const;
- // Detect lines and their width.
- HXLDCont LinesGauss(double Sigma, double Low, double High, const HString& LightDark, const HString& ExtractWidth, const HString& LineModel, const HString& CompleteJunctions) const;
- // Detect lines and their width.
- HXLDCont LinesGauss(double Sigma, double Low, double High, const char* LightDark, const char* ExtractWidth, const char* LineModel, const char* CompleteJunctions) const;
- #ifdef _WIN32
- // Detect lines and their width.
- HXLDCont LinesGauss(double Sigma, double Low, double High, const wchar_t* LightDark, const wchar_t* ExtractWidth, const wchar_t* LineModel, const wchar_t* CompleteJunctions) const;
- #endif
- // Detection of lines using the facet model.
- HXLDCont LinesFacet(Hlong MaskSize, const HTuple& Low, const HTuple& High, const HString& LightDark) const;
- // Detection of lines using the facet model.
- HXLDCont LinesFacet(Hlong MaskSize, double Low, double High, const HString& LightDark) const;
- // Detection of lines using the facet model.
- HXLDCont LinesFacet(Hlong MaskSize, double Low, double High, const char* LightDark) const;
- #ifdef _WIN32
- // Detection of lines using the facet model.
- HXLDCont LinesFacet(Hlong MaskSize, double Low, double High, const wchar_t* LightDark) const;
- #endif
- // Store a filter mask in the spatial domain as a real-image.
- void GenFilterMask(const HTuple& FilterMask, double Scale, Hlong Width, Hlong Height);
- // Store a filter mask in the spatial domain as a real-image.
- void GenFilterMask(const HString& FilterMask, double Scale, Hlong Width, Hlong Height);
- // Store a filter mask in the spatial domain as a real-image.
- void GenFilterMask(const char* FilterMask, double Scale, Hlong Width, Hlong Height);
- #ifdef _WIN32
- // Store a filter mask in the spatial domain as a real-image.
- void GenFilterMask(const wchar_t* FilterMask, double Scale, Hlong Width, Hlong Height);
- #endif
- // Generate a mean filter in the frequency domain.
- void GenMeanFilter(const HString& MaskShape, double Diameter1, double Diameter2, double Phi, const HString& Norm, const HString& Mode, Hlong Width, Hlong Height);
- // Generate a mean filter in the frequency domain.
- void GenMeanFilter(const char* MaskShape, double Diameter1, double Diameter2, double Phi, const char* Norm, const char* Mode, Hlong Width, Hlong Height);
- #ifdef _WIN32
- // Generate a mean filter in the frequency domain.
- void GenMeanFilter(const wchar_t* MaskShape, double Diameter1, double Diameter2, double Phi, const wchar_t* Norm, const wchar_t* Mode, Hlong Width, Hlong Height);
- #endif
- // Generate a Gaussian filter in the frequency domain.
- void GenGaussFilter(double Sigma1, double Sigma2, double Phi, const HString& Norm, const HString& Mode, Hlong Width, Hlong Height);
- // Generate a Gaussian filter in the frequency domain.
- void GenGaussFilter(double Sigma1, double Sigma2, double Phi, const char* Norm, const char* Mode, Hlong Width, Hlong Height);
- #ifdef _WIN32
- // Generate a Gaussian filter in the frequency domain.
- void GenGaussFilter(double Sigma1, double Sigma2, double Phi, const wchar_t* Norm, const wchar_t* Mode, Hlong Width, Hlong Height);
- #endif
- // Generate a derivative filter in the frequency domain.
- void GenDerivativeFilter(const HString& Derivative, Hlong Exponent, const HString& Norm, const HString& Mode, Hlong Width, Hlong Height);
- // Generate a derivative filter in the frequency domain.
- void GenDerivativeFilter(const char* Derivative, Hlong Exponent, const char* Norm, const char* Mode, Hlong Width, Hlong Height);
- #ifdef _WIN32
- // Generate a derivative filter in the frequency domain.
- void GenDerivativeFilter(const wchar_t* Derivative, Hlong Exponent, const wchar_t* Norm, const wchar_t* Mode, Hlong Width, Hlong Height);
- #endif
- // Generate a bandpass filter with Gaussian or sinusoidal shape.
- void GenStdBandpass(double Frequency, double Sigma, const HString& Type, const HString& Norm, const HString& Mode, Hlong Width, Hlong Height);
- // Generate a bandpass filter with Gaussian or sinusoidal shape.
- void GenStdBandpass(double Frequency, double Sigma, const char* Type, const char* Norm, const char* Mode, Hlong Width, Hlong Height);
- #ifdef _WIN32
- // Generate a bandpass filter with Gaussian or sinusoidal shape.
- void GenStdBandpass(double Frequency, double Sigma, const wchar_t* Type, const wchar_t* Norm, const wchar_t* Mode, Hlong Width, Hlong Height);
- #endif
- // Generate a bandpass filter with sinusoidal shape.
- void GenSinBandpass(double Frequency, const HString& Norm, const HString& Mode, Hlong Width, Hlong Height);
- // Generate a bandpass filter with sinusoidal shape.
- void GenSinBandpass(double Frequency, const char* Norm, const char* Mode, Hlong Width, Hlong Height);
- #ifdef _WIN32
- // Generate a bandpass filter with sinusoidal shape.
- void GenSinBandpass(double Frequency, const wchar_t* Norm, const wchar_t* Mode, Hlong Width, Hlong Height);
- #endif
- // Generate an ideal band filter.
- void GenBandfilter(double MinFrequency, double MaxFrequency, const HString& Norm, const HString& Mode, Hlong Width, Hlong Height);
- // Generate an ideal band filter.
- void GenBandfilter(double MinFrequency, double MaxFrequency, const char* Norm, const char* Mode, Hlong Width, Hlong Height);
- #ifdef _WIN32
- // Generate an ideal band filter.
- void GenBandfilter(double MinFrequency, double MaxFrequency, const wchar_t* Norm, const wchar_t* Mode, Hlong Width, Hlong Height);
- #endif
- // Generate an ideal bandpass filter.
- void GenBandpass(double MinFrequency, double MaxFrequency, const HString& Norm, const HString& Mode, Hlong Width, Hlong Height);
- // Generate an ideal bandpass filter.
- void GenBandpass(double MinFrequency, double MaxFrequency, const char* Norm, const char* Mode, Hlong Width, Hlong Height);
- #ifdef _WIN32
- // Generate an ideal bandpass filter.
- void GenBandpass(double MinFrequency, double MaxFrequency, const wchar_t* Norm, const wchar_t* Mode, Hlong Width, Hlong Height);
- #endif
- // Generate an ideal lowpass filter.
- void GenLowpass(double Frequency, const HString& Norm, const HString& Mode, Hlong Width, Hlong Height);
- // Generate an ideal lowpass filter.
- void GenLowpass(double Frequency, const char* Norm, const char* Mode, Hlong Width, Hlong Height);
- #ifdef _WIN32
- // Generate an ideal lowpass filter.
- void GenLowpass(double Frequency, const wchar_t* Norm, const wchar_t* Mode, Hlong Width, Hlong Height);
- #endif
- // Generate an ideal highpass filter.
- void GenHighpass(double Frequency, const HString& Norm, const HString& Mode, Hlong Width, Hlong Height);
- // Generate an ideal highpass filter.
- void GenHighpass(double Frequency, const char* Norm, const char* Mode, Hlong Width, Hlong Height);
- #ifdef _WIN32
- // Generate an ideal highpass filter.
- void GenHighpass(double Frequency, const wchar_t* Norm, const wchar_t* Mode, Hlong Width, Hlong Height);
- #endif
- // Return the power spectrum of a complex image.
- HImage PowerLn() const;
- // Return the power spectrum of a complex image.
- HImage PowerReal() const;
- // Return the power spectrum of a complex image.
- HImage PowerByte() const;
- // Return the phase of a complex image in degrees.
- HImage PhaseDeg() const;
- // Return the phase of a complex image in radians.
- HImage PhaseRad() const;
- // Calculate the energy of a two-channel image.
- HImage EnergyGabor(const HImage& ImageHilbert) const;
- // Convolve an image with a Gabor filter in the frequency domain.
- HImage ConvolGabor(const HImage& GaborFilter, HImage* ImageResultHilbert) const;
- // Generate a Gabor filter.
- void GenGabor(double Angle, double Frequency, double Bandwidth, double Orientation, const HString& Norm, const HString& Mode, Hlong Width, Hlong Height);
- // Generate a Gabor filter.
- void GenGabor(double Angle, double Frequency, double Bandwidth, double Orientation, const char* Norm, const char* Mode, Hlong Width, Hlong Height);
- #ifdef _WIN32
- // Generate a Gabor filter.
- void GenGabor(double Angle, double Frequency, double Bandwidth, double Orientation, const wchar_t* Norm, const wchar_t* Mode, Hlong Width, Hlong Height);
- #endif
- // Compute the phase correlation of two images in the frequency domain.
- HImage PhaseCorrelationFft(const HImage& ImageFFT2) const;
- // Compute the correlation of two images in the frequency domain.
- HImage CorrelationFft(const HImage& ImageFFT2) const;
- // Convolve an image with a filter in the frequency domain.
- HImage ConvolFft(const HImage& ImageFilter) const;
- // Compute the real-valued fast Fourier transform of an image.
- HImage RftGeneric(const HString& Direction, const HString& Norm, const HString& ResultType, Hlong Width) const;
- // Compute the real-valued fast Fourier transform of an image.
- HImage RftGeneric(const char* Direction, const char* Norm, const char* ResultType, Hlong Width) const;
- #ifdef _WIN32
- // Compute the real-valued fast Fourier transform of an image.
- HImage RftGeneric(const wchar_t* Direction, const wchar_t* Norm, const wchar_t* ResultType, Hlong Width) const;
- #endif
- // Compute the inverse fast Fourier transform of an image.
- HImage FftImageInv() const;
- // Compute the fast Fourier transform of an image.
- HImage FftImage() const;
- // Compute the fast Fourier transform of an image.
- HImage FftGeneric(const HString& Direction, Hlong Exponent, const HString& Norm, const HString& Mode, const HString& ResultType) const;
- // Compute the fast Fourier transform of an image.
- HImage FftGeneric(const char* Direction, Hlong Exponent, const char* Norm, const char* Mode, const char* ResultType) const;
- #ifdef _WIN32
- // Compute the fast Fourier transform of an image.
- HImage FftGeneric(const wchar_t* Direction, Hlong Exponent, const wchar_t* Norm, const wchar_t* Mode, const wchar_t* ResultType) const;
- #endif
- // Apply a shock filter to an image.
- HImage ShockFilter(double Theta, Hlong Iterations, const HString& Mode, double Sigma) const;
- // Apply a shock filter to an image.
- HImage ShockFilter(double Theta, Hlong Iterations, const char* Mode, double Sigma) const;
- #ifdef _WIN32
- // Apply a shock filter to an image.
- HImage ShockFilter(double Theta, Hlong Iterations, const wchar_t* Mode, double Sigma) const;
- #endif
- // Apply the mean curvature flow to an image.
- HImage MeanCurvatureFlow(double Sigma, double Theta, Hlong Iterations) const;
- // Perform a coherence enhancing diffusion of an image.
- HImage CoherenceEnhancingDiff(double Sigma, double Rho, double Theta, Hlong Iterations) const;
- // Histogram linearization of images
- HImage EquHistoImage() const;
- // Illuminate image.
- HImage Illuminate(Hlong MaskWidth, Hlong MaskHeight, double Factor) const;
- // Enhance contrast of the image.
- HImage Emphasize(Hlong MaskWidth, Hlong MaskHeight, double Factor) const;
- // Maximum gray value spreading in the value range 0 to 255.
- HImage ScaleImageMax() const;
- // Detect edges (amplitude and direction) using the Robinson operator.
- HImage RobinsonDir(HImage* ImageEdgeDir) const;
- // Detect edges (amplitude) using the Robinson operator.
- HImage RobinsonAmp() const;
- // Detect edges (amplitude and direction) using the Kirsch operator.
- HImage KirschDir(HImage* ImageEdgeDir) const;
- // Detect edges (amplitude) using the Kirsch operator.
- HImage KirschAmp() const;
- // Detect edges (amplitude and direction) using the Frei-Chen operator.
- HImage FreiDir(HImage* ImageEdgeDir) const;
- // Detect edges (amplitude) using the Frei-Chen operator.
- HImage FreiAmp() const;
- // Detect edges (amplitude and direction) using the Prewitt operator.
- HImage PrewittDir(HImage* ImageEdgeDir) const;
- // Detect edges (amplitude) using the Prewitt operator.
- HImage PrewittAmp() const;
- // Detect edges (amplitude) using the Sobel operator.
- HImage SobelAmp(const HString& FilterType, const HTuple& Size) const;
- // Detect edges (amplitude) using the Sobel operator.
- HImage SobelAmp(const HString& FilterType, Hlong Size) const;
- // Detect edges (amplitude) using the Sobel operator.
- HImage SobelAmp(const char* FilterType, Hlong Size) const;
- #ifdef _WIN32
- // Detect edges (amplitude) using the Sobel operator.
- HImage SobelAmp(const wchar_t* FilterType, Hlong Size) const;
- #endif
- // Detect edges (amplitude and direction) using the Sobel operator.
- HImage SobelDir(HImage* EdgeDirection, const HString& FilterType, const HTuple& Size) const;
- // Detect edges (amplitude and direction) using the Sobel operator.
- HImage SobelDir(HImage* EdgeDirection, const HString& FilterType, Hlong Size) const;
- // Detect edges (amplitude and direction) using the Sobel operator.
- HImage SobelDir(HImage* EdgeDirection, const char* FilterType, Hlong Size) const;
- #ifdef _WIN32
- // Detect edges (amplitude and direction) using the Sobel operator.
- HImage SobelDir(HImage* EdgeDirection, const wchar_t* FilterType, Hlong Size) const;
- #endif
- // Detect edges using the Roberts filter.
- HImage Roberts(const HString& FilterType) const;
- // Detect edges using the Roberts filter.
- HImage Roberts(const char* FilterType) const;
- #ifdef _WIN32
- // Detect edges using the Roberts filter.
- HImage Roberts(const wchar_t* FilterType) const;
- #endif
- // Calculate the Laplace operator by using finite differences.
- HImage Laplace(const HString& ResultType, const HTuple& MaskSize, const HString& FilterMask) const;
- // Calculate the Laplace operator by using finite differences.
- HImage Laplace(const HString& ResultType, Hlong MaskSize, const HString& FilterMask) const;
- // Calculate the Laplace operator by using finite differences.
- HImage Laplace(const char* ResultType, Hlong MaskSize, const char* FilterMask) const;
- #ifdef _WIN32
- // Calculate the Laplace operator by using finite differences.
- HImage Laplace(const wchar_t* ResultType, Hlong MaskSize, const wchar_t* FilterMask) const;
- #endif
- // Extract high frequency components from an image.
- HImage HighpassImage(Hlong Width, Hlong Height) const;
- // Extract subpixel precise color edges using Deriche, Shen, or Canny filters.
- HXLDCont EdgesColorSubPix(const HString& Filter, double Alpha, const HTuple& Low, const HTuple& High) const;
- // Extract subpixel precise color edges using Deriche, Shen, or Canny filters.
- HXLDCont EdgesColorSubPix(const HString& Filter, double Alpha, double Low, double High) const;
- // Extract subpixel precise color edges using Deriche, Shen, or Canny filters.
- HXLDCont EdgesColorSubPix(const char* Filter, double Alpha, double Low, double High) const;
- #ifdef _WIN32
- // Extract subpixel precise color edges using Deriche, Shen, or Canny filters.
- HXLDCont EdgesColorSubPix(const wchar_t* Filter, double Alpha, double Low, double High) const;
- #endif
- // Extract color edges using Canny, Deriche, or Shen filters.
- HImage EdgesColor(HImage* ImaDir, const HString& Filter, double Alpha, const HString& NMS, Hlong Low, Hlong High) const;
- // Extract color edges using Canny, Deriche, or Shen filters.
- HImage EdgesColor(HImage* ImaDir, const char* Filter, double Alpha, const char* NMS, Hlong Low, Hlong High) const;
- #ifdef _WIN32
- // Extract color edges using Canny, Deriche, or Shen filters.
- HImage EdgesColor(HImage* ImaDir, const wchar_t* Filter, double Alpha, const wchar_t* NMS, Hlong Low, Hlong High) const;
- #endif
- // Extract sub-pixel precise edges using Deriche, Lanser, Shen, or Canny filters.
- HXLDCont EdgesSubPix(const HString& Filter, double Alpha, const HTuple& Low, const HTuple& High) const;
- // Extract sub-pixel precise edges using Deriche, Lanser, Shen, or Canny filters.
- HXLDCont EdgesSubPix(const HString& Filter, double Alpha, Hlong Low, Hlong High) const;
- // Extract sub-pixel precise edges using Deriche, Lanser, Shen, or Canny filters.
- HXLDCont EdgesSubPix(const char* Filter, double Alpha, Hlong Low, Hlong High) const;
- #ifdef _WIN32
- // Extract sub-pixel precise edges using Deriche, Lanser, Shen, or Canny filters.
- HXLDCont EdgesSubPix(const wchar_t* Filter, double Alpha, Hlong Low, Hlong High) const;
- #endif
- // Extract edges using Deriche, Lanser, Shen, or Canny filters.
- HImage EdgesImage(HImage* ImaDir, const HString& Filter, double Alpha, const HString& NMS, const HTuple& Low, const HTuple& High) const;
- // Extract edges using Deriche, Lanser, Shen, or Canny filters.
- HImage EdgesImage(HImage* ImaDir, const HString& Filter, double Alpha, const HString& NMS, Hlong Low, Hlong High) const;
- // Extract edges using Deriche, Lanser, Shen, or Canny filters.
- HImage EdgesImage(HImage* ImaDir, const char* Filter, double Alpha, const char* NMS, Hlong Low, Hlong High) const;
- #ifdef _WIN32
- // Extract edges using Deriche, Lanser, Shen, or Canny filters.
- HImage EdgesImage(HImage* ImaDir, const wchar_t* Filter, double Alpha, const wchar_t* NMS, Hlong Low, Hlong High) const;
- #endif
- // Convolve an image with derivatives of the Gaussian.
- HImage DerivateGauss(const HTuple& Sigma, const HString& Component) const;
- // Convolve an image with derivatives of the Gaussian.
- HImage DerivateGauss(double Sigma, const HString& Component) const;
- // Convolve an image with derivatives of the Gaussian.
- HImage DerivateGauss(double Sigma, const char* Component) const;
- #ifdef _WIN32
- // Convolve an image with derivatives of the Gaussian.
- HImage DerivateGauss(double Sigma, const wchar_t* Component) const;
- #endif
- // LoG-Operator (Laplace of Gaussian).
- HImage LaplaceOfGauss(const HTuple& Sigma) const;
- // LoG-Operator (Laplace of Gaussian).
- HImage LaplaceOfGauss(double Sigma) const;
- // Approximate the LoG operator (Laplace of Gaussian).
- HImage DiffOfGauss(double Sigma, double SigFactor) const;
- // Detect straight edge segments.
- void DetectEdgeSegments(Hlong SobelSize, Hlong MinAmplitude, Hlong MaxDistance, Hlong MinLength, HTuple* BeginRow, HTuple* BeginCol, HTuple* EndRow, HTuple* EndCol) const;
- // Release the look-up-table needed for color space transformation.
- static void ClearColorTransLut(const HColorTransLUT& ColorTransLUTHandle);
- // Color space transformation using pre-generated look-up-table.
- HImage ApplyColorTransLut(const HImage& Image2, const HImage& Image3, HImage* ImageResult2, HImage* ImageResult3, const HColorTransLUT& ColorTransLUTHandle) const;
- // Creates the look-up-table for transformation of an image from the RGB color space to an arbitrary color space.
- static HColorTransLUT CreateColorTransLut(const HString& ColorSpace, const HString& TransDirection, Hlong NumBits);
- // Creates the look-up-table for transformation of an image from the RGB color space to an arbitrary color space.
- static HColorTransLUT CreateColorTransLut(const char* ColorSpace, const char* TransDirection, Hlong NumBits);
- #ifdef _WIN32
- // Creates the look-up-table for transformation of an image from the RGB color space to an arbitrary color space.
- static HColorTransLUT CreateColorTransLut(const wchar_t* ColorSpace, const wchar_t* TransDirection, Hlong NumBits);
- #endif
- // Convert a single-channel color filter array image into an RGB image.
- HImage CfaToRgb(const HString& CFAType, const HString& Interpolation) const;
- // Convert a single-channel color filter array image into an RGB image.
- HImage CfaToRgb(const char* CFAType, const char* Interpolation) const;
- #ifdef _WIN32
- // Convert a single-channel color filter array image into an RGB image.
- HImage CfaToRgb(const wchar_t* CFAType, const wchar_t* Interpolation) const;
- #endif
- // Transform an RGB image into a gray scale image.
- HImage Rgb1ToGray() const;
- // Transform an RGB image to a gray scale image.
- HImage Rgb3ToGray(const HImage& ImageGreen, const HImage& ImageBlue) const;
- // Transform an image from the RGB color space to an arbitrary color space.
- HImage TransFromRgb(const HImage& ImageGreen, const HImage& ImageBlue, HImage* ImageResult2, HImage* ImageResult3, const HString& ColorSpace) const;
- // Transform an image from the RGB color space to an arbitrary color space.
- HImage TransFromRgb(const HImage& ImageGreen, const HImage& ImageBlue, HImage* ImageResult2, HImage* ImageResult3, const char* ColorSpace) const;
- #ifdef _WIN32
- // Transform an image from the RGB color space to an arbitrary color space.
- HImage TransFromRgb(const HImage& ImageGreen, const HImage& ImageBlue, HImage* ImageResult2, HImage* ImageResult3, const wchar_t* ColorSpace) const;
- #endif
- // Transform an image from an arbitrary color space to the RGB color space.
- HImage TransToRgb(const HImage& ImageInput2, const HImage& ImageInput3, HImage* ImageGreen, HImage* ImageBlue, const HString& ColorSpace) const;
- // Transform an image from an arbitrary color space to the RGB color space.
- HImage TransToRgb(const HImage& ImageInput2, const HImage& ImageInput3, HImage* ImageGreen, HImage* ImageBlue, const char* ColorSpace) const;
- #ifdef _WIN32
- // Transform an image from an arbitrary color space to the RGB color space.
- HImage TransToRgb(const HImage& ImageInput2, const HImage& ImageInput3, HImage* ImageGreen, HImage* ImageBlue, const wchar_t* ColorSpace) const;
- #endif
- // Logical "AND" of each pixel using a bit mask.
- HImage BitMask(Hlong BitMask) const;
- // Extract a bit from the pixels.
- HImage BitSlice(Hlong Bit) const;
- // Right shift of all pixels of the image.
- HImage BitRshift(Hlong Shift) const;
- // Left shift of all pixels of the image.
- HImage BitLshift(Hlong Shift) const;
- // Complement all bits of the pixels.
- HImage BitNot() const;
- // Bit-by-bit XOR of all pixels of the input images.
- HImage BitXor(const HImage& Image2) const;
- // Bit-by-bit OR of all pixels of the input images.
- HImage BitOr(const HImage& Image2) const;
- // Bit-by-bit AND of all pixels of the input images.
- HImage BitAnd(const HImage& Image2) const;
- // Perform a gamma encoding or decoding of an image.
- HImage GammaImage(double Gamma, double Offset, double Threshold, const HTuple& MaxGray, const HString& Encode) const;
- // Perform a gamma encoding or decoding of an image.
- HImage GammaImage(double Gamma, double Offset, double Threshold, double MaxGray, const HString& Encode) const;
- // Perform a gamma encoding or decoding of an image.
- HImage GammaImage(double Gamma, double Offset, double Threshold, double MaxGray, const char* Encode) const;
- #ifdef _WIN32
- // Perform a gamma encoding or decoding of an image.
- HImage GammaImage(double Gamma, double Offset, double Threshold, double MaxGray, const wchar_t* Encode) const;
- #endif
- // Raise an image to a power.
- HImage PowImage(const HTuple& Exponent) const;
- // Raise an image to a power.
- HImage PowImage(double Exponent) const;
- // Calculate the exponentiation of an image.
- HImage ExpImage(const HTuple& Base) const;
- // Calculate the exponentiation of an image.
- HImage ExpImage(const HString& Base) const;
- // Calculate the exponentiation of an image.
- HImage ExpImage(const char* Base) const;
- #ifdef _WIN32
- // Calculate the exponentiation of an image.
- HImage ExpImage(const wchar_t* Base) const;
- #endif
- // Calculate the logarithm of an image.
- HImage LogImage(const HTuple& Base) const;
- // Calculate the logarithm of an image.
- HImage LogImage(const HString& Base) const;
- // Calculate the logarithm of an image.
- HImage LogImage(const char* Base) const;
- #ifdef _WIN32
- // Calculate the logarithm of an image.
- HImage LogImage(const wchar_t* Base) const;
- #endif
- // Calculate the arctangent of two images.
- HImage Atan2Image(const HImage& ImageX) const;
- // Calculate the arctangent of an image.
- HImage AtanImage() const;
- // Calculate the arccosine of an image.
- HImage AcosImage() const;
- // Calculate the arcsine of an image.
- HImage AsinImage() const;
- // Calculate the tangent of an image.
- HImage TanImage() const;
- // Calculate the cosine of an image.
- HImage CosImage() const;
- // Calculate the sine of an image.
- HImage SinImage() const;
- // Calculate the absolute difference of two images.
- HImage AbsDiffImage(const HImage& Image2, const HTuple& Mult) const;
- // Calculate the absolute difference of two images.
- HImage AbsDiffImage(const HImage& Image2, double Mult) const;
- // Calculate the square root of an image.
- HImage SqrtImage() const;
- // Subtract two images.
- HImage SubImage(const HImage& ImageSubtrahend, const HTuple& Mult, const HTuple& Add) const;
- // Subtract two images.
- HImage SubImage(const HImage& ImageSubtrahend, double Mult, double Add) const;
- // Scale the gray values of an image.
- HImage ScaleImage(const HTuple& Mult, const HTuple& Add) const;
- // Scale the gray values of an image.
- HImage ScaleImage(double Mult, double Add) const;
- // Divide two images.
- HImage DivImage(const HImage& Image2, const HTuple& Mult, const HTuple& Add) const;
- // Divide two images.
- HImage DivImage(const HImage& Image2, double Mult, double Add) const;
- // Multiply two images.
- HImage MultImage(const HImage& Image2, const HTuple& Mult, const HTuple& Add) const;
- // Multiply two images.
- HImage MultImage(const HImage& Image2, double Mult, double Add) const;
- // Add two images.
- HImage AddImage(const HImage& Image2, const HTuple& Mult, const HTuple& Add) const;
- // Add two images.
- HImage AddImage(const HImage& Image2, double Mult, double Add) const;
- // Calculate the absolute value (modulus) of an image.
- HImage AbsImage() const;
- // Calculate the minimum of two images pixel by pixel.
- HImage MinImage(const HImage& Image2) const;
- // Calculate the maximum of two images pixel by pixel.
- HImage MaxImage(const HImage& Image2) const;
- // Invert an image.
- HImage InvertImage() const;
- // Apply an automatic color correction to panorama images.
- HImage AdjustMosaicImages(const HTuple& From, const HTuple& To, Hlong ReferenceImage, const HTuple& HomMatrices2D, const HString& EstimationMethod, const HTuple& EstimateParameters, const HString& OECFModel) const;
- // Apply an automatic color correction to panorama images.
- HImage AdjustMosaicImages(const HTuple& From, const HTuple& To, Hlong ReferenceImage, const HTuple& HomMatrices2D, const HString& EstimationMethod, const HString& EstimateParameters, const HString& OECFModel) const;
- // Apply an automatic color correction to panorama images.
- HImage AdjustMosaicImages(const HTuple& From, const HTuple& To, Hlong ReferenceImage, const HTuple& HomMatrices2D, const char* EstimationMethod, const char* EstimateParameters, const char* OECFModel) const;
- #ifdef _WIN32
- // Apply an automatic color correction to panorama images.
- HImage AdjustMosaicImages(const HTuple& From, const HTuple& To, Hlong ReferenceImage, const HTuple& HomMatrices2D, const wchar_t* EstimationMethod, const wchar_t* EstimateParameters, const wchar_t* OECFModel) const;
- #endif
- // Create 6 cube map images of a spherical mosaic.
- HImage GenCubeMapMosaic(HImage* Rear, HImage* Left, HImage* Right, HImage* Top, HImage* Bottom, const HHomMat2DArray& CameraMatrices, const HHomMat2DArray& RotationMatrices, Hlong CubeMapDimension, const HTuple& StackingOrder, const HString& Interpolation) const;
- // Create 6 cube map images of a spherical mosaic.
- HImage GenCubeMapMosaic(HImage* Rear, HImage* Left, HImage* Right, HImage* Top, HImage* Bottom, const HHomMat2DArray& CameraMatrices, const HHomMat2DArray& RotationMatrices, Hlong CubeMapDimension, const HString& StackingOrder, const HString& Interpolation) const;
- // Create 6 cube map images of a spherical mosaic.
- HImage GenCubeMapMosaic(HImage* Rear, HImage* Left, HImage* Right, HImage* Top, HImage* Bottom, const HHomMat2DArray& CameraMatrices, const HHomMat2DArray& RotationMatrices, Hlong CubeMapDimension, const char* StackingOrder, const char* Interpolation) const;
- #ifdef _WIN32
- // Create 6 cube map images of a spherical mosaic.
- HImage GenCubeMapMosaic(HImage* Rear, HImage* Left, HImage* Right, HImage* Top, HImage* Bottom, const HHomMat2DArray& CameraMatrices, const HHomMat2DArray& RotationMatrices, Hlong CubeMapDimension, const wchar_t* StackingOrder, const wchar_t* Interpolation) const;
- #endif
- // Create a spherical mosaic image.
- HImage GenSphericalMosaic(const HHomMat2DArray& CameraMatrices, const HHomMat2DArray& RotationMatrices, const HTuple& LatMin, const HTuple& LatMax, const HTuple& LongMin, const HTuple& LongMax, const HTuple& LatLongStep, const HTuple& StackingOrder, const HTuple& Interpolation) const;
- // Create a spherical mosaic image.
- HImage GenSphericalMosaic(const HHomMat2DArray& CameraMatrices, const HHomMat2DArray& RotationMatrices, double LatMin, double LatMax, double LongMin, double LongMax, double LatLongStep, const HString& StackingOrder, const HString& Interpolation) const;
- // Create a spherical mosaic image.
- HImage GenSphericalMosaic(const HHomMat2DArray& CameraMatrices, const HHomMat2DArray& RotationMatrices, double LatMin, double LatMax, double LongMin, double LongMax, double LatLongStep, const char* StackingOrder, const char* Interpolation) const;
- #ifdef _WIN32
- // Create a spherical mosaic image.
- HImage GenSphericalMosaic(const HHomMat2DArray& CameraMatrices, const HHomMat2DArray& RotationMatrices, double LatMin, double LatMax, double LongMin, double LongMax, double LatLongStep, const wchar_t* StackingOrder, const wchar_t* Interpolation) const;
- #endif
- // Combine multiple images into a mosaic image.
- HImage GenBundleAdjustedMosaic(const HHomMat2DArray& HomMatrices2D, const HTuple& StackingOrder, const HString& TransformDomain, HHomMat2D* TransMat2D) const;
- // Combine multiple images into a mosaic image.
- HImage GenBundleAdjustedMosaic(const HHomMat2DArray& HomMatrices2D, const HString& StackingOrder, const HString& TransformDomain, HHomMat2D* TransMat2D) const;
- // Combine multiple images into a mosaic image.
- HImage GenBundleAdjustedMosaic(const HHomMat2DArray& HomMatrices2D, const char* StackingOrder, const char* TransformDomain, HHomMat2D* TransMat2D) const;
- #ifdef _WIN32
- // Combine multiple images into a mosaic image.
- HImage GenBundleAdjustedMosaic(const HHomMat2DArray& HomMatrices2D, const wchar_t* StackingOrder, const wchar_t* TransformDomain, HHomMat2D* TransMat2D) const;
- #endif
- // Combine multiple images into a mosaic image.
- HImage GenProjectiveMosaic(Hlong StartImage, const HTuple& MappingSource, const HTuple& MappingDest, const HHomMat2DArray& HomMatrices2D, const HTuple& StackingOrder, const HString& TransformDomain, HHomMat2DArray* MosaicMatrices2D) const;
- // Combine multiple images into a mosaic image.
- HImage GenProjectiveMosaic(Hlong StartImage, const HTuple& MappingSource, const HTuple& MappingDest, const HHomMat2DArray& HomMatrices2D, const HString& StackingOrder, const HString& TransformDomain, HHomMat2DArray* MosaicMatrices2D) const;
- // Combine multiple images into a mosaic image.
- HImage GenProjectiveMosaic(Hlong StartImage, const HTuple& MappingSource, const HTuple& MappingDest, const HHomMat2DArray& HomMatrices2D, const char* StackingOrder, const char* TransformDomain, HHomMat2DArray* MosaicMatrices2D) const;
- #ifdef _WIN32
- // Combine multiple images into a mosaic image.
- HImage GenProjectiveMosaic(Hlong StartImage, const HTuple& MappingSource, const HTuple& MappingDest, const HHomMat2DArray& HomMatrices2D, const wchar_t* StackingOrder, const wchar_t* TransformDomain, HHomMat2DArray* MosaicMatrices2D) const;
- #endif
- // Apply a projective transformation to an image and specify the output image size.
- HImage ProjectiveTransImageSize(const HHomMat2D& HomMat2D, const HString& Interpolation, Hlong Width, Hlong Height, const HString& TransformDomain) const;
- // Apply a projective transformation to an image and specify the output image size.
- HImage ProjectiveTransImageSize(const HHomMat2D& HomMat2D, const char* Interpolation, Hlong Width, Hlong Height, const char* TransformDomain) const;
- #ifdef _WIN32
- // Apply a projective transformation to an image and specify the output image size.
- HImage ProjectiveTransImageSize(const HHomMat2D& HomMat2D, const wchar_t* Interpolation, Hlong Width, Hlong Height, const wchar_t* TransformDomain) const;
- #endif
- // Apply a projective transformation to an image.
- HImage ProjectiveTransImage(const HHomMat2D& HomMat2D, const HString& Interpolation, const HString& AdaptImageSize, const HString& TransformDomain) const;
- // Apply a projective transformation to an image.
- HImage ProjectiveTransImage(const HHomMat2D& HomMat2D, const char* Interpolation, const char* AdaptImageSize, const char* TransformDomain) const;
- #ifdef _WIN32
- // Apply a projective transformation to an image.
- HImage ProjectiveTransImage(const HHomMat2D& HomMat2D, const wchar_t* Interpolation, const wchar_t* AdaptImageSize, const wchar_t* TransformDomain) const;
- #endif
- // Apply an arbitrary affine 2D transformation to an image and specify the output image size.
- HImage AffineTransImageSize(const HHomMat2D& HomMat2D, const HString& Interpolation, Hlong Width, Hlong Height) const;
- // Apply an arbitrary affine 2D transformation to an image and specify the output image size.
- HImage AffineTransImageSize(const HHomMat2D& HomMat2D, const char* Interpolation, Hlong Width, Hlong Height) const;
- #ifdef _WIN32
- // Apply an arbitrary affine 2D transformation to an image and specify the output image size.
- HImage AffineTransImageSize(const HHomMat2D& HomMat2D, const wchar_t* Interpolation, Hlong Width, Hlong Height) const;
- #endif
- // Apply an arbitrary affine 2D transformation to images.
- HImage AffineTransImage(const HHomMat2D& HomMat2D, const HString& Interpolation, const HString& AdaptImageSize) const;
- // Apply an arbitrary affine 2D transformation to images.
- HImage AffineTransImage(const HHomMat2D& HomMat2D, const char* Interpolation, const char* AdaptImageSize) const;
- #ifdef _WIN32
- // Apply an arbitrary affine 2D transformation to images.
- HImage AffineTransImage(const HHomMat2D& HomMat2D, const wchar_t* Interpolation, const wchar_t* AdaptImageSize) const;
- #endif
- // Zoom an image by a given factor.
- HImage ZoomImageFactor(double ScaleWidth, double ScaleHeight, const HString& Interpolation) const;
- // Zoom an image by a given factor.
- HImage ZoomImageFactor(double ScaleWidth, double ScaleHeight, const char* Interpolation) const;
- #ifdef _WIN32
- // Zoom an image by a given factor.
- HImage ZoomImageFactor(double ScaleWidth, double ScaleHeight, const wchar_t* Interpolation) const;
- #endif
- // Zoom an image to a given size.
- HImage ZoomImageSize(Hlong Width, Hlong Height, const HString& Interpolation) const;
- // Zoom an image to a given size.
- HImage ZoomImageSize(Hlong Width, Hlong Height, const char* Interpolation) const;
- #ifdef _WIN32
- // Zoom an image to a given size.
- HImage ZoomImageSize(Hlong Width, Hlong Height, const wchar_t* Interpolation) const;
- #endif
- // Mirror an image.
- HImage MirrorImage(const HString& Mode) const;
- // Mirror an image.
- HImage MirrorImage(const char* Mode) const;
- #ifdef _WIN32
- // Mirror an image.
- HImage MirrorImage(const wchar_t* Mode) const;
- #endif
- // Rotate an image about its center.
- HImage RotateImage(const HTuple& Phi, const HString& Interpolation) const;
- // Rotate an image about its center.
- HImage RotateImage(double Phi, const HString& Interpolation) const;
- // Rotate an image about its center.
- HImage RotateImage(double Phi, const char* Interpolation) const;
- #ifdef _WIN32
- // Rotate an image about its center.
- HImage RotateImage(double Phi, const wchar_t* Interpolation) const;
- #endif
- // Transform an image in polar coordinates back to cartesian coordinates
- HImage PolarTransImageInv(const HTuple& Row, const HTuple& Column, double AngleStart, double AngleEnd, const HTuple& RadiusStart, const HTuple& RadiusEnd, Hlong Width, Hlong Height, const HString& Interpolation) const;
- // Transform an image in polar coordinates back to cartesian coordinates
- HImage PolarTransImageInv(double Row, double Column, double AngleStart, double AngleEnd, double RadiusStart, double RadiusEnd, Hlong Width, Hlong Height, const HString& Interpolation) const;
- // Transform an image in polar coordinates back to cartesian coordinates
- HImage PolarTransImageInv(double Row, double Column, double AngleStart, double AngleEnd, double RadiusStart, double RadiusEnd, Hlong Width, Hlong Height, const char* Interpolation) const;
- #ifdef _WIN32
- // Transform an image in polar coordinates back to cartesian coordinates
- HImage PolarTransImageInv(double Row, double Column, double AngleStart, double AngleEnd, double RadiusStart, double RadiusEnd, Hlong Width, Hlong Height, const wchar_t* Interpolation) const;
- #endif
- // Transform an annular arc in an image to polar coordinates.
- HImage PolarTransImageExt(const HTuple& Row, const HTuple& Column, double AngleStart, double AngleEnd, const HTuple& RadiusStart, const HTuple& RadiusEnd, Hlong Width, Hlong Height, const HString& Interpolation) const;
- // Transform an annular arc in an image to polar coordinates.
- HImage PolarTransImageExt(double Row, double Column, double AngleStart, double AngleEnd, double RadiusStart, double RadiusEnd, Hlong Width, Hlong Height, const HString& Interpolation) const;
- // Transform an annular arc in an image to polar coordinates.
- HImage PolarTransImageExt(double Row, double Column, double AngleStart, double AngleEnd, double RadiusStart, double RadiusEnd, Hlong Width, Hlong Height, const char* Interpolation) const;
- #ifdef _WIN32
- // Transform an annular arc in an image to polar coordinates.
- HImage PolarTransImageExt(double Row, double Column, double AngleStart, double AngleEnd, double RadiusStart, double RadiusEnd, Hlong Width, Hlong Height, const wchar_t* Interpolation) const;
- #endif
- // Transform an image to polar coordinates
- HImage PolarTransImage(Hlong Row, Hlong Column, Hlong Width, Hlong Height) const;
- // Approximate an affine map from a displacement vector field.
- HHomMat2D VectorFieldToHomMat2d() const;
- // Deserialize a serialized image object.
- void DeserializeImage(const HSerializedItem& SerializedItemHandle);
- // Serialize an image object.
- HSerializedItem SerializeImage() const;
- // Write images in graphic formats.
- void WriteImage(const HString& Format, const HTuple& FillColor, const HTuple& FileName) const;
- // Write images in graphic formats.
- void WriteImage(const HString& Format, Hlong FillColor, const HString& FileName) const;
- // Write images in graphic formats.
- void WriteImage(const char* Format, Hlong FillColor, const char* FileName) const;
- #ifdef _WIN32
- // Write images in graphic formats.
- void WriteImage(const wchar_t* Format, Hlong FillColor, const wchar_t* FileName) const;
- #endif
- // Read images.
- void ReadSequence(Hlong HeaderSize, Hlong SourceWidth, Hlong SourceHeight, Hlong StartRow, Hlong StartColumn, Hlong DestWidth, Hlong DestHeight, const HString& PixelType, const HString& BitOrder, const HString& ByteOrder, const HString& Pad, Hlong Index, const HString& FileName);
- // Read images.
- void ReadSequence(Hlong HeaderSize, Hlong SourceWidth, Hlong SourceHeight, Hlong StartRow, Hlong StartColumn, Hlong DestWidth, Hlong DestHeight, const char* PixelType, const char* BitOrder, const char* ByteOrder, const char* Pad, Hlong Index, const char* FileName);
- #ifdef _WIN32
- // Read images.
- void ReadSequence(Hlong HeaderSize, Hlong SourceWidth, Hlong SourceHeight, Hlong StartRow, Hlong StartColumn, Hlong DestWidth, Hlong DestHeight, const wchar_t* PixelType, const wchar_t* BitOrder, const wchar_t* ByteOrder, const wchar_t* Pad, Hlong Index, const wchar_t* FileName);
- #endif
- // Read an image with different file formats.
- void ReadImage(const HTuple& FileName);
- // Read an image with different file formats.
- void ReadImage(const HString& FileName);
- // Read an image with different file formats.
- void ReadImage(const char* FileName);
- #ifdef _WIN32
- // Read an image with different file formats.
- void ReadImage(const wchar_t* FileName);
- #endif
- // Return gray values of an image at the positions of an XLD contour.
- HTuple GetGrayvalContourXld(const HXLDCont& Contour, const HString& Interpolation) const;
- // Return gray values of an image at the positions of an XLD contour.
- HTuple GetGrayvalContourXld(const HXLDCont& Contour, const char* Interpolation) const;
- #ifdef _WIN32
- // Return gray values of an image at the positions of an XLD contour.
- HTuple GetGrayvalContourXld(const HXLDCont& Contour, const wchar_t* Interpolation) const;
- #endif
- // Calculate gray value moments and approximation by a first order surface (plane).
- HTuple FitSurfaceFirstOrder(const HRegion& Regions, const HString& Algorithm, Hlong Iterations, double ClippingFactor, HTuple* Beta, HTuple* Gamma) const;
- // Calculate gray value moments and approximation by a first order surface (plane).
- double FitSurfaceFirstOrder(const HRegion& Regions, const HString& Algorithm, Hlong Iterations, double ClippingFactor, double* Beta, double* Gamma) const;
- // Calculate gray value moments and approximation by a first order surface (plane).
- double FitSurfaceFirstOrder(const HRegion& Regions, const char* Algorithm, Hlong Iterations, double ClippingFactor, double* Beta, double* Gamma) const;
- #ifdef _WIN32
- // Calculate gray value moments and approximation by a first order surface (plane).
- double FitSurfaceFirstOrder(const HRegion& Regions, const wchar_t* Algorithm, Hlong Iterations, double ClippingFactor, double* Beta, double* Gamma) const;
- #endif
- // Calculate gray value moments and approximation by a second order surface.
- HTuple FitSurfaceSecondOrder(const HRegion& Regions, const HString& Algorithm, Hlong Iterations, double ClippingFactor, HTuple* Beta, HTuple* Gamma, HTuple* Delta, HTuple* Epsilon, HTuple* Zeta) const;
- // Calculate gray value moments and approximation by a second order surface.
- double FitSurfaceSecondOrder(const HRegion& Regions, const HString& Algorithm, Hlong Iterations, double ClippingFactor, double* Beta, double* Gamma, double* Delta, double* Epsilon, double* Zeta) const;
- // Calculate gray value moments and approximation by a second order surface.
- double FitSurfaceSecondOrder(const HRegion& Regions, const char* Algorithm, Hlong Iterations, double ClippingFactor, double* Beta, double* Gamma, double* Delta, double* Epsilon, double* Zeta) const;
- #ifdef _WIN32
- // Calculate gray value moments and approximation by a second order surface.
- double FitSurfaceSecondOrder(const HRegion& Regions, const wchar_t* Algorithm, Hlong Iterations, double ClippingFactor, double* Beta, double* Gamma, double* Delta, double* Epsilon, double* Zeta) const;
- #endif
- // Create a curved gray surface with second order polynomial.
- void GenImageSurfaceSecondOrder(const HString& Type, double Alpha, double Beta, double Gamma, double Delta, double Epsilon, double Zeta, double Row, double Column, Hlong Width, Hlong Height);
- // Create a curved gray surface with second order polynomial.
- void GenImageSurfaceSecondOrder(const char* Type, double Alpha, double Beta, double Gamma, double Delta, double Epsilon, double Zeta, double Row, double Column, Hlong Width, Hlong Height);
- #ifdef _WIN32
- // Create a curved gray surface with second order polynomial.
- void GenImageSurfaceSecondOrder(const wchar_t* Type, double Alpha, double Beta, double Gamma, double Delta, double Epsilon, double Zeta, double Row, double Column, Hlong Width, Hlong Height);
- #endif
- // Create a tilted gray surface with first order polynomial.
- void GenImageSurfaceFirstOrder(const HString& Type, double Alpha, double Beta, double Gamma, double Row, double Column, Hlong Width, Hlong Height);
- // Create a tilted gray surface with first order polynomial.
- void GenImageSurfaceFirstOrder(const char* Type, double Alpha, double Beta, double Gamma, double Row, double Column, Hlong Width, Hlong Height);
- #ifdef _WIN32
- // Create a tilted gray surface with first order polynomial.
- void GenImageSurfaceFirstOrder(const wchar_t* Type, double Alpha, double Beta, double Gamma, double Row, double Column, Hlong Width, Hlong Height);
- #endif
- // Determine the minimum and maximum gray values within regions.
- void MinMaxGray(const HRegion& Regions, const HTuple& Percent, HTuple* Min, HTuple* Max, HTuple* Range) const;
- // Determine the minimum and maximum gray values within regions.
- void MinMaxGray(const HRegion& Regions, double Percent, double* Min, double* Max, double* Range) const;
- // Calculate the mean and deviation of gray values.
- HTuple Intensity(const HRegion& Regions, HTuple* Deviation) const;
- // Calculate the mean and deviation of gray values.
- double Intensity(const HRegion& Regions, double* Deviation) const;
- // Calculate the gray value distribution of a single channel image within a certain gray value range.
- HTuple GrayHistoRange(const HRegion& Regions, const HTuple& Min, const HTuple& Max, Hlong NumBins, double* BinSize) const;
- // Calculate the gray value distribution of a single channel image within a certain gray value range.
- Hlong GrayHistoRange(const HRegion& Regions, double Min, double Max, Hlong NumBins, double* BinSize) const;
- // Calculate the histogram of two-channel gray value images.
- HImage Histo2dim(const HRegion& Regions, const HImage& ImageRow) const;
- // Calculate the gray value distribution.
- HTuple GrayHistoAbs(const HRegion& Regions, const HTuple& Quantization) const;
- // Calculate the gray value distribution.
- HTuple GrayHistoAbs(const HRegion& Regions, double Quantization) const;
- // Calculate the gray value distribution.
- HTuple GrayHisto(const HRegion& Regions, HTuple* RelativeHisto) const;
- // Determine the entropy and anisotropy of images.
- HTuple EntropyGray(const HRegion& Regions, HTuple* Anisotropy) const;
- // Determine the entropy and anisotropy of images.
- double EntropyGray(const HRegion& Regions, double* Anisotropy) const;
- // Calculate gray value features from a co-occurrence matrix.
- double CoocFeatureMatrix(double* Correlation, double* Homogeneity, double* Contrast) const;
- // Calculate a co-occurrence matrix and derive gray value features thereof.
- HTuple CoocFeatureImage(const HRegion& Regions, Hlong LdGray, const HTuple& Direction, HTuple* Correlation, HTuple* Homogeneity, HTuple* Contrast) const;
- // Calculate a co-occurrence matrix and derive gray value features thereof.
- double CoocFeatureImage(const HRegion& Regions, Hlong LdGray, Hlong Direction, double* Correlation, double* Homogeneity, double* Contrast) const;
- // Calculate the co-occurrence matrix of a region in an image.
- HImage GenCoocMatrix(const HRegion& Regions, Hlong LdGray, Hlong Direction) const;
- // Calculate gray value moments and approximation by a plane.
- void MomentsGrayPlane(const HRegion& Regions, HTuple* MRow, HTuple* MCol, HTuple* Alpha, HTuple* Beta, HTuple* Mean) const;
- // Calculate gray value moments and approximation by a plane.
- void MomentsGrayPlane(const HRegion& Regions, double* MRow, double* MCol, double* Alpha, double* Beta, double* Mean) const;
- // Calculate the deviation of the gray values from the approximating image plane.
- HTuple PlaneDeviation(const HRegion& Regions) const;
- // Compute the orientation and major axes of a region in a gray value image.
- HTuple EllipticAxisGray(const HRegion& Regions, HTuple* Rb, HTuple* Phi) const;
- // Compute the orientation and major axes of a region in a gray value image.
- double EllipticAxisGray(const HRegion& Regions, double* Rb, double* Phi) const;
- // Compute the area and center of gravity of a region in a gray value image.
- HTuple AreaCenterGray(const HRegion& Regions, HTuple* Row, HTuple* Column) const;
- // Compute the area and center of gravity of a region in a gray value image.
- double AreaCenterGray(const HRegion& Regions, double* Row, double* Column) const;
- // Calculate horizontal and vertical gray-value projections.
- HTuple GrayProjections(const HRegion& Region, const HString& Mode, HTuple* VertProjection) const;
- // Calculate horizontal and vertical gray-value projections.
- HTuple GrayProjections(const HRegion& Region, const char* Mode, HTuple* VertProjection) const;
- #ifdef _WIN32
- // Calculate horizontal and vertical gray-value projections.
- HTuple GrayProjections(const HRegion& Region, const wchar_t* Mode, HTuple* VertProjection) const;
- #endif
- // Detect and read 2D data code symbols in an image or train the 2D data code model.
- HXLDCont FindDataCode2d(const HDataCode2D& DataCodeHandle, const HTuple& GenParamName, const HTuple& GenParamValue, HTuple* ResultHandles, HTuple* DecodedDataStrings) const;
- // Detect and read 2D data code symbols in an image or train the 2D data code model.
- HXLDCont FindDataCode2d(const HDataCode2D& DataCodeHandle, const HString& GenParamName, Hlong GenParamValue, Hlong* ResultHandles, HString* DecodedDataStrings) const;
- // Detect and read 2D data code symbols in an image or train the 2D data code model.
- HXLDCont FindDataCode2d(const HDataCode2D& DataCodeHandle, const char* GenParamName, Hlong GenParamValue, Hlong* ResultHandles, HString* DecodedDataStrings) const;
- #ifdef _WIN32
- // Detect and read 2D data code symbols in an image or train the 2D data code model.
- HXLDCont FindDataCode2d(const HDataCode2D& DataCodeHandle, const wchar_t* GenParamName, Hlong GenParamValue, Hlong* ResultHandles, HString* DecodedDataStrings) const;
- #endif
- // Convert image maps into other map types.
- HImage ConvertMapType(const HString& NewType, const HTuple& ImageWidth) const;
- // Convert image maps into other map types.
- HImage ConvertMapType(const HString& NewType, Hlong ImageWidth) const;
- // Convert image maps into other map types.
- HImage ConvertMapType(const char* NewType, Hlong ImageWidth) const;
- #ifdef _WIN32
- // Convert image maps into other map types.
- HImage ConvertMapType(const wchar_t* NewType, Hlong ImageWidth) const;
- #endif
- // Compute an absolute pose out of point correspondences between world and image coordinates.
- static HPose VectorToPose(const HTuple& WorldX, const HTuple& WorldY, const HTuple& WorldZ, const HTuple& ImageRow, const HTuple& ImageColumn, const HCamPar& CameraParam, const HString& Method, const HTuple& QualityType, HTuple* Quality);
- // Compute an absolute pose out of point correspondences between world and image coordinates.
- static HPose VectorToPose(const HTuple& WorldX, const HTuple& WorldY, const HTuple& WorldZ, const HTuple& ImageRow, const HTuple& ImageColumn, const HCamPar& CameraParam, const HString& Method, const HString& QualityType, double* Quality);
- // Compute an absolute pose out of point correspondences between world and image coordinates.
- static HPose VectorToPose(const HTuple& WorldX, const HTuple& WorldY, const HTuple& WorldZ, const HTuple& ImageRow, const HTuple& ImageColumn, const HCamPar& CameraParam, const char* Method, const char* QualityType, double* Quality);
- #ifdef _WIN32
- // Compute an absolute pose out of point correspondences between world and image coordinates.
- static HPose VectorToPose(const HTuple& WorldX, const HTuple& WorldY, const HTuple& WorldZ, const HTuple& ImageRow, const HTuple& ImageColumn, const HCamPar& CameraParam, const wchar_t* Method, const wchar_t* QualityType, double* Quality);
- #endif
- // Compute a pose out of a homography describing the relation between world and image coordinates.
- static HPose ProjHomMat2dToPose(const HHomMat2D& Homography, const HHomMat2D& CameraMatrix, const HString& Method);
- // Compute a pose out of a homography describing the relation between world and image coordinates.
- static HPose ProjHomMat2dToPose(const HHomMat2D& Homography, const HHomMat2D& CameraMatrix, const char* Method);
- #ifdef _WIN32
- // Compute a pose out of a homography describing the relation between world and image coordinates.
- static HPose ProjHomMat2dToPose(const HHomMat2D& Homography, const HHomMat2D& CameraMatrix, const wchar_t* Method);
- #endif
- // Perform a radiometric self-calibration of a camera.
- HTuple RadiometricSelfCalibration(const HTuple& ExposureRatios, const HString& Features, const HString& FunctionType, double Smoothness, Hlong PolynomialDegree) const;
- // Perform a radiometric self-calibration of a camera.
- HTuple RadiometricSelfCalibration(double ExposureRatios, const HString& Features, const HString& FunctionType, double Smoothness, Hlong PolynomialDegree) const;
- // Perform a radiometric self-calibration of a camera.
- HTuple RadiometricSelfCalibration(double ExposureRatios, const char* Features, const char* FunctionType, double Smoothness, Hlong PolynomialDegree) const;
- #ifdef _WIN32
- // Perform a radiometric self-calibration of a camera.
- HTuple RadiometricSelfCalibration(double ExposureRatios, const wchar_t* Features, const wchar_t* FunctionType, double Smoothness, Hlong PolynomialDegree) const;
- #endif
- // Apply a general transformation to an image.
- HImage MapImage(const HImage& Map) const;
- // Generate a projection map that describes the mapping of images corresponding to a changing radial distortion.
- void GenRadialDistortionMap(const HCamPar& CamParamIn, const HCamPar& CamParamOut, const HString& MapType);
- // Generate a projection map that describes the mapping of images corresponding to a changing radial distortion.
- void GenRadialDistortionMap(const HCamPar& CamParamIn, const HCamPar& CamParamOut, const char* MapType);
- #ifdef _WIN32
- // Generate a projection map that describes the mapping of images corresponding to a changing radial distortion.
- void GenRadialDistortionMap(const HCamPar& CamParamIn, const HCamPar& CamParamOut, const wchar_t* MapType);
- #endif
- // Generate a projection map that describes the mapping between the image plane and a the plane z=0 of a world coordinate system.
- void GenImageToWorldPlaneMap(const HCamPar& CameraParam, const HPose& WorldPose, Hlong WidthIn, Hlong HeightIn, Hlong WidthMapped, Hlong HeightMapped, const HTuple& Scale, const HString& MapType);
- // Generate a projection map that describes the mapping between the image plane and a the plane z=0 of a world coordinate system.
- void GenImageToWorldPlaneMap(const HCamPar& CameraParam, const HPose& WorldPose, Hlong WidthIn, Hlong HeightIn, Hlong WidthMapped, Hlong HeightMapped, const HString& Scale, const HString& MapType);
- // Generate a projection map that describes the mapping between the image plane and a the plane z=0 of a world coordinate system.
- void GenImageToWorldPlaneMap(const HCamPar& CameraParam, const HPose& WorldPose, Hlong WidthIn, Hlong HeightIn, Hlong WidthMapped, Hlong HeightMapped, const char* Scale, const char* MapType);
- #ifdef _WIN32
- // Generate a projection map that describes the mapping between the image plane and a the plane z=0 of a world coordinate system.
- void GenImageToWorldPlaneMap(const HCamPar& CameraParam, const HPose& WorldPose, Hlong WidthIn, Hlong HeightIn, Hlong WidthMapped, Hlong HeightMapped, const wchar_t* Scale, const wchar_t* MapType);
- #endif
- // Rectify an image by transforming it into the plane z=0 of a world coordinate system.
- HImage ImageToWorldPlane(const HCamPar& CameraParam, const HPose& WorldPose, Hlong Width, Hlong Height, const HTuple& Scale, const HString& Interpolation) const;
- // Rectify an image by transforming it into the plane z=0 of a world coordinate system.
- HImage ImageToWorldPlane(const HCamPar& CameraParam, const HPose& WorldPose, Hlong Width, Hlong Height, const HString& Scale, const HString& Interpolation) const;
- // Rectify an image by transforming it into the plane z=0 of a world coordinate system.
- HImage ImageToWorldPlane(const HCamPar& CameraParam, const HPose& WorldPose, Hlong Width, Hlong Height, const char* Scale, const char* Interpolation) const;
- #ifdef _WIN32
- // Rectify an image by transforming it into the plane z=0 of a world coordinate system.
- HImage ImageToWorldPlane(const HCamPar& CameraParam, const HPose& WorldPose, Hlong Width, Hlong Height, const wchar_t* Scale, const wchar_t* Interpolation) const;
- #endif
- // Change the radial distortion of an image.
- HImage ChangeRadialDistortionImage(const HRegion& Region, const HCamPar& CamParamIn, const HCamPar& CamParamOut) const;
- // Simulate an image with calibration plate.
- void SimCaltab(const HString& CalPlateDescr, const HCamPar& CameraParam, const HPose& CalPlatePose, Hlong GrayBackground, Hlong GrayPlate, Hlong GrayMarks, double ScaleFac);
- // Simulate an image with calibration plate.
- void SimCaltab(const char* CalPlateDescr, const HCamPar& CameraParam, const HPose& CalPlatePose, Hlong GrayBackground, Hlong GrayPlate, Hlong GrayMarks, double ScaleFac);
- #ifdef _WIN32
- // Simulate an image with calibration plate.
- void SimCaltab(const wchar_t* CalPlateDescr, const HCamPar& CameraParam, const HPose& CalPlatePose, Hlong GrayBackground, Hlong GrayPlate, Hlong GrayMarks, double ScaleFac);
- #endif
- // Extract rectangularly arranged 2D calibration marks from the image and calculate initial values for the external camera parameters.
- HTuple FindMarksAndPose(const HRegion& CalPlateRegion, const HString& CalPlateDescr, const HCamPar& StartCamParam, Hlong StartThresh, Hlong DeltaThresh, Hlong MinThresh, double Alpha, double MinContLength, double MaxDiamMarks, HTuple* CCoord, HPose* StartPose) const;
- // Extract rectangularly arranged 2D calibration marks from the image and calculate initial values for the external camera parameters.
- HTuple FindMarksAndPose(const HRegion& CalPlateRegion, const char* CalPlateDescr, const HCamPar& StartCamParam, Hlong StartThresh, Hlong DeltaThresh, Hlong MinThresh, double Alpha, double MinContLength, double MaxDiamMarks, HTuple* CCoord, HPose* StartPose) const;
- #ifdef _WIN32
- // Extract rectangularly arranged 2D calibration marks from the image and calculate initial values for the external camera parameters.
- HTuple FindMarksAndPose(const HRegion& CalPlateRegion, const wchar_t* CalPlateDescr, const HCamPar& StartCamParam, Hlong StartThresh, Hlong DeltaThresh, Hlong MinThresh, double Alpha, double MinContLength, double MaxDiamMarks, HTuple* CCoord, HPose* StartPose) const;
- #endif
- // Segment the region of a standard calibration plate with rectangularly arranged marks in the image.
- HRegion FindCaltab(const HString& CalPlateDescr, const HTuple& SizeGauss, const HTuple& MarkThresh, Hlong MinDiamMarks) const;
- // Segment the region of a standard calibration plate with rectangularly arranged marks in the image.
- HRegion FindCaltab(const HString& CalPlateDescr, Hlong SizeGauss, Hlong MarkThresh, Hlong MinDiamMarks) const;
- // Segment the region of a standard calibration plate with rectangularly arranged marks in the image.
- HRegion FindCaltab(const char* CalPlateDescr, Hlong SizeGauss, Hlong MarkThresh, Hlong MinDiamMarks) const;
- #ifdef _WIN32
- // Segment the region of a standard calibration plate with rectangularly arranged marks in the image.
- HRegion FindCaltab(const wchar_t* CalPlateDescr, Hlong SizeGauss, Hlong MarkThresh, Hlong MinDiamMarks) const;
- #endif
- // Decode bar code symbols within a rectangle.
- HTuple DecodeBarCodeRectangle2(const HBarCode& BarCodeHandle, const HTuple& CodeType, const HTuple& Row, const HTuple& Column, const HTuple& Phi, const HTuple& Length1, const HTuple& Length2) const;
- // Decode bar code symbols within a rectangle.
- HString DecodeBarCodeRectangle2(const HBarCode& BarCodeHandle, const HString& CodeType, double Row, double Column, double Phi, double Length1, double Length2) const;
- // Decode bar code symbols within a rectangle.
- HString DecodeBarCodeRectangle2(const HBarCode& BarCodeHandle, const char* CodeType, double Row, double Column, double Phi, double Length1, double Length2) const;
- #ifdef _WIN32
- // Decode bar code symbols within a rectangle.
- HString DecodeBarCodeRectangle2(const HBarCode& BarCodeHandle, const wchar_t* CodeType, double Row, double Column, double Phi, double Length1, double Length2) const;
- #endif
- // Detect and read bar code symbols in an image.
- HRegion FindBarCode(const HBarCode& BarCodeHandle, const HTuple& CodeType, HTuple* DecodedDataStrings) const;
- // Detect and read bar code symbols in an image.
- HRegion FindBarCode(const HBarCode& BarCodeHandle, const HString& CodeType, HString* DecodedDataStrings) const;
- // Detect and read bar code symbols in an image.
- HRegion FindBarCode(const HBarCode& BarCodeHandle, const char* CodeType, HString* DecodedDataStrings) const;
- #ifdef _WIN32
- // Detect and read bar code symbols in an image.
- HRegion FindBarCode(const HBarCode& BarCodeHandle, const wchar_t* CodeType, HString* DecodedDataStrings) const;
- #endif
- // Return the estimated background image.
- void GiveBgEsti(const HBgEsti& BgEstiHandle);
- // Change the estimated background image.
- void UpdateBgEsti(const HRegion& UpDateRegion, const HBgEsti& BgEstiHandle) const;
- // Estimate the background and return the foreground region.
- HRegion RunBgEsti(const HBgEsti& BgEstiHandle) const;
- // Generate and initialize a data set for the background estimation.
- HBgEsti CreateBgEsti(double Syspar1, double Syspar2, const HString& GainMode, double Gain1, double Gain2, const HString& AdaptMode, double MinDiff, Hlong StatNum, double ConfidenceC, double TimeC) const;
- // Generate and initialize a data set for the background estimation.
- HBgEsti CreateBgEsti(double Syspar1, double Syspar2, const char* GainMode, double Gain1, double Gain2, const char* AdaptMode, double MinDiff, Hlong StatNum, double ConfidenceC, double TimeC) const;
- #ifdef _WIN32
- // Generate and initialize a data set for the background estimation.
- HBgEsti CreateBgEsti(double Syspar1, double Syspar2, const wchar_t* GainMode, double Gain1, double Gain2, const wchar_t* AdaptMode, double MinDiff, Hlong StatNum, double ConfidenceC, double TimeC) const;
- #endif
- // Asynchronous grab of images and preprocessed image data from the specified image acquisition device.
- HRegion GrabDataAsync(HXLDCont* Contours, const HFramegrabber& AcqHandle, double MaxDelay, HTuple* Data);
- // Asynchronous grab of images and preprocessed image data from the specified image acquisition device.
- HRegion GrabDataAsync(HXLDCont* Contours, const HFramegrabber& AcqHandle, double MaxDelay, HString* Data);
- // Synchronous grab of images and preprocessed image data from the specified image acquisition device.
- HRegion GrabData(HXLDCont* Contours, const HFramegrabber& AcqHandle, HTuple* Data);
- // Synchronous grab of images and preprocessed image data from the specified image acquisition device.
- HRegion GrabData(HXLDCont* Contours, const HFramegrabber& AcqHandle, HString* Data);
- // Asynchronous grab of an image from the specified image acquisition device.
- void GrabImageAsync(const HFramegrabber& AcqHandle, double MaxDelay);
- // Synchronous grab of an image from the specified image acquisition device.
- void GrabImage(const HFramegrabber& AcqHandle);
- // Add training images to the texture inspection model.
- HTuple AddTextureInspectionModelImage(const HTextureInspectionModel& TextureInspectionModel) const;
- // Inspection of the texture within an image.
- HRegion ApplyTextureInspectionModel(const HTextureInspectionModel& TextureInspectionModel, HTextureInspectionResult* TextureInspectionResultID) const;
- // bilateral filtering of an image.
- HImage BilateralFilter(const HImage& ImageJoint, double SigmaSpatial, double SigmaRange, const HTuple& GenParamName, const HTuple& GenParamValue) const;
- // bilateral filtering of an image.
- HImage BilateralFilter(const HImage& ImageJoint, double SigmaSpatial, double SigmaRange, const HString& GenParamName, double GenParamValue) const;
- // bilateral filtering of an image.
- HImage BilateralFilter(const HImage& ImageJoint, double SigmaSpatial, double SigmaRange, const char* GenParamName, double GenParamValue) const;
- #ifdef _WIN32
- // bilateral filtering of an image.
- HImage BilateralFilter(const HImage& ImageJoint, double SigmaSpatial, double SigmaRange, const wchar_t* GenParamName, double GenParamValue) const;
- #endif
- // Find the best matches of multiple NCC models.
- void FindNccModels(const HNCCModelArray& ModelIDs, const HTuple& AngleStart, const HTuple& AngleExtent, const HTuple& MinScore, const HTuple& NumMatches, const HTuple& MaxOverlap, const HTuple& SubPixel, const HTuple& NumLevels, HTuple* Row, HTuple* Column, HTuple* Angle, HTuple* Score, HTuple* Model) const;
- // Find the best matches of multiple NCC models.
- void FindNccModels(const HNCCModel& ModelIDs, double AngleStart, double AngleExtent, double MinScore, Hlong NumMatches, double MaxOverlap, const HString& SubPixel, Hlong NumLevels, HTuple* Row, HTuple* Column, HTuple* Angle, HTuple* Score, HTuple* Model) const;
- // Find the best matches of multiple NCC models.
- void FindNccModels(const HNCCModel& ModelIDs, double AngleStart, double AngleExtent, double MinScore, Hlong NumMatches, double MaxOverlap, const char* SubPixel, Hlong NumLevels, HTuple* Row, HTuple* Column, HTuple* Angle, HTuple* Score, HTuple* Model) const;
- #ifdef _WIN32
- // Find the best matches of multiple NCC models.
- void FindNccModels(const HNCCModel& ModelIDs, double AngleStart, double AngleExtent, double MinScore, Hlong NumMatches, double MaxOverlap, const wchar_t* SubPixel, Hlong NumLevels, HTuple* Row, HTuple* Column, HTuple* Angle, HTuple* Score, HTuple* Model) const;
- #endif
- // Get the training images contained in a texture inspection model.
- void GetTextureInspectionModelImage(const HTextureInspectionModel& TextureInspectionModel);
- // Guided filtering of an image.
- HImage GuidedFilter(const HImage& ImageGuide, Hlong Radius, double Amplitude) const;
- // Create an interleaved image from a multichannel image.
- HImage InterleaveChannels(const HString& PixelFormat, const HTuple& RowBytes, Hlong Alpha) const;
- // Create an interleaved image from a multichannel image.
- HImage InterleaveChannels(const HString& PixelFormat, const HString& RowBytes, Hlong Alpha) const;
- // Create an interleaved image from a multichannel image.
- HImage InterleaveChannels(const char* PixelFormat, const char* RowBytes, Hlong Alpha) const;
- #ifdef _WIN32
- // Create an interleaved image from a multichannel image.
- HImage InterleaveChannels(const wchar_t* PixelFormat, const wchar_t* RowBytes, Hlong Alpha) const;
- #endif
- // Segment image using Maximally Stable Extremal Regions (MSER).
- HRegion SegmentImageMser(HRegion* MSERLight, const HString& Polarity, const HTuple& MinArea, const HTuple& MaxArea, const HTuple& Delta, const HTuple& GenParamName, const HTuple& GenParamValue) const;
- // Segment image using Maximally Stable Extremal Regions (MSER).
- HRegion SegmentImageMser(HRegion* MSERLight, const HString& Polarity, Hlong MinArea, Hlong MaxArea, Hlong Delta, const HTuple& GenParamName, const HTuple& GenParamValue) const;
- // Segment image using Maximally Stable Extremal Regions (MSER).
- HRegion SegmentImageMser(HRegion* MSERLight, const char* Polarity, Hlong MinArea, Hlong MaxArea, Hlong Delta, const HTuple& GenParamName, const HTuple& GenParamValue) const;
- #ifdef _WIN32
- // Segment image using Maximally Stable Extremal Regions (MSER).
- HRegion SegmentImageMser(HRegion* MSERLight, const wchar_t* Polarity, Hlong MinArea, Hlong MaxArea, Hlong Delta, const HTuple& GenParamName, const HTuple& GenParamValue) const;
- #endif
- // Train a texture inspection model.
- static void TrainTextureInspectionModel(const HTextureInspectionModel& TextureInspectionModel);
- // Reconstruct a surface from several, differently illuminated images.
- HImage UncalibratedPhotometricStereo(HImage* Gradient, HImage* Albedo, const HTuple& ResultType) const;
- // Insert objects into an iconic object tuple.
- HImage InsertObj(const HImage& ObjectsInsert, Hlong Index) const;
- // Remove objects from an iconic object tuple.
- HImage RemoveObj(const HTuple& Index) const;
- // Remove objects from an iconic object tuple.
- HImage RemoveObj(Hlong Index) const;
- // Replaces one or more elements of an iconic object tuple.
- HImage ReplaceObj(const HImage& ObjectsReplace, const HTuple& Index) const;
- // Replaces one or more elements of an iconic object tuple.
- HImage ReplaceObj(const HImage& ObjectsReplace, Hlong Index) const;
- // Get the clutter parameters of a shape model.
- static HRegion GetShapeModelClutter(const HShapeModel& ModelID, const HTuple& GenParamName, HTuple* GenParamValue, HHomMat2D* HomMat2D, Hlong* ClutterContrast);
- // Get the clutter parameters of a shape model.
- static HRegion GetShapeModelClutter(const HShapeModel& ModelID, const HString& GenParamName, HString* GenParamValue, HHomMat2D* HomMat2D, Hlong* ClutterContrast);
- // Get the clutter parameters of a shape model.
- static HRegion GetShapeModelClutter(const HShapeModel& ModelID, const char* GenParamName, HString* GenParamValue, HHomMat2D* HomMat2D, Hlong* ClutterContrast);
- #ifdef _WIN32
- // Get the clutter parameters of a shape model.
- static HRegion GetShapeModelClutter(const HShapeModel& ModelID, const wchar_t* GenParamName, HString* GenParamValue, HHomMat2D* HomMat2D, Hlong* ClutterContrast);
- #endif
- // Set the clutter parameters of a shape model.
- static void SetShapeModelClutter(const HRegion& ClutterRegion, const HShapeModel& ModelID, const HHomMat2D& HomMat2D, Hlong ClutterContrast, const HTuple& GenParamName, const HTuple& GenParamValue);
- // Set the clutter parameters of a shape model.
- static void SetShapeModelClutter(const HRegion& ClutterRegion, const HShapeModel& ModelID, const HHomMat2D& HomMat2D, Hlong ClutterContrast, const HString& GenParamName, double GenParamValue);
- // Set the clutter parameters of a shape model.
- static void SetShapeModelClutter(const HRegion& ClutterRegion, const HShapeModel& ModelID, const HHomMat2D& HomMat2D, Hlong ClutterContrast, const char* GenParamName, double GenParamValue);
- #ifdef _WIN32
- // Set the clutter parameters of a shape model.
- static void SetShapeModelClutter(const HRegion& ClutterRegion, const HShapeModel& ModelID, const HHomMat2D& HomMat2D, Hlong ClutterContrast, const wchar_t* GenParamName, double GenParamValue);
- #endif
- // Read metadata from image files.
- static HTuple ReadImageMetadata(const HString& Format, const HTuple& TagName, const HString& FileName);
- // Read metadata from image files.
- static HTuple ReadImageMetadata(const char* Format, const HTuple& TagName, const char* FileName);
- #ifdef _WIN32
- // Read metadata from image files.
- static HTuple ReadImageMetadata(const wchar_t* Format, const HTuple& TagName, const wchar_t* FileName);
- #endif
- // Extract watersheds and combine basins based on markers.
- HRegion WatershedsMarker(const HRegion& Markers) const;
- // Write metadata of image files.
- static void WriteImageMetadata(const HString& Format, const HTuple& TagName, const HTuple& TagValue, const HString& FileName);
- // Write metadata of image files.
- static void WriteImageMetadata(const char* Format, const HTuple& TagName, const HTuple& TagValue, const char* FileName);
- #ifdef _WIN32
- // Write metadata of image files.
- static void WriteImageMetadata(const wchar_t* Format, const HTuple& TagName, const HTuple& TagValue, const wchar_t* FileName);
- #endif
- private:
- // Verify matching semantic type ('image')!
- void AssertObjectClass();
- };
- }
- #endif
|