Advertisement
Guest User

Untitled

a guest
Apr 19th, 2018
68
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Delphi 1.45 KB | None | 0 0
  1.   AddMethod(@MatchTemplate_Wrap, 'function MatchTemplate(constref Img, Sub: T2DIntArray; Formula:ETMFormula=TM_CCOEFF_NORMED): T2DRealArray;');
  2.   AddMethod(@LoadFFTWFrom,       'function  LoadFFTWFrom(constref Path: String): LongBool;');
  3.   AddMethod(@DisableFFTW,        'procedure DisableFFTW();');
  4.   AddMethod(@EnableFFTW,         'function  EnableFFTW(): LongBool');
  5.   AddMethod(@SetMaxFFTThreads,   'procedure SetMaxFFTThreads(MaxThreads: Int32);');
  6.   AddMethod(@expClearFFTCache,   'procedure ClearFFTCache();');
  7.  
  8.   // stats helper methods
  9.   AddMethod(@expMin,        'function T2DRealArray.Min(): TReal; constref;');
  10.   AddMethod(@expMax,        'function T2DRealArray.Max(): TReal; constref;');
  11.   AddMethod(@expArgMin,     'function T2DRealArray.ArgMin(): TPoint; constref;');
  12.   AddMethod(@expArgMax,     'function T2DRealArray.ArgMax(): TPoint; constref;');
  13.   AddMethod(@expNormMinMax, 'function T2DRealArray.NormMinMax(A,B: TReal): T2DRealArray; constref;');
  14.  
  15.   // image helpers
  16.   AddMethod(@expCompareImageAt, 'function T2DIntArray.CompareImageAt(Templ: T2DIntArray; Pt: TPoint; Tol: Int32): Single; constref;');
  17.   AddMethod(@expDownscaleImage, 'function T2DIntArray.DownscaleImage(Scale: Int32): T2DIntArray; constref;');
  18.   AddMethod(@expRotateImage,    'function T2DIntArray.RotateImage(Angle: Single; Expand, Smooth: LongBool): T2DIntArray; constref;');
  19.   AddMethod(@expCrop,           'function T2DIntArray.Crop(B: TBox): T2DIntArray; constref;');
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement