Tobacco leaf image quality evaluation method, system, memory, and electronic equipment
A quality evaluation and image quality technology, applied in image analysis, image data processing, instruments, etc., can solve problems such as poor stability and long time-consuming
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0030] see figure 1 , the present embodiment provides a tobacco leaf image quality evaluation method with high stability and short calculation time, which mainly includes the following steps:
[0031] S1: Extract the component values of each pixel in the RGB color space of the tobacco leaf image to be evaluated.
[0032] It should be noted that the RGB color space here is a new color space converted from the traditional machine vision RGB (R, G, B) space according to RGB (R+G, 0.7B, 0.3B). As we all know, R, G, and B are red, green, and blue spaces, and the basic color theme of tobacco leaves is yellow, and the characterization of yellow is determined by (R+G) / B. The larger the value, the closer the color is to yellow. Therefore, it is necessary to split RGB into R+G and B during color conversion. In addition, since the B value is also an indicator to measure the brightness of the shooting environment, the B value also has a certain meaning, so the B value also needs to be...
Embodiment 2
[0042] according to figure 1 The method flow shown for figure 2 Tobacco leaf image quality evaluation, the specific steps are as follows:
[0043] Step 1, extract the component values of each pixel in the RGB color space of the tobacco leaf image to be evaluated:
[0044] When i=1: R 1 =RGB(1,1)=336.22; G 1 =RGB(1,2)=22.32; B 1 =RGB(1,3)=9.56.
[0045] When i=2: R 2 =RGB(2,1)=310.37; G 2 =RGB(2,2)=22.89; B 2 =RGB(2,3)=9.76.
[0046] When i=3: R 3 =RGB(3,1)=325.22; G 3 =RGB(3,2)=23.13; B 3 =RGB(3,3)=9.32.
[0047] ………………
[0048] When i=n: R n =RGB(n,1)=325.22; G n =RGB(n,2)=23.76; B n =RGB(n,3)=9.18.
[0049] Step 2, solving the color gamut index of each pixel of the tobacco leaf image to be evaluated:
[0050] When i=1: CGIR 1 =R 1 / (G 1 +B 1 ) = 10.546; CGIG 1 =G 1 / (R 1 +B 1 ) = 0.0645; CGIB 1 =B 1 / (R 1 +G 1 ) = 0.02941.
[0051] When i=2: CGIR 2 =R 2 / (G 2 +B 2 ) = 9.506; CGIG 2 =G 2 / (R 2 +B 2 ) = 0.0715; CGIB 2 =B 2 / (R 2 +G ...
Embodiment 3
[0066] use figure 1 The method flow shown, for Figure 3a-3d The quality of the four tobacco leaf images is evaluated and sorted to obtain the quality evaluation of each tobacco leaf image The values and their ordering are shown in Table 1. visible, Figure 3d of The value is the largest, and the ranking is first, indicating that the quality of the tobacco leaf image is the best; Figure 3b of The smallest value indicates that the quality of the tobacco leaf image is the worst. In fact, Figure 3d Capture images for high-quality camera + high-quality light source conditions, while Figure 3b It is an image taken under the condition of ordinary industrial camera + online light source. It can be seen that the quality evaluation result given by the present invention also conforms to the subjective cognition of human vision and the actual objective factors.
[0067] Table 1
[0068]
PUM
![No PUM](https://static-eureka.patsnap.com/ssr/23.2.0/_nuxt/noPUMSmall.5c5f49c7.png)
Abstract
Description
Claims
Application Information
![application no application](https://static-eureka.patsnap.com/ssr/23.2.0/_nuxt/application.06fe782c.png)
- 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