Northeast tiger weight identification method oriented to field complex environment scene
By using the illumination invariance module and the dual-branch network to combine global and local features in Siberian tiger monitoring, the problems of Siberian tiger occlusion, posture changes and illumination changes in the wild environment are solved, achieving accurate and robust identification of Siberian tigers, and improving improve monitoring efficiency and accuracy.
Patent Information
- Application Number
- CN202410600060.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-15
- Publication Date
- 2024-08-23
AI Technical Summary
In the wild environment, the Siberian tiger's occlusion, posture changes, and lighting changes lead to low image recognition accuracy and efficiency of traditional animal monitoring methods, and existing technologies fail to effectively meet the challenges in complex environments.
The illumination invariance module, the component feature-based convolution branch and the attitude-guided convolution branch are used to achieve accurate and robust identification of Siberian tigers through the combination of global and local features. Specific steps include image illumination adjustment, dual-branch network processing and feature matching. ResNet-50 and pre-trained animal posture estimation models are used to extract features, and cosine similarity is calculated for recognition.
It improves the accuracy and efficiency of Siberian tiger re-identification in the wild environment, can effectively cope with occlusion, posture changes and illumination changes, and provides stronger protection data support.
Smart Images

Figure CN118537892A
Abstract
Description
Technical Field
[0001] The present invention relates to the field of intelligent monitoring of wild animals, and in particular to a method for re-identifying Siberian tigers in complex wild environment scenes that can cope with challenges such as occlusion, posture changes and illumination changes in wild environments. Background Art
[0002] In the current field of wildlife protection, the monitoring and protection of endangered species such as the Siberian tiger has become a global focus. However, traditional animal monitoring methods, such as field surveys and animal marking, have many limitations in the wild environment, such as slow information collection, low monitoring efficiency, and impact on the ecological environment. In contrast, emerging information technology, especially artificial intelligence technology, has brought new opportunities for animal monitoring and protection. With the widespread application of artificial intelligence technology, especially breakthroughs in computer vision and image recognition, re-identification technology has gradually become a research hotspot in the field of wild Siberian tiger monitoring.
[0003] Re-identification technology provides the ability to continuously track individuals by identifying tigers with the same identity from images captured by different camera traps, providing important data for conservation efforts. In addition, understanding the activity patterns of individual tigers in wild areas where human communities intersect with tiger habitats is crucial to reducing human-tiger conflicts. Therefore, it is of great significance to effectively re-identify Siberian tigers in wild environments. However, re-identification of Siberian tigers in their natural habitats faces a series of challenges. Due to the particularity of the habitat, such as dense forests and vast grasslands, images are often affected by occlusion and limited visibility. In these environments, Siberian tigers are often blocked by objects such as trees, grass or rocks, resulting in parts of the image being unobservable. In addition, the rapid movement and diverse postures of Siberian tigers, such as lurking, jumping and climbing, make it difficult for static cameras to capture the full body of the tiger. The change in posture also poses a challenge to re-identification. The same Siberian tiger may show obvious differences in appearance in different postures, resulting in difficulty in image matching, which affects the accuracy of re-identification. In addition, changes in lighting in wild environments can also affect image quality, making the re-identification task more difficult.
[0004] At present, there have been some studies on animal re-identification, but most of them are based on laboratory conditions and fail to fully consider the complex factors in the wild environment, so there are certain limitations in practical applications. Therefore, a re-identification technology that can effectively cope with challenges such as occlusion, posture changes, and light changes in complex wild environments is needed to improve the accuracy and efficiency of Siberian tiger monitoring and provide more powerful technical support for its protection. Summary of the invention
[0005] In view of the complex factors in the wild environment, this paper proposes a re-identification method for Siberian tigers in complex wild environment scenes, aiming to solve the re-identification problems faced by Siberian tigers in the wild environment, such as light changes and occlusion. This method uses three parts: an illumination invariance module, a convolution branch based on component features, and a posture-guided convolution branch. By comprehensively utilizing global and local features and posture information, it achieves accurate and robust re-identification of Siberian tigers.
[0006] To achieve the above object, the present invention provides a method for re-identifying Siberian tigers in a complex outdoor environment, comprising the following steps:
[0007] Step 1: Obtain images of Siberian tigers from camera traps deployed in the wild, and obtain pictures of Siberian tigers in real wild environments to form a query set.
[0008] Step 2: Input all the images in the query set into the illumination invariance module, which uses contrast-limited adaptive histogram equalization technology to adjust the illumination parameters of all input images to reduce the errors caused by illumination differences between different categories.
[0009] Step 3: For the adjusted query set images, input them into the dual-branch network, comprehensively utilize global and local features as well as posture information to extract identities, and construct features that can identify the identity of the Siberian tiger.
[0010] Step 4: After obtaining the feature vector set of the query set, each feature vector will be matched with similar vectors in the remaining feature vectors of the query set and sorted by similarity, indicating that the Siberian tigers in the two images are of the same identity. Finally, the re-identification results of each image in the query set are obtained.
[0011] Specifically, step two includes:
[0012] A0. The input image I is divided into countless overlapping blocks B(x,y), where (x,y) represents the two-dimensional coordinate index of the block in the entire image area.
[0013] A1. For each block B(x,y), calculate the frequency of occurrence of pixel intensities in the block and generate a histogram h(B(x,y)). With the help of the histogram, calculate the number of pixels h(k) with intensity value k in the block.
[0014] A2. In each block's histogram h(B(x,y)), check whether the number of pixels h(k) with intensity level k exceeds the threshold α×M×N, where M×N represents the total number of pixels in the block and α is set to 40. If not, no modification is made. If it exceeds the threshold, h(k) is modified to α×M×N. The specific expression is:
[0015]
[0016] A3. The histogram h(B(x,y)) of each block is checked by threshold to obtain h′(B(x,y)). The cumulative distribution function c(k) of h′(B(x,y)) is calculated. The range of k is from 0 to L-1, and L is the maximum value of grayscale intensity. The specific calculation is expressed as:
[0017]
[0018] A4. Map the pixel value v in the original block to the equalized pixel value g. The specific mapping is expressed as:
[0019] g = c(v)(MN-1)
[0020] A5. Since the blocks are overlapping, bilinear interpolation is used to seamlessly combine the pixel values of multiple overlapping blocks in the overlapping area to generate the final contrast-enhanced output image.
[0021] The dual-branch network in step three includes a block-based feature convolution branch and a posture-guided feature convolution branch. The specific steps based on the block-based feature convolution branch are as follows:
[0022] B1. The image img processed by the illumination invariance module is passed into this branch, and ResNet-50 is used as the backbone network structure to extract the global feature map F of the input image.
[0023] B2. Split the global feature map F vertically into p parts F i , each part represents a local area in the image.
[0024] B3. For each local feature F i Average pooling and convolution are performed to obtain the local feature vector after dimensionality reduction.
[0025] The specific steps of the posture-guided feature convolution branch in step 3 are as follows:
[0026] C1. Use the pre-trained animal posture estimation model to detect key joints from the image, such as right shoulder, left shoulder, center, etc. According to the preset threshold γ, the annotations with confidence lower than the threshold are filtered out to retain reliable key joints.
[0027] C2. Generate a Gaussian heatmap based on the retained key joint points to highlight the regions of interest and set the heatmap values of undetected regions to 0, thereby excluding low-confidence or undetected regions.
[0028] C3. Perform average pooling on the global feature map F to obtain F', and multiply F' by each Gaussian heat map element by element to generate a posture-guided feature map.
[0029] C4. Perform average pooling and maximum pooling on each posture-guided feature map to obtain the feature vector of the corresponding posture annotation area.
[0030] C5. Concatenate the feature vector of the posture annotation area with the global feature F to obtain the concatenated feature representation F cat .
[0031] Specifically, step four includes:
[0032] D1. The previous pose estimation model identified the key joints of the Siberian tiger and distinguished between occluded and visible parts. For each vertical partition of the image, a binary indicator determines the presence of valid features and guides the horizontal coordinates of the detected key joints. If the Siberian tiger key joints appear in the vertical partition, the flag is 1, otherwise it is 0.
[0033] D2. For each vertical partition of the image, check whether the corresponding query image and the image to be matched contain valid features, that is, whether the key joint points of the Siberian tiger appear in the vertical partition.
[0034] D3. If the corresponding partitions of the query image and the image to be matched both contain valid features, the cosine similarity of the corresponding partitions is calculated.
[0035] D4. For all partitions containing valid features, sum their distances to obtain the total distance of local features in the shared visible area.
[0036] D5. Calculate the concatenated features F of the query image and the image to be matched cat The cosine similarity of is used to obtain the global feature similarity between images.
[0037] D6. The local and global feature distances are combined to obtain the feature distance of the two images, which is then normalized to obtain the image similarity.
[0038] D7. Arrange the query image and the remaining images to be matched in descending order according to their similarity to obtain the re-identification result. BRIEF DESCRIPTION OF THE DRAWINGS
[0039] Figure 1 It is a schematic diagram of the process of the first embodiment of the present invention;
[0040] Figure 2 It is a schematic diagram of feature extraction using a dual-branch network;
[0041] Figure 3 It is a schematic diagram of calculating image similarity. Specific implementation methods
[0043] The present invention will be further described below in conjunction with the accompanying drawings and embodiments:
[0044] This embodiment uses images of Siberian tigers captured in the wild as data and utilizes the present invention to analyze how to perform re-identification.
[0045] Step 1: Wild camera traps capture multiple images of Siberian tigers. These images contain various postures and lighting conditions of Siberian tigers under different environmental conditions. Now we need to re-identify these images to determine whether they are the same Siberian tiger. First, we obtain a series of images containing Siberian tigers from camera traps deployed in the wild. These images will constitute our query set.
[0046] Step 2: These images are processed by the illumination invariance module, which uses the contrast-limited adaptive histogram equalization technique to adjust their illumination parameters to reduce the errors caused by the illumination differences between different categories.
[0047] Step 3: The image processed by the illumination invariance module is input into a dual-branch network, which consists of a block-feature-based convolution branch and a posture-guided convolution branch. The block-feature-based convolution branch is used to extract local features, while the posture-guided convolution branch is used to extract global features containing posture information. Specifically, the block-feature-based convolution branch uses ResNet-50 as the backbone network structure, and extracts the detailed features of each block image through block processing and convolution operations. The posture-guided convolution branch uses a pre-trained animal posture estimation model, combined with the generation of Gaussian heat maps and feature map fusion technology, to extract global features containing posture information in each complete image.
[0048] Step 4: After obtaining the feature vector set of the query set, we match each feature vector with the remaining feature vectors in the gallery set and sort them by similarity to determine whether they belong to the same Siberian tiger. Specifically, we use cosine similarity for local features and cosine similarity for global features, and then perform a weighted average of the two to obtain the final similarity score. By comparing the similarity scores of the query image with other images in the gallery set, we can determine the re-identification results between them.
[0049] Through the above steps, we have successfully achieved the re-identification of Siberian tigers in complex wild environments. This method comprehensively utilizes global and local features and posture information to improve the accurate and robust re-identification ability of Siberian tigers, providing strong technical support for wildlife protection and monitoring.
Claims
1. A method for re-identifying Siberian tigers in complex outdoor environments, characterized in that , including the following steps: Step 1: Obtain images containing Siberian tigers from camera traps deployed in the wild, and obtain pictures of Siberian tigers in real wild environments to form a query set; Step 2: Input all the images in the query set into the illumination invariance module, which uses contrast-limited adaptive histogram equalization technology to adjust the illumination parameters of all input images to reduce the error caused by illumination differences between different categories. Step 3: For the adjusted query set images, input the dual-branch network, comprehensively utilize global and local features and posture information to extract the identity, and construct features that can identify the identity of the Siberian tiger; Step 4: After obtaining the feature vector set of the query set, each feature vector will be matched with similar vectors in the remaining feature vectors of the query set and sorted by similarity, indicating that the Siberian tigers in the two images are of the same identity. Finally, the re-identification results of each image in the query set are obtained.
2. The method for re-identifying Siberian tigers in a wild complex environment as claimed in claim 1, characterized in that: The step 2 specifically includes: A0, the input image I is divided into countless overlapping blocks B(x,y), (x,y) represents the two-dimensional coordinate index of the block in the entire image area; A1. For each block B(x,y), calculate the frequency of occurrence of pixel intensities in the block and generate a histogram h(B(x,y)). Using the histogram, calculate the number of pixels h(k) with intensity value k in the block; A2. In each block's histogram h(B(x,y)), check whether the number of pixels h(k) with intensity level k exceeds the threshold α×M×N, where M×N represents the total number of pixels in the block and α is set to 40. If not, no modification is made. If it exceeds the threshold, h(k) is modified to α×M×N. The specific expression is: A3. The histogram h(B(x,y)) of each block is checked by threshold to obtain h′(B(x,y)). The cumulative distribution function c(k) of h′(B(x,y)) is calculated. The range of k is from 0 to L-1, and L is the maximum value of grayscale intensity. The specific calculation is expressed as: A4. Map the pixel value v in the original block to the equalized pixel value g. The specific mapping is expressed as: g = c(v)(MN-1) A5. Since the blocks are overlapping, bilinear interpolation is used to seamlessly combine the pixel values of multiple overlapping blocks in the overlapping area to generate the final contrast-enhanced output image.
3. The method for re-identifying Siberian tigers in a wild complex environment as claimed in claim 1, characterized in that: The dual-branch network of step three includes a block-based feature convolution branch and a posture-guided feature convolution branch. The specific steps based on the block-based feature convolution branch are as follows: B1. The image img processed by the illumination invariance module is passed into this branch, and ResNet-50 is used as the backbone network structure to extract the global feature map F of the input image; B2. Split the global feature map F vertically into p parts F i , each part represents a local area in the image; B3. For each local feature F i Average pooling and convolution are performed to obtain the local feature vector after dimensionality reduction.
4. The method for re-identifying Siberian tigers in a wild complex environment as claimed in claim 1, characterized in that: The specific steps of the posture-guided feature convolution branch in step 3 are as follows: C1. Use the pre-trained animal posture estimation model to detect key joints from the image, such as the right shoulder, left shoulder, center, etc. Filter the annotations with confidence lower than the preset threshold γ and retain reliable key joints; C2, generate a Gaussian heat map based on the retained key joint points, highlight the area of interest, and set the heat map value of the undetected area to 0, thereby excluding low confidence or undetected areas; C3, average pool the global feature map F to get F', multiply F' by each Gaussian heat map element by element to generate a posture-guided feature map; C4, average pooling and maximum pooling are performed on each posture-guided feature map to obtain the feature vector of the corresponding posture annotation area; C5. Concatenate the feature vector of the posture annotation area with the global feature F to obtain the concatenated feature representation F cat .
5. The method for re-identifying Siberian tigers in a wild complex environment as claimed in claim 1, characterized in that: The step 4 specifically includes: D1. The previous pose estimation model identified the key joints of the Siberian tiger and distinguished between occluded and visible parts. For each vertical partition of the image, a binary indicator determines the presence of valid features and guides the horizontal coordinates of the detected key joints. If the Siberian tiger key joints appear in the vertical partition, the flag is 1, otherwise it is 0; D2. For each vertical partition of the image, check whether the corresponding query image and the image to be matched contain valid features, that is, whether the key joint points of the Siberian tiger appear in the vertical partition; D3. If the corresponding partitions of the query image and the image to be matched both contain valid features, the cosine similarity of the corresponding partitions is calculated; D4. For all partitions containing valid features, sum their distances to obtain the total distance of local features in the shared visible area; D5. Calculate the cascade feature F of the query image and the image to be matched cat The cosine similarity of obtains the global feature similarity between images; D6, combining local and global feature distances to obtain the feature distance of the two images, and then normalizing them to obtain the image similarity; D7. Arrange the query image and the remaining images to be matched in descending order according to their similarity to obtain the re-identification result.
Citation Information
Patent Citations
Multi-modal Northeast tiger re-identification method and device based on heterogeneous neural network
CN114743128A
Visual positioning method of triangular feature descriptor for overcoming illumination invariance of visual camera
CN117315020A
Text description pedestrian re-identification method based on deep learning
CN117475369A
Cited By
High-precision lightweight identification method and system for northeast tigers
CN122799467A
