Fruit size grading method based on compressed sensing
A classification method, compressed sensing technology, applied in the direction of instruments, character and pattern recognition, computer components, etc., can solve the problems of limited promotion and application, complex processing process, long execution time, etc., to promote economic development, classification speed Fast and accurate results
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0020] The present invention is an apple size grading method based on compression sensing, which takes first-class fruit (apples with a fruit diameter greater than 80mm) as the measured object, and includes the following steps:
[0021] Step 1, obtain the original image of tested apple by CCD camera;
[0022] Step 2, performing filtering processing on the original image, using 3*3 template median filtering to realize image denoising, so as to reduce the noise of the original image;
[0023] Step 3, grayscale processing is performed on the filtered image, and the three-dimensional RGB color image is converted into a one-dimensional grayscale image, and the grayscale value ranges from 0 to 255;
[0024] Step 4: Take the 3*3 area in the upper left corner of the above-mentioned grayscaled image as a reference template, and use this reference template to slide and scan the entire image pixel by pixel. Area, it is considered that it may contain the apple area, and the original gray...
Embodiment 2
[0030] Taking the second-class fruit (apples whose fruit diameter is between 70mm and 80mm) as the tested object, the following steps are included:
[0031] Step 1, obtain the original image of tested apple by CCD camera;
[0032] Step 2, performing filtering processing on the original image, using 3*3 template median filtering to realize image denoising, so as to reduce the noise of the original image;
[0033] Step 3, grayscale processing is performed on the filtered image, and the three-dimensional RGB color image is converted into a one-dimensional grayscale image, and the grayscale value ranges from 0 to 255;
[0034] Step 4: Take the 3*3 area in the upper left corner of the above-mentioned grayscaled image as a reference template, and use this reference template to slide and scan the entire image pixel by pixel. Area, it is considered that it may contain the apple area, and the original gray value is retained; on the contrary, the area whose gray value is less than the ...
Embodiment 3
[0040] Taking the third-class fruit (apples with a fruit diameter value less than 70mm) as the tested object, it includes the following steps:
[0041] Step 1, obtain the original image of tested apple by CCD camera;
[0042] Step 2, performing filtering processing on the original image, using 3*3 template median filtering to realize image denoising, so as to reduce the noise of the original image;
[0043] Step 3, grayscale processing is performed on the filtered image, and the three-dimensional RGB color image is converted into a one-dimensional grayscale image, and the grayscale value ranges from 0 to 255;
[0044] Step 4: Take the 3*3 area in the upper left corner of the above-mentioned grayscaled image as a reference template, and use this reference template to slide and scan the entire image pixel by pixel. Area, it is considered that it may contain the apple area, and the original gray value is retained; on the contrary, the area whose gray value is less than the avera...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 