Qt development process after the release of the problem

Qt development process after the release of Qt is a cross platform C++ graphical user interface application development framework, the use of it can be very convenient to develop a variety of types of applications. But with the development of Qt, more and more powerful functions, the need to release more and more documents. When the need to pick out the file to get some difficulty, a lot of beginners to spend a few days did not allow his program to run smoothly on someone else's computer. Baidu "QT program release" can find some articles. The method is to give their own one of the documents needed to find out. Actually...
Read(313) comment(0)

QtCreator (C++ Visual compiler) compiler prompted C4819 warning solution

With Visual + C++ QtCreator compiler compiler often appear similar warnings. C4819: warning this file contains characters that are not represented in the current code page (936). Please save the file as Unicode format to prevent data loss This warning can be ignored, but the larger the project when the project will often prompt dozens of such warnings, but also very annoying. In fact, the solution is very simple, we can save the code for the UTF-8 file with BOM format can be. ...
Read(513) comment(1)

Mutable keyword in C++

Mutable in the C++ keyword in mutable, C++ is in order to break through the limitations of the const set. A member variable that can be used to modify a class. Variables that are modified by mutable will always be in a state of change, and even the const function can change the value of this variable. For example, the following example: #include Namespace STD using; Test class { Public: Test ();...
Read(545) comment(0)

Summary of the two key words that modify the member function of C++

