[personal notes] OpenCV4 C + + image processing and video analysis 13 lessons
Personal data, for learning purposes only Modification time - 21:11:31, February 19, 2022 Course of study: OpenCV4 image processing and video analysis practical tutorial Lecturer: Jia Zhigang
13 custom filtering
opencv knowledge points:
Convolute image with kernel - filter2DScaling takes absolute value and converts it to 8 bits - convertSc ...
Posted by johnnyblaze1980 on Sun, 20 Feb 2022 00:38:21 +0100
c++webserver/Chapter II Multiprocess Development
1. PCB on Linux
2. Process State Transition
1.Tristate
2.Pentastate
3.ps command.
//Static View Process
ps aux(View all current processes) | ajx
4.top command
//View process dynamically
5.kill command
//Kill Process
kill -9/SIGKILL pid Force Kill Process
killall -name Process name Kill by process name
6. Process re ...
Posted by may27 on Sun, 20 Feb 2022 00:06:25 +0100
Visual Studio Code configuration C/C + + compilation environment process and problem solving (Win10 environment)
1. Introduction to Visual Studio Code
VS Code is actually a powerful text editor, which can also realize the compilation function on the basis of installing plug-ins. Support Windows, OS X and Linux, with built-in JavaScript, TypeScript and node JS support, and has a rich plug-in ecosystem. You can install plug-ins to support C + +, C#, Python ...
Posted by FamousMortimer on Sat, 19 Feb 2022 23:30:26 +0100
C + + experience -- managing resources in the form of objects
The so-called resources are things borrowed from the system during the operation of the program. Once used, when you don't use them, you must return them. The most common resource of C + + is dynamic memory allocation, that is, the memory we dynamically allocate from the system with new or malloc. Of course, resources also include other resourc ...
Posted by swell on Sat, 19 Feb 2022 23:24:40 +0100
[hand tear STL] stack&queue
Introduction and use of stack
stack is a container adapter, which is specially used in the context of last in first out operation. Its deletion can only insert and extract elements from one end of the container.Stack is implemented as a container adapter. A container adapter encapsulates a specific class as its underlying container, and pr ...
Posted by scotthoff on Sat, 19 Feb 2022 18:30:48 +0100
[C + +] object oriented -- class and object
***
Class definitions and class members
Define a class:
class Box
{
private:
double length; // Length of a box
double breadth; // Breadth of a box
double height; // Height of a box
public:
double getArea();
};
The defined class has the following properties: class name, class members (including da ...
Posted by Joel.DNSVault on Sat, 19 Feb 2022 17:35:19 +0100
How to use C + + pointer correctly
Smart pointer
When using heap memory, when a piece of heap memory is no longer needed, this memory must be released in order to reallocate this memory. If a programmer accidentally makes an error when writing code for object reallocation, it will lead to serious problems, such as memory leakage, which will lead to program crash. In C ++ 11 ...
Posted by robin339 on Sat, 19 Feb 2022 12:57:30 +0100
[GDOI2013] explanation of letter connection
Problem surface
There is a game in which a lattice of m rows and n columns is given on the plane. There are obstacles on some grids, and there may be English letters on grids without obstacles. Now it is required to establish a path on the empty grid, so that there is a letter at both ends of each path, and the letters at both ends are differe ...
Posted by paparanch on Sat, 19 Feb 2022 10:34:11 +0100
C + + octet sharing - data structure II - hash table
C + + octet sharing - data structure II - hash table
preface
What is a hash table?
The search Binary Tree finds the value by comparing it with the target value one by one from the root node, and then looking down until the target value is found or the root node is not found. The time complexity is O (log n). In the hash table, the value and ...
Posted by argrafic on Sat, 19 Feb 2022 02:43:16 +0100
Free pie (HDU-1176)
Title Link: http://acm.hdu.edu.cn/showproblem.php?pid=1176 Main idea of the title: At first, the gameboy is on coordinate 5. He can only move in 0-10 coordinates, and the gameboy at position I can only connect the pie at one position of (i-1),(i),(i+1) in the next second (there may be more than one pie falling at this time). Find out how many p ...
Posted by audiodef on Sat, 19 Feb 2022 02:41:25 +0100