OpenCV adaptive histogram equalization CLAHE C + + source code sharing

1, Introduction Recently, I received a request from several netizens to provide the source code of CLAHE in OpenCV. Here, I directly share the source code of CLAHE.CPP in OpenCV4.54. 2, OpenCV source code download Download address: https://sourceforge.net/projects/opencvlibrary/files/ There are versions 3.4.10 – 4.5.4, but the downl ...

Posted by rich86 on Wed, 24 Nov 2021 00:30:11 +0100

Template matching program

  original intention Sure enough, halcon is easy to use, and people become lazy. There is a project that needs to write a shape matching program, so they use it to practice. The program is not very complex, and the speed feels like find in halcon_ scaled_ shape_ There is still a gap in the model. At present, I don't know how to further improve ...

Posted by shanejeffery86 on Tue, 23 Nov 2021 07:08:35 +0100

Install FTP server for Ubuntu

install Install ftp server sudo apt install vsftpd Software management Software management mode service vsftpd start start-up service vsftpd restart restart service vsftpd stop stop it service vsftpd status View status Anonymous access method Modify profile gedit /etc/vsftpd.conf Write configuration anonymous_enable=YES anon ...

Posted by think-digitally on Mon, 22 Nov 2021 18:20:00 +0100

Introduction to C language

1. Application scenario of pointer (1), Exchange the values of two variables #include <stdio.h> void swap(int *pa,int *pb); int main() { int a=5; int b=6; swap(&a,&b); printf("a=%d,b=%d\n",a,b); return 0; } void swap(int *pa,int *pb){ int t = *pa; *pa = *pb; *pb = t; } (2), Function returns multiple values, and some ...

Posted by monezz on Sun, 21 Nov 2021 04:45:29 +0100

Some operations of image container Mat and matrix in OpenCV4

catalogue Images and matrices: Image container Mat in OpenCV First create an image container Mat and feel it: Let's talk about the third parameter CV_8UC1 image file format: Traverse Mat matrix elements (image pixel values): Use Mat to perform various matrix element level operations: C + + realizes the creation and operation of matrix: ...

Posted by TheStalker on Sat, 20 Nov 2021 23:11:07 +0100

opencv pixel value operation -- Judging corners (notes)

c++ opencv pixel value operation - auxiliary document corner judgment There is a set of corner coordinates of corners of vector < point > type (obtained by fitting the document border and calculating the intersection) There is also a binary document contour map of Mat type (the document image is obtained by Canny contour extraction + fin ...

Posted by adams0423 on Sat, 20 Nov 2021 18:24:04 +0100

Painful installation of opencv and denseflow

Denseflow is a common library for extracting optical flow and pictures. It took a whole afternoon to install denseflow, and it was finally done. The whole process is described below: First, according to: https://github.com/innerlee/setup Install the dependent libraries: boost and OpenCV. There should be no problem with the installation ...

Posted by jax_15 on Sat, 20 Nov 2021 03:29:56 +0100

[OpenCV/C + +] implementation principle and code explanation of KNN algorithm for identifying numbers

1, KNN principle 1.1 introduction to KNN principle    KNN algorithm, i.e. K nearest neighbor algorithm, as the name suggests, its principle is to judge which category x belongs to according to what category most of the K nearest points belong to when predicting a new value X. zzzzMing - big data technology - simple KNN algor ...

Posted by noelswanson on Sat, 20 Nov 2021 00:38:42 +0100

[Opencv uninstall and reinstall] under NVIDIA Xavier NX, uninstall opencv3 and reinstall opencv4

preface Due to the requirements for OpenCV version, you need to uninstall OpenCV3.4 and reinstall version 4.4.0. Note: ROS originally had its own OpenCV. Remember not to delete it, but only delete your own additional library, otherwise some function packages in ROS will collapse because you can't find the original OpenCV. I can't find ...

Posted by ankhmor on Wed, 17 Nov 2021 11:09:55 +0100

cv::StereoCalibrate source code analysis -- CvLevMarq solver

For work reasons, it is necessary to calibrate the camera on a large scale. There is an obvious problem with the result of cv::omni::StereoCalibrate. There is no relevant analysis on the Internet. Only how to use this function, so I can only read the source code of StereoCalibrate myself. opencv version 4.1.1 The steps of StereoCalibrate are ...

Posted by rlhms09 on Thu, 11 Nov 2021 05:50:11 +0100