Tree species image recognition method based on natural background
An image recognition and background technology, applied in character and pattern recognition, instruments, computer parts, etc., can solve the problems of different sizes, inability to ensure the accuracy of image segmentation, and single posture
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0069] A method for tree species image recognition based on a natural background, the flow of the method is shown in the figure, and specifically includes the following steps:
[0070] S1 uses web crawler technology to capture image data of trees, stores them according to different types, and forms a set of data sets;
[0071] S2 uses the GrabCut method to segment images with complex natural backgrounds, and obtains tree images without natural backgrounds;
[0072] S3 uses the convolutional neural network to learn the segmented tree image dataset;
[0073] S4 Use the K-fold cross-validation method to select the model with the smallest average test error in K evaluations, and use this model to identify tree species.
Embodiment 2
[0075] A kind of tree species image recognition method based on the natural background of the present embodiment, based on the first embodiment, the GrabCut method in the step S2 is specifically: assuming that Z represents the collection of pixel points, Z=(z 1 ,z 2 ,…,z n ,…z N ,),z n Represents each pixel in the image, α=(α 1 ,…,α n ,…,α N ,), α n ∈{0,1}, corresponding to each pixel of the image Z=(z 1 ,z 2 ,…,z n ,…z N ,), where a n Represents the mark value of each pixel, the mark value is 0 or 1, 0 represents the background, 1 represents the foreground, the GrabCut method can be described as the value of α when minimizing the E(α, θ) energy function, expressed as: α=
[0076] Using a Gaussian mixture model containing K Gaussian components to describe the image, the energy function E can be expressed as:
[0077] E(α,k,θ,z)=U(α,k,θ,z)+V(α,z)
[0078] In the formula, α represents the set of label values corresponding to each pixel in the image, z represent...
Embodiment 3
[0087] A kind of tree species image recognition method based on the natural background of the present embodiment, based on the second embodiment, in order to minimize the energy function E, the specific iterative process includes the following steps:
[0088] S21 The user obtains an initialized tripartite map by directly selecting the position of the tree in the target image of interest, and the outside of the rectangular frame is set as the background area T B , the area T inside the rectangular box is set as "may be the target" U , foreground T F set to empty, i.e.
[0089] S22 sets the background area T B The mark of the pixel in is initialized to 0, that is, another T B α=0 in the region, the region T U The mark of the pixel in is initialized to 1, that is, T U α = 1 in the region;
[0090] S23 initializes the Gaussian mixture model of the target area and the background area by using the marker α;
[0091] S24 to T U Each pixel in Z n Assign Gaussian components ...
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