In the early days of the field of machine vision, a common research paradigm was to view images as two-dimensional digital signals and then use methods from digital signal processing, which is image processing. Today, I will introduce to you the related technologies of image processing.
Point Operation
Some operations only operate on each pixel of the image to produce a new image. Binarization is a typical example. When the threshold is set in advance, the output of the binarization depends only on the value of the point, so
Where fA and fB are the input and output images respectively. This operation can be done once the image data is passed sequentially using a lookup table, LUT. Various grayscale corrections are also such operations, the difference is that binarization produces a binary image, while correction still produces a grayscale image.
Local Operation
The output of the local operation is still an image, and the value of each pixel in the output image depends on the corresponding pixel in the input image and its surrounding pixels.
N in the formula represents the local sub-image centered at [i, j]. An example of this operation is shown in the figure below. This operation appears in almost every machine vision system. Its input image can be a grayscale image or a binary image; it can be used for smoothing, sharpening, denoising, thinning, edge detection and other operations. There are many ways to select local pixels, such as cross, square, honeycomb, etc., but the most commonly used is square. For example, a 3×3 or 5×5 or 7×7 square template is used. Each position in the template has a kernel coefficient. Using this template to convolve each pixel and its adjacent pixels is the most commonly used operation. Others such as median filtering are also good algorithms for removing noise.
Global Algorithm
Some algorithms are based on the entire input image, which are called global operators.
An example of this type of algorithm is shown in the figure below.
Its output can be an image or a symbolic output. Histogram, Fourier transform, and generalized Hough transform are all global algorithms.
Object-level algorithms
In most machine vision applications, it is required to calculate the characteristics of objects in the image. In order to identify these objects, size, average grayscale, perimeter, center of gravity, shape and other characteristics are often used, which are directly calculated on the target object; in defect detection, they are also obtained by detecting the target object. This leads to a very difficult, but crucial question in machine vision systems: What is the target object? Where is it?
Many algorithms in machine vision revolve around the purpose of knowing where objects are in an image. Objects in an image can also present difficult decisions.
For example, we must use all points that belong to the target object to calculate the characteristics of the object; but we must also use these characteristics to distinguish whether these points belong to the object.
Therefore, successfully segmenting foreground objects from background pixels is the key to the success of the visual system. In order to fully understand the content of the image, machine vision must perform multiple operations on the target object in order to make the correct segmentation.
The following figure demonstrates the chain code obtained after tracking the edge of an object. The chain code can be used to directly classify the shape; the chain code can also be transformed into a Fourier transform to highlight the component reflecting the shape. From this example, it can be seen that the object-level algorithm is not as regular as the three types of algorithms described above. It can be performed in the order of pixel scanning, which is convenient for using special chips to complete in real time. Object target-level algorithms are often more complex and are only suitable for processors to execute, such as PC CPUs, dedicated signal processors DSPs, etc. At the same time, the operation time of these algorithms is not often fixed, but varies with the complexity of the image content.
Previous article:How to carry out inspection work during the trial run of the motor?
Next article:Can you tell the difference between start capacitor and run capacitor?
- Popular Resources
- Popular amplifiers
- Huawei's Strategic Department Director Gai Gang: The cumulative installed base of open source Euler operating system exceeds 10 million sets
- Analysis of the application of several common contact parts in high-voltage connectors of new energy vehicles
- Wiring harness durability test and contact voltage drop test method
- Sn-doped CuO nanostructure-based ethanol gas sensor for real-time drunk driving detection in vehicles
- Design considerations for automotive battery wiring harness
- Do you know all the various motors commonly used in automotive electronics?
- What are the functions of the Internet of Vehicles? What are the uses and benefits of the Internet of Vehicles?
- Power Inverter - A critical safety system for electric vehicles
- Analysis of the information security mechanism of AUTOSAR, the automotive embedded software framework
Professor at Beihang University, dedicated to promoting microcontrollers and embedded systems for over 20 years.
- Innolux's intelligent steer-by-wire solution makes cars smarter and safer
- 8051 MCU - Parity Check
- How to efficiently balance the sensitivity of tactile sensing interfaces
- What should I do if the servo motor shakes? What causes the servo motor to shake quickly?
- 【Brushless Motor】Analysis of three-phase BLDC motor and sharing of two popular development boards
- Midea Industrial Technology's subsidiaries Clou Electronics and Hekang New Energy jointly appeared at the Munich Battery Energy Storage Exhibition and Solar Energy Exhibition
- Guoxin Sichen | Application of ferroelectric memory PB85RS2MC in power battery management, with a capacity of 2M
- Analysis of common faults of frequency converter
- In a head-on competition with Qualcomm, what kind of cockpit products has Intel come up with?
- Dalian Rongke's all-vanadium liquid flow battery energy storage equipment industrialization project has entered the sprint stage before production
- Allegro MicroSystems Introduces Advanced Magnetic and Inductive Position Sensing Solutions at Electronica 2024
- Car key in the left hand, liveness detection radar in the right hand, UWB is imperative for cars!
- After a decade of rapid development, domestic CIS has entered the market
- Aegis Dagger Battery + Thor EM-i Super Hybrid, Geely New Energy has thrown out two "king bombs"
- A brief discussion on functional safety - fault, error, and failure
- In the smart car 2.0 cycle, these core industry chains are facing major opportunities!
- The United States and Japan are developing new batteries. CATL faces challenges? How should China's new energy battery industry respond?
- Murata launches high-precision 6-axis inertial sensor for automobiles
- Ford patents pre-charge alarm to help save costs and respond to emergencies
- New real-time microcontroller system from Texas Instruments enables smarter processing in automotive and industrial applications
- There is no spring that will not come
- MPLAB X display issues
- (Transfer) Overview of CC2640R2F BLE5.0 Bluetooth Protocol Stack
- Small base stations, big science!
- IP Design Specifications in the 2021 Standard for Very Large Scale Integrated Circuit (VLSI) Design Flow
- ST60 short-distance contactless 60GHz millimeter wave connector actual test
- [ST NUCLEO-H743ZI Review] Establishing a modbus/TCP slave
- What is a bypass capacitor? What is a decoupling capacitor? What are their differences and connections?
- Proteus simulation micropython example
- Qorvo Online Design Conference - Rapid Customization of Power ICs Using ActiveCiPS Technology