Image operation of opencv learning notes

preface Simply record the notes about the image operation part of opencv 1, Auxiliary tool Image Watch Image Watch is a free and powerful image data viewing plug-in. During image viewing, it can display its pixel value and channel number, which is very helpful for viewing results after image operation. Download address attached VS2 ...

Posted by sayedsohail on Fri, 11 Feb 2022 14:42:36 +0100

Image encryption / decryption using Python+OpenCV

Basic principle: logical XOR operation Python is a programming language without much introduction; OpenCV is a cross platform computer vision and machine learning (partially open source) software library based on BSD license. At present, it has supported many languages, such as C, C + +, python, Java and MATLAB. Here, choose one of the langua ...

Posted by we4freelance on Fri, 11 Feb 2022 07:15:28 +0100

CMake quick start

preface: CMake is a cross platform installation and compilation tool, which can describe the installation (compilation process) of all platforms with simple statements.CMake has become the standard configuration of most C + + open source projects CMake official documents Cross-platform development What you will do if you want to add new ba ...

Posted by lpxxfaintxx on Fri, 11 Feb 2022 04:31:59 +0100

Interaction between pyqt5 qimage, QPixmap, Opencv, QLabel and Matplotlib

preface Early methods for image rotation were: cv2.imread() reads the imagenumpy rotating imageSave the rotated image CV2 Imwrite() and read the image again Because of the basic operation of images, I am a little white and have never touched anything. Therefore, the early idea is like this. This method is simple and clear, but ...

Posted by ropic on Thu, 10 Feb 2022 10:41:02 +0100

OpenCV learning notes_ Examples of gray threshold filtering and connected domain analysis in OpenCV

OpenCV learning notes (3)_ Examples of gray threshold filtering and connected domain analysis in OpenCV 1. Example source Today's example comes from Halcon's example program: threshold.hdev read_image (Audi2, 'audi2') fill_interlace (Audi2, ImageFilled, 'odd') threshold (ImageFilled, Region, 0, 90) connection (Region, ConnectedRegions) ...

Posted by chamade76 on Wed, 09 Feb 2022 19:38:02 +0100

Ubuntu nu18 installing tensorrt7 2.3+cuda11. 1+cudnn8. 0+opencv4. four

Download and install TensorRT-7.2.2.3 Download tensorrt-7.2.2.3 on the official website Ubuntu-18.04. x86_ 64-gnu. cuda-11.1. cudnn8. 0.tar. gz tar xzvf TensorRT-7.2.2.3.Ubuntu-18.04.x86_64-gnu.cuda-11.1.cudnn8.0.tar.gz Configure environment variables after decompression: sudo vim ~/.bashrc After entering, add environment variables at th ...

Posted by mabwi on Wed, 09 Feb 2022 11:25:41 +0100

Opencv Python learns the basic processing and geometric transformation of pictures

1, Basic image processing -- operation All the following functions are omitted cv2. 1.1.1 addition operation As has been said before, for a computer, an image is just a matrix. The addition of images is the addition of matrices. We use the add(a, b) function to realize the image addition operation. Note: when a + B < = 255, a+b = a+b; ...

Posted by versatilewt on Tue, 08 Feb 2022 10:58:28 +0100

Libtorch deployment model

Libtorch It is the C++ API officially provided by pytoch, and the use method can be said to restore pytoch to a great extent. 1, Environment configuration GitHub address: BASNetVS2017+CUDA 10.1+cuDNN 7.6.5+OpenCV 3.4.11Pytorch 1.5.0+torchvision 0.6.0Libtorch 1.5.0 (release): extraction code: 865k https://pan.baidu.com/s/1Ty-UPZWEOnNRPwl ...

Posted by rpanning on Mon, 07 Feb 2022 22:19:31 +0100

OpenCV image processing -- image smoothing

1 image noise Because the process of image acquisition, processing and transmission will inevitably be polluted by noise, which hinders people's understanding, analysis and processing of images. Common image noises include Gaussian noise, salt and pepper noise and so on. 1.1 salt and pepper noise Salt and pepper noise, also known as impulse ...

Posted by djopie on Mon, 07 Feb 2022 11:14:55 +0100

OpenCV notes 19 Fourier Tranformation

1, Introduction Image processing can be divided into two parts, spatial domain (time domain) and frequency domain. Spatial domain is the direct pixel processing of the image, which can be divided into two ways: gray transformation and filtering. Gray change is to adjust the gray value of a single pixel, and filtering is for the whole image. Le ...

Posted by Orio on Sun, 06 Feb 2022 09:08:16 +0100