Segmentation and localization method for two overlapped fruits based on chromatic aberration
A positioning method and fruit technology, applied in image analysis, image data processing, instruments, etc., can solve the problems of large amount of calculation, unfavorable robot picking efficiency, slow operation speed, etc., to ensure accurate division, reduce the amount of calculation, and improve the calculation. effect of speed
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0052] This embodiment is used for citrus picking
[0053] A method for segmentation and positioning of two overlapping fruits based on color difference, such as figure 1 shown, including the following steps:
[0054] Step 1: The input is only the original image I where two fruits overlap each other o , for the original image I o Perform binarization, such as figure 2 As shown, the binary image I with the fruit area as the target area and the branch and leaf area as the background area is obtained S ; The binary image I S The gray value of each pixel in the target area is 255; the gray value of each pixel in the background area is 0;
[0055] Step 2: Select the binary image I by frame S The minimum circumscribed affine rectangle of the target area, so that all the pixels in the target area fall within the minimum circumscribed affine rectangle;
[0056] Step 3: If image 3 As shown, the length and width of the minimum circumscribed affine rectangle in step 2 are respe...
Embodiment 2
[0077] The present embodiment is used for apple picking, and the difference from embodiment 1 is:
[0078] In step 3, the length and width of the minimum circumscribed affine rectangle are respectively reduced to 75% of the original length to obtain the target rectangle.
[0079] The segmentation threshold in step 202 is [210,255];
[0080] Step 203: traverse each pixel in the H component map according to the following formula, and perform binarization on the H component map:
[0081] Among them, T is the gray value of the i-th pixel in the binarized H component image.
[0082] The final effect diagram of this embodiment is as follows Figure 9 As shown, the segmentation and positioning of two overlapping fruits are completed.
Embodiment 3
[0084] The present embodiment is used for citrus picking, and the difference from embodiment 1 is:
[0085] In this embodiment, the original image I in step 1 o is an RGB image, the binary image I S Follow the steps below to generate:
[0086] Step 501: traverse the original image I o Calculate the color difference value of each pixel, wherein, the color difference value C of the i-th pixel, according to the following formula: C=2.0R-G-B, wherein, R, G and B represent that the pixel is in the red channel, green channel and blue channel respectively. The grayscale value under the color channel;
[0087] Step 502: traverse the original image I according to the following formula o For each pixel in the original image I o Do binarization:
[0088] Among them, T is the original image I after binarization o The gray value of the i-th pixel in ;
[0089] Step 503: For the binarized original image I o Perform morphological filtering to eliminate noise, holes and burrs in th...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com