mirror of
https://github.com/opencv/opencv.git
synced 2026-07-25 21:33:04 +04:00
core: deprecate MatCommaInitializer_
This commit is contained in:
@@ -41,10 +41,11 @@ int main(int argc, char *argv[])
|
||||
|
||||
//! [sharp]
|
||||
// Create a kernel that we will use to sharpen our image
|
||||
Mat kernel = (Mat_<float>(3,3) <<
|
||||
1, 1, 1,
|
||||
1, -8, 1,
|
||||
1, 1, 1); // an approximation of second derivative, a quite strong kernel
|
||||
Mat kernel = Mat_<float>({3,3}, {
|
||||
1, 1, 1,
|
||||
1, -8, 1,
|
||||
1, 1, 1
|
||||
}); // an approximation of second derivative, a quite strong kernel
|
||||
|
||||
// do the laplacian filtering as it is
|
||||
// well, we need to convert everything in something more deeper then CV_8U
|
||||
|
||||
Reference in New Issue
Block a user