samples/cpp/laplace.cpp
Примеры с cv2.imshow требуют сборки OpenCV с GUI. В ноутбуке с headless-версией используйте вывод изображений через Matplotlib.
Loading...
Searching...
No Matches
samples/cpp/laplace.cpp
An example using Laplace transformations for edge detection
#include "opencv2/videoio.hpp"
#include "opencv2/highgui.hpp"
#include "opencv2/imgproc.hpp"
#include <ctype.h>
#include <stdio.h>
#include <iostream>
using namespace cv;
using namespace std;
static void help(char** argv)
{
cout <<
<< [] << << ;
}
{, , };
= ;
= ;
( , ** )
{
:: (, , );
();
;
= .<>();
(.() == && ([]))
.(.<>());
.(::());
(!.())
{
<< << << ;
;
}
<< << .<>() <<
<< .() <<
<< .() <<
<< .() << ;
= ;
(.())
{
= .<>();
}
(!.())
{
.();
-;
}
( != )
{
<< << << ;
(!.(, ))
{
<< << ;
}
}
(, );
(, , &, , );
, , ;
(;;)
{
;
>> ;
( .() )
;
= (*)|;
( == )
(, , (, ), , );
( == )
(, , (, ));
(, , );
(, , , );
(, , (+)*);
(, );
= ()();
( == )
= == ? : == ? : ;
( == || == || == )
;
}
;
}