2014-10-18 01:12:32 +02:00
|
|
|
(*
|
|
|
|
**************************************************************************************************
|
|
|
|
Project Delphi-OpenCV
|
|
|
|
**************************************************************************************************
|
|
|
|
Contributor:
|
|
|
|
Laentir Valetov
|
|
|
|
email:laex@bk.ru
|
|
|
|
Mikhail Grigorev
|
2018-08-16 20:29:02 +02:00
|
|
|
email:sleuthhound@gmail.com
|
2014-10-18 01:12:32 +02:00
|
|
|
**************************************************************************************************
|
|
|
|
You may retrieve the latest version of this file at the GitHub,
|
|
|
|
located at git://github.com/Laex/Delphi-OpenCV.git
|
|
|
|
**************************************************************************************************
|
|
|
|
License:
|
|
|
|
The contents of this file are subject to the Mozilla Public License Version 1.1 (the "License");
|
|
|
|
you may not use this file except in compliance with the License. You may obtain a copy of the
|
|
|
|
License at http://www.mozilla.org/MPL/
|
|
|
|
|
|
|
|
Software distributed under the License is distributed on an "AS IS" basis, WITHOUT WARRANTY OF
|
|
|
|
ANY KIND, either express or implied. See the License for the specific language governing rights
|
|
|
|
and limitations under the License.
|
|
|
|
|
|
|
|
Alternatively, the contents of this file may be used under the terms of the
|
|
|
|
GNU Lesser General Public License (the "LGPL License"), in which case the
|
|
|
|
provisions of the LGPL License are applicable instead of those above.
|
|
|
|
If you wish to allow use of your version of this file only under the terms
|
|
|
|
of the LGPL License and not to allow others to use your version of this file
|
|
|
|
under the MPL, indicate your decision by deleting the provisions above and
|
|
|
|
replace them with the notice and other provisions required by the LGPL
|
|
|
|
License. If you do not delete the provisions above, a recipient may use
|
|
|
|
your version of this file under either the MPL or the LGPL License.
|
|
|
|
|
|
|
|
For more information about the LGPL: http://www.gnu.org/copyleft/lesser.html
|
|
|
|
**************************************************************************************************
|
|
|
|
Warning: Using Delphi XE3 syntax!
|
|
|
|
**************************************************************************************************
|
|
|
|
The Initial Developer of the Original Code:
|
|
|
|
OpenCV: open source computer vision library
|
|
|
|
Homepage: http://ocv.org
|
|
|
|
Online docs: http://docs.ocv.org
|
|
|
|
Q&A forum: http://answers.ocv.org
|
|
|
|
Dev zone: http://code.ocv.org
|
|
|
|
**************************************************************************************************
|
|
|
|
Original file:
|
|
|
|
opencv\modules\photo\include\opencv2\photo\photo_c.h
|
|
|
|
*************************************************************************************************
|
|
|
|
*)
|
2015-10-05 18:46:36 +02:00
|
|
|
|
2014-10-18 01:12:32 +02:00
|
|
|
{$I OpenCV.inc}
|
|
|
|
unit ocv.photo_c;
|
|
|
|
|
|
|
|
interface
|
|
|
|
|
|
|
|
uses ocv.core_c, ocv.core.types_c;
|
|
|
|
|
|
|
|
const
|
|
|
|
(*
|
|
|
|
Inpainting algorithms
|
|
|
|
*)
|
2022-03-16 20:15:42 +01:00
|
|
|
CV_INPAINT_NS = 0;
|
2014-10-18 01:12:32 +02:00
|
|
|
CV_INPAINT_TELEA = 1;
|
2015-10-05 18:46:36 +02:00
|
|
|
|
2014-10-18 01:12:32 +02:00
|
|
|
(*
|
|
|
|
Inpaints the selected region in the image
|
2015-10-05 18:46:36 +02:00
|
|
|
|
2014-10-18 01:12:32 +02:00
|
|
|
CVAPI(void) cvInpaint( const CvArr* src, const CvArr* inpaint_mask,
|
|
|
|
CvArr* dst, double inpaintRange, int flags );
|
|
|
|
*)
|
2015-10-05 18:46:36 +02:00
|
|
|
|
|
|
|
procedure cvInpaint(const src: pCvArr; const inpaint_mask: pCvArr; dst: pCvArr; inpaintRange: double; flags: Integer); cdecl;
|
2016-08-05 12:41:08 +02:00
|
|
|
|
2014-10-18 01:12:32 +02:00
|
|
|
implementation
|
|
|
|
|
|
|
|
uses ocv.lib;
|
|
|
|
|
2022-03-16 20:15:42 +01:00
|
|
|
procedure cvInpaint(const src: pCvArr; const inpaint_mask: pCvArr; dst: pCvArr; inpaintRange: double; flags: Integer); cdecl;
|
|
|
|
external opencv_photo_lib{$IFDEF DELAYEDLOADLIB} delayed{$ENDIF};
|
2014-10-18 01:12:32 +02:00
|
|
|
|
|
|
|
end.
|