Modified C + + member function of two key summary const member function (const) const member function said this member function cannot modify the class member variables, so this member function said a const member function. In this way, the compiler can optimize the depth of this function. In addition, a class of constant type samples can only call the constant member function. For example, the following example. Test class { Public: Test (); GetValue const () int;...
Read(442) comment(0)

The template function is derived in the dynamic link library

Dynamic link library in the export template function C++ support function template, using the function template, you can simplify the program code. I also often use the function template in their own code, but always thought that the function template is to be put in the header file, or call the template function, the compiler will not find the definition of the function template. Today, leisure, and turned over Primer C++, found that my previous understanding is a problem. Template functions can be as common as the function, the declaration in the header file, the definition of the.Cpp in the. At this time and think of another question, whether the DLL can be exported...
Read(505) comment(0)

OpenCV learning (linear fitting)

OpenCV learning (straight line fitting) Hough transform can be extracted from the image of a straight line. But the accuracy of the extracted straight line is not high. And in many cases, we need to accurately estimate the parameters of a straight line, then we need to make a straight line fitting. Linear fitting method, such as linear regression is one of the most simple linear fitting method. But this method is not suitable for extracting straight lines in the image. Because the algorithm assumes that the X coordinates of each data point are accurate, the Y coordinates are Gauss noise. In fact, the XY coordinates of each data point in the image are noisy. Here is...
Read(840) comment(0)

OpenCV learning (Hough transform to extract straight line)

OpenCV learning (Hough transform) in the machine vision applications, we often have to extract the various characteristics of the image, the most basic feature is the image of the lines, corners, etc.. This note to talk about how to extract the image in a straight line. The method used here is called the Hough transform. Hough transform this name was first published in Duda Richard and Hart Peter two in 1972, published in the ACM Comm. article, of the Hough Trans Use...
Read(715) comment(0)

ASCII code and instructions

ASCII ASCII is a English American table and Standard Code for Information Interchange abbreviation. ASCII code is currently the most common computer encoding standards. ASCII codes can be roughly divided into three parts. ASCII non print control character ASCII print character; Extended ASCII print character ASCII control character ASCII table on the number 31 - 0 assigned to the control character. Bin Dec...
Read(419) comment(0)

OpenCV learning notes (template matching)

OpenCV learning notes (template matching) template matching is one of the ways to find a specific target in an image. The principle of this method is very simple, to traverse the image of each possible position, compared with the template is "similar", when the similarity is high enough, we think that we have found the target. In OpenCV, the corresponding function is provided to complete this operation. MatchTemplate function: search for the matching between the template and the input image, and get the matching result image. MinMaxLoc function: finding the maximum and minimum values in a given matrix,...
Read(1183) comment(0)

Object orientation feature extraction based on machine vision algorithm

Machine vision algorithm for object orientation feature extraction in machine vision processing, we often need to detect the orientation of the object to be assessed. For example, we want OCR to recognize a string. Then the angle between the string and the X axis is very important, we need to the information this string to positive, and to facilitate the identification. Bar code identification is similar, especially when we bar code is not very clear, the first positive, bar code and anisotropic filter treatment, can make barcode becomes more clear and easy to read. A feature extraction method based on statistical parameters is presented here. This method has been...
Read(782) comment(5)

Automatic threshold segmentation of gray scale images (Otsu method)

Automatic threshold segmentation of gray image (Otsu method) many algorithms in the field of machine vision are required to carry out the image of binarization. This is very important to select the threshold of the operation of binarization. Threshold selection is not appropriate, the results may be useless. Today, a method of automatic threshold calculation. This method is called Otsu method. The inventor is a Japanese, called Nobuyuki Otsu (ohtsu exhibition). In brief, this algorithm assumes that an image is composed of foreground and background colors, and a threshold value is selected by the statistical method, which can make the foreground image...
Read(905) comment(1)

OpenCV learning (Split and Merge)

OpenCV learning (Split and Merge) in the image processing, we often have to separate a single color channel for processing. At this time can be used to provide split and merge function Opencv. Split function is used to separate the various channels of a multi-channel image. The prototype of this function is as follows: void split (const Mat& SRC, vector<Mat_ MV >&) Usage is very simple, SRC is a multi channel image. Mv...
Read(736) comment(1)

OpenCV learning (the basic operation of the image)

Learning opencv (there are many kinds of the basic operations of the image) image of the basic operations, such as two images can be addition, subtraction, and can even multiplying and dividing. Images can be enlarged, reduced, rotation, you can also intercept the middle of a sub map, each color channel can also be extracted. In short, the basic operations of image can be carried out very much here is unlikely all written out, just pick some commonly used simple writing. The OpenCV image add, subtract, multiply and divide provide some functions are used for image add, subtract, multiply and divide. Add void (InputArray...
Read(998) comment(2)

OpenCV learning (pixel operation 2)

In the last study notes, a brief introduction of several methods of access to image pixels, and the efficiency of these methods are compared. But more of the situation is that we have to access multiple pixels at the same time, after more complex operations to get the results we want. Today to talk about this situation how to deal with. Simultaneous access to multiple rows of pixel data below we to Laplace sharpening, for example, Laplacian operator written in matrix form as follows: 0 - 10 - 15 - 10 - 10 \begin{pmatrix} 0 & -1 & 0 \ \...
Read(786) comment(2)

OpenCV learning (pixel operation the Pixels Manipuating)

Learning opencv (pixel operations Manipuating the pixels) opencv while providing many types of image processing functions, can all common processing of the image, but there will always be some operations did not, then we need to own to manipulate the pixel, to realize the function we need. Today to talk about the OpenCV pixel level operation of several methods, and make a comparison. In OpenCV, the image matrix to indicate that the corresponding data type for cv:: Mat. Cv:: Mat function is very powerful,...
Read(527) comment(0)

OpenCV learning (using the filter for edge extraction)

OpenCV learning (using the filter for edge detection) through low-pass filter, we can smooth the image, in contrast, the use of high pass filter can be extracted from the edge of the image. Sobel filter Sobel filter is a directional filter, can be in the direction of X or Y direction. The theoretical introduction of this filter can refer to: https://en.wikipedia.org/wiki/Sobel_operator function prototype is as follows: Sobel void (InputArray...
Read(1053) comment(2)

OpenCV learning (several basic low-pass filter)

OpenCV learning (several basic low-pass filter) for image filtering processing is the most common type of image processing. The low pass filter (also known as smoothing) is the most commonly used. Here is some simple OpenCV write in the low pass filtering method. The filtering method is to take the average value of each pixel in the neighborhood of a pixel as a result. For example, the following example: cv:: blur (image, result, cv:: Size (7, 7), cv:: Point (-1)...
Read(1483) comment(1)

With NSIS production and installation procedures

NSIS production with the production of the installation program recently to write their own a small program to do a setup. My program is developed with Qt, so would have wanted to study the Installer Framework Qt. But with Installer Framework Qt to do the installation process seems to be very troublesome, the study for a while there is no clue, so give up temporarily. Then on the Internet casually found the search, found that there is a NSIS, to see the introduction is still relatively simple, try to use the use, the feeling can also be. This is the fact that I learn NSIS when...
Read(834) comment(0)

Characteristics and Realization of median filter (filter Median)

Median filter (median filter) characteristics and Realization of signal processing is often do one thing is to filter the noise, which linear filters such as fir, IIR types are a thorough comparison of study. In practical use, also have very good effect. But sometimes we encounter the signal noise is stubborn, for example electronic signals of popcorn noise (popcorn noise and image processing of salt and pepper noise (salt-and-pepper noise, with ordinary linear filters have the depression, and can not be completely eliminated. At this time some non...
Read(957) comment(0)

Object orientation feature extraction based on machine vision algorithm

Machine vision algorithm for object orientation feature extraction in machine vision processing, we often need to detect the orientation of the object to be assessed. For example, we want OCR to recognize a string. Then the angle between the string and the X axis is very important, we need to the information this string to positive, and to facilitate the identification. Bar code identification is similar, especially when we bar code is not very clear, the first positive, bar code and anisotropic filter treatment, can make barcode becomes more clear and easy to read. A feature extraction method based on statistical parameters is presented here. This method has been...
Read(462) comment(1)
265 data a total of 14 pagesOne Two Three Four Five ... Next page Shadowe
    personal data
    • Visit728219 times
    • Integral:Nine thousand nine hundred and thirty-three
    • Grade
    • Rank:882nd name
    • Original233
    • Reproduced:16
    • Translation:15
    • Comments:402
    Blog column
    Latest comments