mirror of
https://github.com/Laex/Delphi-OpenCV.git
synced 2024-11-15 15:55:53 +01:00
16 lines
314 B
C++
16 lines
314 B
C++
|
|
||
|
#include "stdafx.h"
|
||
|
|
||
|
namespace cv
|
||
|
{
|
||
|
|
||
|
ICLASS_API void __stdcall prxCanny(IplImage* image, IplImage* edges,
|
||
|
double threshold1, double threshold2,
|
||
|
int apertureSize, bool L2gradient)
|
||
|
{
|
||
|
Mat _edges;
|
||
|
Canny(Mat(image), _edges, threshold1, threshold2, apertureSize, L2gradient);
|
||
|
cvCopy(&(IplImage)_edges, edges);
|
||
|
}
|
||
|
|
||
|
}
|