mirror of
https://github.com/Laex/Delphi-OpenCV.git
synced 2024-11-15 07:45:53 +01:00
Migration to version 2.4.5
Signed-off-by: Laex <laex@bk.ru>
This commit is contained in:
parent
2ace9abed7
commit
dc56d3b7ea
Binary file not shown.
Binary file not shown.
BIN
Bin/opencv_calib3d245.dll
Normal file
BIN
Bin/opencv_calib3d245.dll
Normal file
Binary file not shown.
BIN
Bin/opencv_calib3d245d.dll
Normal file
BIN
Bin/opencv_calib3d245d.dll
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
Bin/opencv_contrib245.dll
Normal file
BIN
Bin/opencv_contrib245.dll
Normal file
Binary file not shown.
BIN
Bin/opencv_contrib245d.dll
Normal file
BIN
Bin/opencv_contrib245d.dll
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
Bin/opencv_features2d245.dll
Normal file
BIN
Bin/opencv_features2d245.dll
Normal file
Binary file not shown.
BIN
Bin/opencv_features2d245d.dll
Normal file
BIN
Bin/opencv_features2d245d.dll
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
Bin/opencv_gpu245.dll
Normal file
BIN
Bin/opencv_gpu245.dll
Normal file
Binary file not shown.
BIN
Bin/opencv_gpu245d.dll
Normal file
BIN
Bin/opencv_gpu245d.dll
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
Bin/opencv_imgproc245.dll
Normal file
BIN
Bin/opencv_imgproc245.dll
Normal file
Binary file not shown.
BIN
Bin/opencv_imgproc245d.dll
Normal file
BIN
Bin/opencv_imgproc245d.dll
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
Bin/opencv_legacy245.dll
Normal file
BIN
Bin/opencv_legacy245.dll
Normal file
Binary file not shown.
BIN
Bin/opencv_legacy245d.dll
Normal file
BIN
Bin/opencv_legacy245d.dll
Normal file
Binary file not shown.
Binary file not shown.
BIN
Bin/opencv_ml245.dll
Normal file
BIN
Bin/opencv_ml245.dll
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
Bin/opencv_nonfree245.dll
Normal file
BIN
Bin/opencv_nonfree245.dll
Normal file
Binary file not shown.
BIN
Bin/opencv_nonfree245d.dll
Normal file
BIN
Bin/opencv_nonfree245d.dll
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
Bin/opencv_objdetect245.dll
Normal file
BIN
Bin/opencv_objdetect245.dll
Normal file
Binary file not shown.
BIN
Bin/opencv_objdetect245d.dll
Normal file
BIN
Bin/opencv_objdetect245d.dll
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
Bin/opencv_photo245.dll
Normal file
BIN
Bin/opencv_photo245.dll
Normal file
Binary file not shown.
BIN
Bin/opencv_photo245d.dll
Normal file
BIN
Bin/opencv_photo245d.dll
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
Bin/opencv_stitching245.dll
Normal file
BIN
Bin/opencv_stitching245.dll
Normal file
Binary file not shown.
BIN
Bin/opencv_stitching245d.dll
Normal file
BIN
Bin/opencv_stitching245d.dll
Normal file
Binary file not shown.
BIN
Bin/opencv_superres245.dll
Normal file
BIN
Bin/opencv_superres245.dll
Normal file
Binary file not shown.
BIN
Bin/opencv_superres245d.dll
Normal file
BIN
Bin/opencv_superres245d.dll
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
Bin/opencv_ts245.dll
Normal file
BIN
Bin/opencv_ts245.dll
Normal file
Binary file not shown.
BIN
Bin/opencv_ts245d.dll
Normal file
BIN
Bin/opencv_ts245d.dll
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
Bin/opencv_video245.dll
Normal file
BIN
Bin/opencv_video245.dll
Normal file
Binary file not shown.
BIN
Bin/opencv_video245d.dll
Normal file
BIN
Bin/opencv_video245d.dll
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
Bin/opencv_videostab245.dll
Normal file
BIN
Bin/opencv_videostab245.dll
Normal file
Binary file not shown.
BIN
Bin/opencv_videostab245d.dll
Normal file
BIN
Bin/opencv_videostab245d.dll
Normal file
Binary file not shown.
@ -2,8 +2,5 @@ Delphi-OpenCV
|
||||
-------------
|
||||
Project is no longer divided by version OpenCV.<br>
|
||||
Project matching, the latest version of OpenCV.<br>
|
||||
The current version of OpenCV 2.4.4.<br>
|
||||
Development environment - Delphi XE3.<br>
|
||||
|
||||
|
||||
http://laex.github.com/Delphi-OpenCV
|
||||
The current version of OpenCV 2.4.5.<br>
|
||||
Development environment - Delphi XE3.<br>
|
@ -97,7 +97,7 @@ unit imgproc;
|
||||
|
||||
interface
|
||||
|
||||
Uses core_c, Core.types_c;
|
||||
Uses core_c, Core.types_c, imgproc.types_c;
|
||||
|
||||
// {
|
||||
//
|
||||
@ -849,10 +849,12 @@ procedure GaussianBlur(src: pIplImage; dst: pIplImage; ksize: TcvSize; sigmaX: d
|
||||
// CV_EXPORTS_W void createHanningWindow(OutputArray dst, Size winSize, int type);
|
||||
//
|
||||
/// /! type of the threshold operation
|
||||
// enum { THRESH_BINARY=CV_THRESH_BINARY, THRESH_BINARY_INV=CV_THRESH_BINARY_INV,
|
||||
// THRESH_TRUNC=CV_THRESH_TRUNC, THRESH_TOZERO=CV_THRESH_TOZERO,
|
||||
// THRESH_TOZERO_INV=CV_THRESH_TOZERO_INV, THRESH_MASK=CV_THRESH_MASK,
|
||||
// THRESH_OTSU=CV_THRESH_OTSU };
|
||||
const
|
||||
THRESH_BINARY=CV_THRESH_BINARY;
|
||||
THRESH_BINARY_INV=CV_THRESH_BINARY_INV;
|
||||
THRESH_TRUNC=CV_THRESH_TRUNC; THRESH_TOZERO=CV_THRESH_TOZERO;
|
||||
THRESH_TOZERO_INV=CV_THRESH_TOZERO_INV; THRESH_MASK=CV_THRESH_MASK;
|
||||
THRESH_OTSU=CV_THRESH_OTSU;
|
||||
//
|
||||
/// /! applies fixed threshold to the image
|
||||
// CV_EXPORTS_W double threshold( InputArray src, OutputArray dst,
|
||||
|
1181
include/imgproc/smooth.pas
Normal file
1181
include/imgproc/smooth.pas
Normal file
File diff suppressed because it is too large
Load Diff
@ -36,7 +36,7 @@ unit uLibName;
|
||||
interface
|
||||
|
||||
const
|
||||
CV_Version = '244';
|
||||
CV_Version = '245';
|
||||
|
||||
{$IFDEF DEBUG}
|
||||
Core_Dll = 'opencv_core' + CV_Version + 'd.dll';
|
||||
|
@ -233,12 +233,13 @@ procedure cvReleaseMat(Var mat: pCvMat); cdecl;
|
||||
// be: may;
|
||||
// var )
|
||||
|
||||
// CVAPI(CvMat) cvCloneMat( CvMat* mat: step value)): Integer;
|
||||
{
|
||||
(* Makes a new matrix from <rect> subrectangle of input array.
|
||||
No data is copied *)
|
||||
CVAPI(CvMat)cvGetSubRect(CvArr * arr, CvMat * submat, CvRect rect);
|
||||
}
|
||||
// * Creates an exact copy of the input matrix (except, may be, step value) */
|
||||
// CVAPI(CvMat*) cvCloneMat(const CvMat* mat);
|
||||
function cvCloneMat(const mat: pCvMat): pCvMat; cdecl;
|
||||
|
||||
// (* Makes a new matrix from <rect> subrectangle of input array.
|
||||
// No data is copied *)
|
||||
// CVAPI(CvMat)cvGetSubRect(CvArr * arr, CvMat * submat, CvRect rect);
|
||||
function cvGetSubRect(arr: pIplImage; submat: pIplImage; rect: TCvRect): pIplImage; cdecl;
|
||||
|
||||
|
||||
@ -850,10 +851,21 @@ procedure cvInRangeS(
|
||||
// (* Calculates cross product of two 3d vectors *)
|
||||
// procedure cvCrossProduct(CvArr * src1: array of
|
||||
// function maxiter CV_DEFAULT(v1: 100)): Integer; (; var src2: CvArr; var dst: CvArr);
|
||||
//
|
||||
// (* Matrix transform: dst = A*B + C, C is optional *)
|
||||
/// / >> Following declaration is a macro definition!
|
||||
// const cvMatMulAdd(src1, src2, src3, dst)cvGEMM((src1), (src2), 1., (src3), 1., (dst), 0);
|
||||
|
||||
/// * Extended matrix transform:
|
||||
// dst = alpha*op(A)*op(B) + beta*op(C), where op(X) is X or X^T */
|
||||
// CVAPI(void) cvGEMM( const CvArr* src1, const CvArr* src2, double alpha,
|
||||
// const CvArr* src3, double beta, CvArr* dst,
|
||||
// int tABC CV_DEFAULT(0));
|
||||
procedure cvGEMM(const src1: pCvArr; const src2: pCvArr; alpha: Double; const src3: pCvArr; beta: Double; dst: pCvArr;
|
||||
tABC: Integer = 0); cdecl;
|
||||
|
||||
/// * Matrix transform: dst = A*B + C, C is optional */
|
||||
// #define cvMatMulAdd( src1, src2, src3, dst ) cvGEMM( (src1), (src2), 1., (src3), 1., (dst), 0 )
|
||||
procedure cvMatMulAdd(const src1, src2, src3: pCvArr; dst: pCvArr); inline;
|
||||
// #define cvMatMul( src1, src2, dst ) cvMatMulAdd( (src1), (src2), NULL, (dst))
|
||||
procedure cvMatMul(const src1, src2: pCvArr; dst: pCvArr); inline;
|
||||
|
||||
/// / >> Following declaration is a macro definition!
|
||||
// const cvMatMul(src1, src2, dst)cvMatMulAdd((src1), (src2), 0, (dst));
|
||||
//
|
||||
@ -1912,6 +1924,21 @@ procedure cvSave(const filename: pCVChar; const struct_ptr: Pointer; const name:
|
||||
function cvLoad(const filename: pCVChar; memstorage: pCvMemStorage = Nil; const name: pCVChar = nil;
|
||||
const real_name: ppChar = nil): Pointer; cdecl;
|
||||
|
||||
// *********************************** CPU capabilities ***********************************/
|
||||
// CVAPI(int) cvCheckHardwareSupport(int feature);
|
||||
function cvCheckHardwareSupport(feature: Integer): Integer; cdecl;
|
||||
|
||||
// *********************************** Multi-Threading ************************************/
|
||||
|
||||
// * retrieve/set the number of threads used in OpenMP implementations */
|
||||
// CVAPI(int) cvGetNumThreads( void );
|
||||
function cvGetNumThreads: Integer; cdecl;
|
||||
// CVAPI(void) cvSetNumThreads( int threads CV_DEFAULT(0) );
|
||||
procedure cvSetNumThreads(threads: Integer = 0); cdecl;
|
||||
// * get index of the thread being executed */
|
||||
// CVAPI(int) cvGetThreadNum( void );
|
||||
function cvGetThreadNum: Integer; cdecl;
|
||||
|
||||
function cvGetTickCount: int64; inline;
|
||||
function cvGetTickFrequency: Double;
|
||||
|
||||
@ -1928,7 +1955,6 @@ const
|
||||
CV_CPU_AVX = 10;
|
||||
CV_HARDWARE_MAX_FEATURE = 255;
|
||||
|
||||
// cvCheckHardwareSupport(Integer feature): CVAPI(Integer); cvGetNumThreads(): CVAPI(Integer);
|
||||
// procedure cvSetNumThreads(v1: 0)); cvGetThreadNum(): CVAPI(Integer);
|
||||
// cvGetErrStatus(): CVAPI(Integer);
|
||||
// procedure cvSetErrStatus(status: Integer); CV_ErrModeLeaf = 0: const;
|
||||
@ -2266,6 +2292,7 @@ begin
|
||||
end;
|
||||
|
||||
procedure cvSet(arr: pCvArr; value: TCvScalar; const mask: pCvArr = Nil); external Core_Dll;
|
||||
|
||||
procedure cvSet(mat: pCvMat; i, j: Integer; val: Single); inline;
|
||||
var
|
||||
type_: Integer;
|
||||
@ -2280,4 +2307,21 @@ begin
|
||||
pf^ := val;
|
||||
end;
|
||||
|
||||
function cvCloneMat; external Core_Dll;
|
||||
function cvCheckHardwareSupport; external Core_Dll;
|
||||
function cvGetNumThreads; external Core_Dll;
|
||||
procedure cvSetNumThreads; external Core_Dll;
|
||||
function cvGetThreadNum; external Core_Dll;
|
||||
procedure cvGEMM; external Core_Dll;
|
||||
|
||||
procedure cvMatMulAdd(const src1, src2, src3: pCvArr; dst: pCvArr); inline;
|
||||
begin
|
||||
cvGEMM(src1, src2, 1, src3, 1, dst, 0);
|
||||
end;
|
||||
|
||||
procedure cvMatMul(const src1, src2: pCvArr; dst: pCvArr); inline;
|
||||
begin
|
||||
cvMatMulAdd(src1, src2, nil, dst);
|
||||
end;
|
||||
|
||||
end.
|
||||
|
Loading…
Reference in New Issue
Block a user