A crop growth identification method and system based on image semantic segmentation
By using image semantic segmentation methods, spatial consistency verification and semantic credibility constraints are established to identify crop growth. This solves the problems of stability of canopy growth changes and consistency in identifying local weak growth under continuous observation conditions, and achieves more stable crop growth identification results.
Patent Information
- Application Number
- CN202611287103.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-08-24
- Publication Date
- 2026-11-27
AI Technical Summary
In crop growth identification under continuous observation conditions, existing technologies have weak stability in discerning canopy growth changes and low consistency in identifying local weak growth over time, making it difficult to effectively distinguish between real growth and imaging geometric deviations and boundary fluctuations.
A semantic segmentation-based approach is adopted. Common image coordinates are established through registration points and checkpoints. Image registration is performed and residuals are calculated. Semantic segmentation is performed to filter out uncertain pixels. The canopy segmentation map is compared to extract connected regions. The canopy growth displacement and expansion rate are calculated. Local weak growth areas are identified by combining the reference rate of the growth stage.
It achieves stability of canopy growth changes and temporal consistency in identifying local weak growth under continuous observation conditions, reduces the impact of geometric position deviation and semantic boundary fluctuations on the identification results, and enhances the stability and reliability of crop growth identification.
Smart Images

Figure CN123182016A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of crop visual monitoring technology, specifically to a crop growth recognition method and system based on image semantic segmentation. Background Technology
[0002] In existing technologies, image-based crop growth monitoring typically relies on fixed cameras, mobile terminals, or drones to continuously acquire digital images of the crop canopy. Image registration, vegetation region segmentation, and analysis of cover, area, or contour changes are used to meet the need for non-contact tracking of crop growth status and identification of local growth differences. However, existing crop growth image recognition methods have some significant shortcomings in the integration of multi-temporal canopy change extraction and local growth determination.
[0003] In actual monitoring, the actual canopy changes between adjacent observation periods are usually quite subtle. However, fluctuations in camera position and viewing angle, changes in natural light, leaf movement, and local occlusion can simultaneously cause changes in image position and boundary morphology. Semantic segmentation or other vegetation extraction results can also show certain fluctuations at the canopy edge. When these changes are at a similar scale to the boundary shift caused by actual growth, directly calculating growth based on differences between adjacent images, canopy area increments, or local contour changes can easily transmit imaging geometric biases, boundary discrimination fluctuations, and short-term sporadic changes to subsequent velocity or trend judgments. This can cause a shift in the basis for changes in the same local area during continuous observations and affect the comparability of growth results between different observation periods.
[0004] Therefore, it is evident that existing technologies often suffer from problems such as weak stability in discerning canopy growth changes under continuous observation conditions and low temporal consistency in identifying localized weak growth. This is a shortcoming of existing technologies.
[0005] In view of this, it is necessary to provide a crop growth recognition method and system based on image semantic segmentation to solve the above-mentioned defects in the existing technology. Summary of the Invention
[0006] The purpose of this application is to provide a crop growth recognition method and system based on image semantic segmentation to address the shortcomings of the existing technology, such as weak stability in judging canopy growth changes under continuous observation conditions and low temporal consistency in identifying local weak growth, in order to solve the above-mentioned technical problems.
[0007] To achieve the above objectives, this application provides the following technical solution: In a first aspect, this application provides a crop growth recognition method based on image semantic segmentation, comprising: Step S1: Acquire continuous digital images of the same crop area, select registration points and check points from a stable visual reference, register the continuous digital images to the common image coordinates using the registration points, and calculate the check point residuals; Step S2: Perform image semantic segmentation on the continuous digital image, label semantically uncertain pixels according to category probability, and filter out semantically uncertain pixels to form a canopy segmentation map and canopy boundary; Step S3: Compare the canopy segmentation maps of three consecutive observation periods, extract the newly added connected regions in the current observation that are adjacent to the previous canopy boundary, and retain the connected regions that exist continuously in the next observation and are adjacent to the same canopy boundary to form a continuously expanding region; Step S4: Divide the contour segment along the previous canopy boundary, project the check point residual onto the outer normal of the contour segment to obtain the normal registration error, search along the outer normal in the continuously expanding region, stop the search when encountering semantically uncertain pixels, calculate the outer normal displacement and filter out the outer normal displacement that does not exceed the normal registration error to obtain the canopy growth displacement. Step S5: Calculate the contour segment expansion rate based on canopy growth displacement, image scale, and observation interval, and establish the contour segment correspondence between adjacent observation periods in the common image coordinates; Step S6: Compare the expansion speed of the outline segment with the reference speed of the growth stage according to the correspondence of the outline segments, identify the local weak growth areas that are continuously lower than the reference speed of the growth stage, and write the local weak growth areas into the crop growth identification results.
[0008] By incorporating the above technical solution into the same crop growth recognition link, the spatial consistency verification of continuous digital images, the semantic segmentation credibility constraint, the cross-observation persistence confirmation, the local displacement error discrimination, and the continuous comparison of contour segment expansion speed are integrated, the hierarchical constraints and result closure from canopy pixel changes to local weak growth areas are realized. This allows geometric position deviations, semantic boundary fluctuations, and short-term sporadic changes to be verified or blocked before entering the subsequent growth determination, and ensures that the effective canopy growth displacement is continuously transmitted to the crop growth recognition result along a unified spatial relationship. This meets the requirements of strong stability in canopy growth change discrimination and high temporal consistency in local weak growth recognition under continuous observation conditions.
[0009] Specifically, the common image coordinates and checkpoint residuals jointly provide a cross-time period location benchmark and local error scale, giving subtle canopy changes a stable spatial reference and enabling subsequent measurements to distinguish between true boundary shifts and imaging position deviations, avoiding the gradual accumulation of geometric errors in continuous comparisons. The semantic credibility constraint formed by category probabilities can limit boundary classification hesitation to geometric measurements, ensuring that canopy segmentation maps and canopy boundaries retain verifiable pixel evidence and providing clear blocking locations for anomalous boundaries. The continuous evidence constraint formed over three consecutive observation periods constrains newly added canopy changes, ensuring that continuously expanding areas simultaneously possess temporal continuity and spatial connection with the original canopy, thereby weakening the impact of leaf swaying, shadow changes, or temporary shading on growth judgment. Normal registration error and semantically uncertain pixels respectively bear the displacement scale. The verification and search termination function ensures that canopy growth displacement only enters subsequent processing when the measurement direction, geometric error, and semantic credibility are consistent, which helps to screen out spurious displacements that are comparable to the error scale. After the canopy growth displacement is unified into the contour segment expansion velocity by the image scale and observation interval, the correspondence of contour segments in adjacent observation periods maintains the continuity of local object identity, making the velocity in adjacent observation periods comparable in spatial location and temporal scope, and completely transmitting the validity constraints of the preceding sequence to the velocity layer. The reference velocity of the growth stage participates in the continuous comparison of the corresponding contour segments, so that the local weak growth area is formed based on the continuous low velocity evidence of the same actual canopy location. Spatial verification, semantic constraints, temporal confirmation, displacement screening, and velocity tracking are thus closed layer by layer, enhancing the stability, temporal consistency, and verifiability of crop growth identification results.
[0010] Preferably, step S2 specifically includes: The image semantic segmentation model is trained using training images with canopy pixel labels and boundary distance labels. Pixel classification loss and boundary weighted loss are used as training objectives, and the model parameters with the lowest boundary segmentation error on the validation set are saved. The continuous digital images under the common image coordinates are input frame by frame into the image semantic segmentation model. For each pixel, the class probability of crop canopy, non-target vegetation and soil background is generated, and semantically uncertain pixels are marked according to the maximum class probability and the segmentation confidence threshold. Filter out semantically uncertain pixels from the pixels corresponding to crop canopy categories, form canopy connected regions for the remaining pixels according to spatial adjacency, and extract the outer edge pixels of the canopy connected regions; Record the canopy connectivity region and outer edge pixels according to the coordinates of the public image to form canopy segmentation maps and canopy boundaries for each observation period.
[0011] By adopting the above technical solution, a quality constraint is formed between the training quality of the image semantic segmentation model and the pixel credibility, which makes the model parameter selection closer to the pixel-level segmentation requirements of the canopy boundary. The category probability also performs semantic uncertainty screening on the online segmentation results. This can transfer the boundary quality control in the training stage to the formation process of the canopy connected region and the canopy boundary, reduce the disturbance of the boundary position by the hesitant pixels in classification, and provide a more stable semantic input for the confirmation of continuously expanding regions and the calculation of canopy growth displacement under the common image coordinates, thereby enhancing the boundary consistency and result reliability of growth recognition as a whole.
[0012] Preferably, step S3 specifically includes: The canopy segmentation images of the previous observation and the current observation are compared pixel by pixel according to the common image coordinates, and newly added canopy pixels that were non-canopy in the previous observation and are canopy in the current observation are extracted. The newly added canopy pixels are merged into new canopy regions according to their spatial adjacency. The positional relationship between the new canopy regions and the previous canopy boundary is compared, and new canopy regions that are not adjacent to the previous canopy boundary are filtered out. The remaining newly added canopy regions are compared with the canopy segmentation map of the next observation, and the newly added canopy regions that are continuous and adjacent to the same canopy boundary in the next observation are retained. The newly added canopy areas that are retained will be merged according to the corresponding canopy boundaries to form a continuously expanding area that has a spatial correspondence with the canopy boundaries.
[0013] Based on the above scheme, a dual spatiotemporal constraint is established around the changes in the newly added canopy, which is the adjacency of the previous canopy boundary and the continuity of the next observation. This ensures that pixel changes that only occur in a single observation cannot directly enter the continuously expanding region, while maintaining the spatial ownership of the newly added canopy region and the original canopy boundary. This can suppress the transmission of short-term boundary fluctuations caused by leaf swinging, shadow changes, and local shading to canopy growth displacement, so that subsequent outward normal measurements can obtain continuous and consistent candidate regions and improve the stability of growth change discrimination.
[0014] Preferably, the step of comparing the remaining newly added canopy regions with the canopy segmentation map of the next observation, and retaining the newly added canopy regions that are continuous and adjacent to the same canopy boundary in the next observation, specifically includes: Extract continuous contact arc segments along the adjacent positions of the newly added canopy region and the boundary of the previous canopy, record the endpoints and arc lengths of the contact arc segments, and associate the contact arc segments with the newly added canopy region; Map the endpoint of the contact arc to the canopy segmentation map of the next observation, search for continuous canopy pixels at the corresponding position, calculate the retention ratio of the continuous preserved area to the newly added canopy area, and calculate the overlap ratio between the mapped contact arc and the next canopy boundary. The judgment range is determined based on the retention ratio distribution and overlap ratio distribution corresponding to the actual canopy expansion in the labeled continuous observation samples, and newly added canopy areas that do not simultaneously meet the judgment range are screened out. For the remaining newly added canopy regions, verify the spatial connectivity and canopy boundary adjacency of the next observation, and retain newly added canopy regions that are continuous and adjacent to the same canopy boundary.
[0015] In the above scheme, the continuous contact relationship between the newly added canopy region and the previous canopy boundary is used as the cross-observation mapping benchmark. The retention ratio and the overlap ratio are used to jointly constrain the continuous state in the next observation, so that the area of the region is mutually verified with the continuity of the canopy boundary. The determination range is based on the data provided by the distribution of real canopy expansion samples. After verifying the spatial connectivity and the adjacency relationship of the canopy boundary, the positional drift or occasional segmentation changes can be blocked, thereby enhancing the temporal consistency, spatial attribution stability and measurement reliability of the continuously expanding region.
[0016] Preferably, step S4 specifically includes: Calculate the included angle between adjacent tangents based on the ordered boundary points of the previous canopy boundary, break the boundary point sequence at the location where the contour direction changes to form a contour segment, and determine the outer normal of the contour segment based on the tangent direction of the contour segment. Select neighboring checkpoints around the contour segment that were not included in the registration solution, project the checkpoint residuals onto the normal of the contour segment, check the distribution of neighboring checkpoints along the segment, and determine the normal registration error based on the projection residuals when the spatial coverage is effective. The search continues to expand the region pixel by pixel from the boundary point of the contour segment along the outer normal of the contour segment. The search stops when the search position enters a semantically uncertain pixel. The outer normal displacement is calculated based on the outermost canopy pixel before the stopping position. For contour segments with insufficient spatial coverage, the canopy growth displacement is missing. The remaining external normal displacements are compared with the normal registration error. External normal displacements that do not exceed the normal registration error are screened out, and the median of the remaining external normal displacements is taken to form the canopy growth displacement.
[0017] Based on the above processing, a local geometric measurement aperture is established around the outer normal of the contour segment, so that the change of the canopy boundary orientation is transformed into a displacement reference with the same direction. The normal registration error formed by the adjacent checkpoint provides a locally identifiable scale for the displacement in the same direction. Semantically uncertain pixels set a reliability boundary for the search of the outer normal. The combination of the two continuously expands the region to jointly limit the effective input of the canopy growth displacement, which can block the propagation of registration deviation, segmentation hesitation and insufficient spatial coverage to velocity calculation. Furthermore, the influence of local abnormal displacement is reduced by retaining missing states and median convergence, so that the canopy growth displacement has more stable spatial correspondence, controllable error and measurement reliability.
[0018] Preferably, the steps of projecting the checkpoint residuals onto the outer normal of the contour segment, checking the distribution of adjacent checkpoints along the segment, and determining the normal registration error based on the projection residuals when spatial coverage is effective, specifically include: Checkpoints are selected based on the vertical distance between adjacent checkpoints and the contour segment and their projection positions along the segment. The two-dimensional position residuals of the checkpoints are projected onto the outer normal of the contour segment, and the projection residuals are arranged according to their projection positions. Calculate the median and median absolute deviation of the projection residuals, filter out outlier projection residuals by median absolute deviation, and form local residual intervals from the remaining projection residuals; Read the projection positions of the remaining checkpoints along the segment, form a spatial coverage ratio based on the ratio of the distance between the first and last projection positions along the segment to the length of the contour segment, and check whether the checkpoints are concentrated on one side of the contour segment. The lower limit of coverage is determined based on the distribution of checkpoints in the calibration image. When the spatial coverage ratio is lower than the lower limit or the checkpoints are concentrated on one side of the contour segment, the registration invalid state is recorded. For contour segments with effective spatial coverage, the normal registration error is determined based on the local residual interval.
[0019] Based on the above processing logic, the discrete state of the projection residual and the spatial coverage of the checkpoint along the contour segment are effectively controlled, so that outlier projection residuals do not dominate the local residual interval. The data representativeness of the spatial coverage ratio and the single-sided centralized check constraint normal registration error is guaranteed. The lower limit of coverage is provided by the calibration image as a consistent criterion. It can identify contour segments with insufficient registration basis and record the invalid registration state before the canopy growth displacement screening, reduce the false deletion of real displacement or retention of pseudo displacement caused by unstable error threshold, and enhance the robustness of local measurement.
[0020] Preferably, step S5 specifically includes: The canopy growth displacement of each contour segment is converted into actual displacement according to the image scale, and the expansion velocity of the contour segment is calculated based on the actual displacement and the corresponding observation interval. The velocity missing state is preserved for contour segments with missing canopy growth displacement. Map the contour segments of adjacent observation periods to common image coordinates, establish the search range along the outer normal of the previous contour segment, and filter candidate contour segments that fall into the search range and have the same outer normal direction in the next observation. Calculate the overlap ratio of candidate contour segments within the tangential projection range of the previous contour segment, and perform the nearest contour segment search from both sides of the adjacent observation, retaining the correspondence between contour segments that are the closest to each other and whose overlap ratio meets the matching condition. Connect the expansion velocities of contour segments in adjacent observation periods according to the correspondence of contour segments, and do not perform cross-location interpolation in the state of missing velocity to form a local canopy velocity sequence.
[0021] By adopting the above technical solution, the canopy growth displacement is unified as the contour segment expansion velocity. The correspondence between contour segments in adjacent observation periods is constrained by the external normal direction, tangential coincidence, and bidirectional nearest relation. This ensures that the velocity is continuously bound to the actual local canopy position. In the case of missing velocity, cross-position interpolation is not performed, which avoids artificially creating false continuity. This reduces the interference of contour segment mismatch and time caliber differences on the local canopy velocity sequence, and provides a consistent, scale-consistent, and verifiable velocity basis for subsequent continuous weak growth judgment.
[0022] Preferably, step S6 specifically includes: According to the correspondence of contour segments, the expansion rate of contour segments at the same local canopy location is read. The distribution of contour segment expansion rate is obtained from normal growth samples of the same crop type and the same growth stage. The reference rate for the growth stage is determined according to the lower bound of the distribution. Compare the contour segment expansion rate of each observation period with the reference rate of the reproductive stage, record the observation periods that are lower than the reference rate of the reproductive stage, and maintain the separation between the rate missing state and the low-speed state. The continuity of low-velocity states is checked along the local canopy velocity sequence. The continuous counting of low-velocity states separated by velocity-deficient states is stopped, and the corresponding contour segment positions are preserved. Based on the continuous low-speed judgment results, local weak growth areas are identified, and these areas are written into the crop growth recognition results according to the coordinates of the common image.
[0023] Based on the above scheme, a relationship between the reference velocity of the growth stage and the judgment of continuous low velocity state is established around the same local canopy location. This ensures that the expansion velocity of the outline segment has a consistent comparison scale under the normal growth distribution of the same crop species and growth stage. Separating the velocity missing state from the low velocity state can prevent invalid measurements from being mistakenly recorded as weak growth. Performing a continuity check along the local canopy velocity sequence can also stop the accumulation at the interruption position in time. This can transfer the positional continuity formed by the outline segment correspondence to the judgment of local weak growth areas, and write the evidence of continuous low velocity into the public image coordinates, thereby enhancing the temporal consistency, state boundary clarity and spatial verifiability of crop growth recognition results as a whole.
[0024] Preferably, the step of determining the local weak growth region based on the continuous low-speed determination result specifically includes: A series of continuous observation periods were established for the same contour segment location, and weak growth candidate locations were formed for contour segment locations that were all below the reference growth rate of the growth stage within the continuous observation period. Check the contour segment correspondence of weak growth candidate locations in adjacent observation periods, and terminate the continuous low-speed judgment for weak growth candidate locations that have position jumps or interrupted correspondence. The adjacent canopy boundaries are extracted on both sides of the weak growth candidate location, the non-canopy gap between the adjacent canopy boundaries is calculated, the canopy closure location is recorded at the location where the non-canopy gap disappears in continuous observation, and the canopy closure location is screened out from the weak growth candidate location. The remaining candidate locations with weak growth will be merged into the local weak growth region.
[0025] In the above scheme, the continuity of position correspondence and canopy closure status are checked for candidate positions of weak growth formed by continuous low speed. This prevents candidate positions that have position jumps or interrupted correspondence from continuing the low speed judgment. Canopy closure positions formed by the disappearance of non-canopy gaps in continuous observation are also independently excluded from the candidate results. This can avoid the canopy boundary being mistakenly identified as continuous weak growth when it is normally closed, and ensure that the remaining weak growth candidate positions are merged to maintain the consistency of spatiotemporal origin, thereby improving the accuracy of the judgment of local weak growth areas and the stability of the results.
[0026] Secondly, this application also provides a crop growth recognition system based on image semantic segmentation, comprising: The image registration module is used to acquire continuous digital images of the same crop area, select registration points and check points from a stable visual reference, register the continuous digital images to the common image coordinates using the registration points, and calculate the check point residuals. The semantic segmentation module is used to perform semantic segmentation on continuous digital images, label semantically uncertain pixels according to category probability, and filter out semantically uncertain pixels to form a canopy segmentation map and canopy boundaries; The continuous expansion module is used to compare the canopy segmentation maps of three consecutive observation periods, extract the connected regions that are newly added in the current observation and adjacent to the previous canopy boundary, and retain the connected regions that exist continuously in the next observation and are adjacent to the same canopy boundary to form a continuous expansion region; The growth displacement module is used to divide the contour segment along the previous canopy boundary, project the checkpoint residual onto the outer normal of the contour segment to obtain the normal registration error, search along the outer normal in the continuously expanding region, stop the search when encountering semantically uncertain pixels, calculate the outer normal displacement and filter out the outer normal displacements that do not exceed the normal registration error to obtain the canopy growth displacement. The extended velocity measurement module is used to calculate the expansion velocity of the contour segment based on the canopy growth displacement, image scale, and observation interval, and to establish the correspondence between contour segments in adjacent observation periods in the common image coordinates; The growth recognition module is used to compare the expansion rate of the outline segment with the reference rate of the growth stage according to the correspondence of the outline segments, identify local weak growth areas that are continuously lower than the reference rate of the growth stage, and write the local weak growth areas into the crop growth recognition results.
[0027] Based on the above technical solution, this application has at least the following technical effects: This application provides a crop growth recognition method and system based on image semantic segmentation. By incorporating the spatial consistency verification of continuous digital images, semantic segmentation credibility constraints, cross-observation persistence confirmation, local displacement error discrimination, and continuous comparison of contour segment expansion speed into the same crop growth recognition link, it achieves step-by-step constraints and result closure from canopy pixel changes to local weak growth areas. This enables geometric position deviations, semantic boundary fluctuations, and short-term sporadic changes to be verified or blocked before entering subsequent growth determination, and ensures that effective canopy growth displacement is continuously transmitted to the crop growth recognition result along a unified spatial relationship. This meets the requirements of strong stability in canopy growth change discrimination and high temporal consistency in local weak growth recognition under continuous observation conditions. Attached Figure Description
[0028] To facilitate the explanation of the technical solutions of the embodiments of this application, the accompanying drawings used in this application will be briefly described below.
[0029] Figure 1 This is a flowchart of a crop growth recognition method based on image semantic segmentation provided in this application; Figure 2 This is a block diagram illustrating the principle of a crop growth recognition system based on image semantic segmentation provided in this application.
[0030] The module includes: 1. Image registration module; 2. Semantic segmentation module; 3. Continuous expansion module; 4. Growth displacement module; 5. Extended velocity measurement module; and 6. Growth status recognition module. Detailed Implementation
[0031] The embodiments of this application will now be described with reference to the accompanying drawings. It should be understood that the following embodiments are only used to illustrate the technical solutions of this application and do not limit the scope of protection of this application. Those skilled in the art can make equivalent substitutions or improvements based on the disclosure of this application.
[0032] It should be noted that in the description of this application, the terms "comprising," "including," "having," and their synonyms are used to indicate the presence of the described features, structures, steps, operations, elements, components, or combinations thereof, but do not exclude the presence of other features, structures, steps, operations, elements, components, or combinations thereof.
[0033] It should be noted in advance that, for ease of understanding of the technical solution of this application, the following explanations are provided regarding the terminology and related technologies involved in this application: 1. Image semantic segmentation: This involves classifying each pixel in a digital image and forming different regions according to the pixel's corresponding category. This allows regions with different category meanings in the image to be represented at the pixel level. It is often used in image processing tasks that require distinguishing different image regions and extracting region boundaries.
[0034] 2. Median absolute deviation: This is a statistical indicator used to describe the degree of dispersion of a set of values around the median. First, the median of the set of values is determined, then the absolute deviation of each value from the median is calculated, and the median is taken again from these absolute deviations. Since a small number of extreme values have a relatively small impact on this indicator, it is often used for outlier screening and robust error analysis.
[0035] To address the issues of weak stability in discriminating canopy growth changes and low temporal consistency in identifying local weak growth under continuous observation conditions, existing image-based growth monitoring methods struggle to meet the practical requirements for continuous and stable identification of local canopy changes when the scale of subtle real growth and imaging / segmentation perturbations are similar. This application discloses a crop growth identification method and system based on image semantic segmentation. By establishing an image processing flow that connects spatial registration verification, semantic credibility screening, cross-time period continuity confirmation, and contour segment expansion speed comparison, the canopy changes entering the growth judgment are simultaneously constrained by spatial errors, semantic uncertainties, and temporal continuity. This reduces the impact of occasional boundary changes on the transmission of local velocity results, keeps the growth status of corresponding canopy locations continuously comparable, and enhances the stability, temporal consistency, and verifiability of identifying local weak growth areas.
[0036] like Figure 1 As shown in the figure, this embodiment provides a crop growth recognition method based on image semantic segmentation, including: Step S1: Acquire continuous digital images of the same crop area, select registration points and check points from a stable visual reference, register the continuous digital images to the common image coordinates using the registration points, and calculate the check point residuals; Step S2: Perform image semantic segmentation on the continuous digital image, label semantically uncertain pixels according to category probability, and filter out semantically uncertain pixels to form a canopy segmentation map and canopy boundary; Step S3: Compare the canopy segmentation maps of three consecutive observation periods, extract the newly added connected regions in the current observation that are adjacent to the previous canopy boundary, and retain the connected regions that exist continuously in the next observation and are adjacent to the same canopy boundary to form a continuously expanding region; Step S4: Divide the contour segment along the previous canopy boundary, project the check point residual onto the outer normal of the contour segment to obtain the normal registration error, search along the outer normal in the continuously expanding region, stop the search when encountering semantically uncertain pixels, calculate the outer normal displacement and filter out the outer normal displacement that does not exceed the normal registration error to obtain the canopy growth displacement. Step S5: Calculate the contour segment expansion rate based on canopy growth displacement, image scale, and observation interval, and establish the contour segment correspondence between adjacent observation periods in the common image coordinates; Step S6: Compare the expansion speed of the outline segment with the reference speed of the growth stage according to the correspondence of the outline segments, identify the local weak growth areas that are continuously lower than the reference speed of the growth stage, and write the local weak growth areas into the crop growth identification results.
[0037] This embodiment uses common image coordinates and checkpoint residuals to construct a spatial reference for continuous digital images, ensuring comparable positional relationships of crop areas across different observation periods and providing local independent error scales. This prevents observational position shifts from being directly translated into canopy growth changes. Semantic credibility boundaries are formed using category probabilities, distinguishing semantically uncertain pixels from reliable canopy evidence. Canopy segmentation maps and canopy boundaries obtain stable pixel data, establishing anomaly blocking conditions for local measurements. The continuous expansion evidence from three consecutive observation periods supports the canopy boundary results, ensuring that short-lived edge changes are verified by subsequent observations. The continuously expanding area thus possesses both temporal continuity and original canopy spatial connection, making it less susceptible to the propagation of leaf movement, shadow migration, and occlusion effects. Furthermore, canopy growth displacement is constrained by both normal registration error and semantically uncertain pixels, ensuring that local outward movement exceeds the geometric error scale in the corresponding direction while remaining within the search range of continuous and effective semantic evidence, preventing the amplification of local growth by false displacements and unreliable boundaries. The image... The scale, observation interval, and correspondence of contour segments in adjacent observation periods organize the expansion speed of contour segments, ensuring that the speed after effective displacement conversion has a unified physical scale and temporal caliber, and maintaining the continuity of local object identity in adjacent observation periods. The preceding spatial, semantic, and persistence constraints can be fully incorporated into the speed comparison stage. The corresponding contour segments are continuously evaluated using the reference speed of the growth stage, so that the local weak growth area is established on the evidence of continuous low speed at the same canopy location. The single speed deviation is only solidified into the crop growth identification result after the continuous low speed condition is met, thereby enhancing the temporal continuity of the local state and the stability of the verification basis. Overall, the spatial benchmark first constrains the positional deviation, and the semantic credibility and continuous expansion evidence then block unreliable boundaries and short-term changes step by step. The displacement effectiveness constraint implements the aforementioned quality information into local measurements. The correspondence of contour segments in adjacent observation periods maintains the object consistency of speed evidence. Finally, a closed technical chain from image quality control to continuous weak growth determination is formed, improving the stability of canopy growth change discrimination and the temporal consistency of local weak growth identification.
[0038] The above steps will be specifically described below based on the embodiments of this application.
[0039] In step S1, the core task is to acquire continuous digital images of the same crop area, select registration points and check points from a stable visual reference, use the registration points to register the continuous digital images to common image coordinates, and calculate the check point residuals, thereby forming unified spatial data that can support subsequent pixel-by-pixel semantic comparison and local error constraints.
[0040] Specifically, fixed shooting positions or pre-planned repeatable flight paths are arranged within the same crop area to ensure that the shooting range covers the target crop canopy and stable visual references outside it. Continuous digital images are saved in RGB (Red-Green-Blue) digital format, with each frame recording the observation time, image width, image height, camera intrinsic parameter identifiers, and acquisition location identifiers. Stable visual references are selected from plot corners, fixed markers, or intersections of hard facility edges that do not move with crop growth and are identifiable throughout the observation period. Target crop leaves, temporary shadows, and movable farm implements are not used as stable visual references. Each observation checks for overexposure, underexposure, motion blur, out-of-focus, truncation of the shooting area, and loss of primary references. If any defect causes unreliable basis for common coordinate registration or pixel category determination, the frame is recorded as an invalid observation. The sequence number of continuous observations only increments between valid images.
[0041] Based on this, registration points and check points are separated from the same set of stable visual references. Specifically, registration points are only used to solve the planar projection transformation from the current digital image to the reference image, while check points do not participate in the transformation solution and are only used for independent error verification after the transformation. There are no fewer than four sets of registration points, which are not collinear and are distributed around the crop area to avoid all of them being concentrated on one side, which would increase the extrapolation error at the far end. Check points are scattered along the periphery of the target canopy, and their common image coordinates in the reference image are saved. When there are obvious topographic undulations in the crop area, approximate planar partitions are divided according to the stable topographic boundaries, and a planar projection transformation is established for each partition. The partitioning rules remain unchanged for the same local canopy location within one observation period.
[0042] Specifically, stable visual references are stored in the reference image using manually confirmed coordinates or verified feature point coordinates. For each reference, candidate correspondences are first formed in subsequent images based on descriptor similarity, and then mismatches are eliminated based on the geometric consistency between candidate points. Registration points should cover the perimeter of the target crop area and must not be collinear. Check points are distributed along the stable locations outside and inside the crop area. When multiple approximate candidates exist for the same stable visual reference in the current observation, only candidates whose distance ratio and directional relationship with neighboring references simultaneously meet the calibration tolerance can be retained; if a unique reference cannot be determined, it is recorded as missing. If the number of registration points is lower than the minimum number for planar projection transformation, all are concentrated on one side of the image, or the coverage is insufficient, the current image is not included in the transformation solution.
[0043] Based on this, the registration solution uses the planar projection relationship in the common image coordinates. The homogeneous mapping between the current digital image coordinates and the reference image coordinates can be written as: , in, Indicates the first Non-zero homogeneous scaling factor of the next effective observation and Represents the mapped common image coordinates. and Indicates the current digital image coordinates. to This represents the plane projection transformation coefficients obtained from the correspondence of registration points; positions where the absolute value of the homogeneous component is lower than the lower limit of the calculation accuracy are marked as invalid pixels.
[0044] Based on this, the color channels of continuous digital images are written into the common image coordinates using bilinear interpolation. The semantic category map, validity mask, and subsequent binary regions are processed using the nearest neighbor rule to avoid mixing of category values after interpolation. The origin, orientation, output resolution, and effective block range of the common image coordinates remain unchanged within the same observation sequence. When there are significant topographic reliefs, approximate planar partitions are defined using stable topographic boundaries, and the registration parameters and image scale of the corresponding partitions are subsequently read for each contour segment.
[0045] Furthermore, the checkpoints are always independent of the registration solution. In the embodiments of this application, the transformed coordinates of each checkpoint are subtracted from its reference coordinates, retaining the horizontal and vertical components. The checkpoint residuals can be written as: , in, Indicates the first In the first effective observation Two-dimensional position residuals of each checkpoint This represents the coordinates of the common image obtained by the plane projection transformation of the checkpoint. The common image coordinates of the same check point in the reference image are represented; the two-dimensional position residual is in pixels, and the horizontal and vertical components are retained and projected onto the outer normal of the contour segment in step S4.
[0046] Furthermore, if the root mean square error of registration and reprojection exceeds the allowable upper limit, a stable visual reference is re-detected and the planar projection transformation is re-solved; if it still fails, the frame is recorded as an invalid observation and is not included in semantic segmentation and the comparison of three consecutive periods. The verified digital image, along with the checkpoint coordinates, two-dimensional checkpoint residuals, observation time, and physical scale identifier, is written into the same observation record. Step S2 directly reads the registered digital image, and step S4 reads the residuals of adjacent checkpoints according to the spatial position of the contour segment. Therefore, the admission of the entire image and the judgment of local displacement errors share the same independent verification source. Missed or invalid observations are not compensated using a fixed acquisition cycle; the subsequent observation interval is obtained by subtracting the real timestamps of adjacent valid images.
[0047] It should be noted that the registration admission limit for the entire image is determined using short-term repeated images with no indistinguishable canopy growth. The calibration conditions maintain consistency in camera mounting, shooting height, focal length, output resolution, and stable visual reference placement. The limit should be higher than the checkpoint error generated by normal repeated shooting, but lower than the planned minimum canopy boundary outward shift. If checkpoints are missing, residuals are concentrated on one side of the image, or the effective block size after transformation is insufficient, the current image is re-detected for a stable visual reference. If the verification still does not meet the conditions, it is recorded as an invalid observation, and subsequent observation intervals are formed solely by the true timestamps of adjacent valid images.
[0048] Thus far, step S1 has completed the registration of continuous digital images to common image coordinates and independent error verification, forming an effective observation record with checkpoint residuals, observation time, and image scale, providing a consistent spatial input basis for semantic segmentation and local normal error calculation.
[0049] In step S2, the core task is to perform image semantic segmentation on continuous digital images, label semantically uncertain pixels according to category probability, and filter out semantically uncertain pixels to form a canopy segmentation map and canopy boundary, so as to separate canopy evidence from classification hesitation position and maintain the consistency of coordinates, time and model version.
[0050] In this embodiment, a semantic image segmentation model is trained using training images labeled with canopy pixel tags and boundary distance tags. Pixel classification loss and boundary weighted loss are used as training objectives, and the model parameters with the lowest boundary segmentation error in the validation set are saved. Specifically, the training images are derived from digital crop images adapted to the crop species, camera viewpoint, spatial resolution, and main lighting conditions. Manual annotation is performed pixel-by-pixel. Pixels that can be clearly identified as target crop leaves are labeled as crop canopy, weeds and other vegetation are labeled as non-target vegetation, and soil, cover, and fixed ground surfaces are labeled as soil background. Locations where the boundary cannot be clearly identified are marked with an ignore label and are not forcibly included in any category. A distance transformation is performed on the outer edge of the crop canopy tags to obtain the shortest distance from each valid labeled pixel to the true canopy boundary, which is used as the boundary distance tag. The training set, validation set, and independent test set are divided by plot or shooting date. The same continuous image sequence is not split across sets to prevent falsely high validation results caused by approximately adjacent frames.
[0051] In some embodiments of this application, canopy pixel labels are marked by two annotators along the identifiable leaf margins, with the divergence points confirmed by a reviewer in the original resolution image and adjacent observation images. Boundary distance labels are obtained by performing an Euclidean distance transformation on the outer edge of the final canopy pixel labels, recording the distance to the nearest true canopy boundary both inside and outside the canopy. Pixels exceeding the set effective distance are truncated according to the upper limit of the effective distance, concentrating boundary weighting near the leaf margins. Pixels where backlighting causes indistinguishable leaf margins, leaf movement creates trailing shadows, or the target crop cannot be reliably separated from non-target vegetation are ignored. Ignored labels are neither included in pixel classification loss nor boundary weighting loss.
[0052] Furthermore, the image semantic segmentation model adopts an encoder-decoder structure. The input is a 3-channel digital image patch in a common image coordinate system; for example, the image patch size is set to 512×512px. The encoder has four feature levels, each outputting 64, 128, 256, and 512 feature channels respectively. Spatial resolution is reduced between adjacent levels through convolutions with a stride of 2. The decoder upsamples level by level and performs skip connections with features of the same spatial scale in the encoder, enabling the fusion of deep crop semantics and shallow leaf edge texture at the same scale. The output uses a 1×1px convolution to generate 3 channels, and the class probabilities of crop canopy, non-target vegetation, and soil background are obtained through normalized exponential calculation. The output spatial size is consistent with the input. The arithmetic mean of the class probabilities is taken for overlapping areas of image patches before class determination, and the output outside the effective range of the patch is directly masked.
[0053] In this embodiment, the pixel classification loss only reads pixels with clear category labels, while the boundary-weighted loss reads the boundary distance label of the same pixel, thus giving higher correction strength to misclassifications near the true canopy boundary. Both training objectives are achieved in the same loss; the boundary-weighted focal cross-entropy loss can be written as: , in, This represents the training objective for one training batch. This indicates the number of valid labeled pixels involved in the calculation and is greater than 0. Represents the nonnegative boundary enhancement coefficient. Indicates the first The distance from one pixel to the actual canopy boundary. This represents a distance attenuation scale greater than 0. The model represents the first The probability given by the true class of each pixel. This indicates the non-negative focus adjustment index; label pixels are ignored and not included in the summation, and the probability is cropped according to the lower limit of the value and then included in the natural logarithm.
[0054] For example, training images are divided into training, validation, and test sets based on plot size and shooting date, with a ratio of 7:2:1. The same continuous observation sequence is only included in one set. Augmentation operations are limited to brightness perturbations, color temperature perturbations, finite-angle rotations, and synchronous cropping that do not change the technical meaning of canopy category and boundary position. After geometric augmentation, the category label and boundary distance label are simultaneously transformed. Training uses the AdamW optimizer, with an initial learning rate of 0.0001, a batch size of 8, and a maximum number of training epochs of 120. Parameter updates stop when the boundary segmentation error on the validation set fails to decrease for 10 consecutive epochs. Each epoch simultaneously reads the pixel classification loss and boundary segmentation error, saving only the model parameters with the lowest boundary segmentation error on the validation set and pixel classification loss not exceeding the validation tolerance.
[0055] It should be further explained that the saved model parameters, along with the class order, input normalized statistics, image patch size, segmentation confidence threshold, and validation data version, constitute the frozen deployment version. Online inference only loads the validated frozen deployment version; when the output contains non-numerical values, class 3 probabilities, deviations from 1 exceeding the tolerance, or large areas of low confidence within an effective block, the current image undergoes manual review and retains the original class probabilities. New offline samples are manually labeled to form new candidate versions. Candidate versions can only be replaced if they meet the same conditions on independent validation data; if replacement fails, the previous frozen deployment version continues to be used.
[0056] After model deployment, continuous digital images under common image coordinates are input frame by frame into the image semantic segmentation model. For each pixel, class probabilities for crop canopy, non-target vegetation, and soil background are generated. Semantically uncertain pixels are then labeled based on the maximum class probability and a segmentation confidence threshold. Specifically, for each pixel, the probabilities of the three classes are read and their sum is checked. Each class probability is between 0 and 1, and the sum is 1. The maximum value among the three probabilities is taken as the maximum class probability, and the class corresponding to this maximum value is used as the initial semantic class. If the numerical normalization error exceeds the allowable range, the pixel is labeled as a semantically uncertain pixel, and the original model output is retained for verification. When identical maximum values appear in parallel, selection is not forced according to class number; the pixel is directly labeled as a semantically uncertain pixel. If the maximum class probability is lower than the segmentation confidence threshold, even if its corresponding class is crop canopy, it is not included in the evidence for a confirmed canopy. During this process, pixels with similar class probabilities are described using semantic entropy. The semantic uncertainty of a pixel can be written as: , in, Indicates the first Public image coordinates during the second effective observation semantic uncertainty, This indicates that the model represents the position of the first... The probability is given by the class; product terms with a probability of 0 are treated as the limit value of 0. The greater the semantic uncertainty, the closer the probabilities of the three classes are. The segmentation confidence threshold and the upper limit of semantic uncertainty are both determined by clear leaf edges, shadow boundaries, overlapping leaves, and adjacent samples of non-target vegetation in the validation data, and are fixed with the frozen deployment version. Based on this, when the maximum class probability is lower than the segmentation confidence threshold, the semantic uncertainty exceeds the upper limit, there are ties in the maximum class probability, or the input window is excluded by the quality mask, the pixel is written into the semantically uncertain pixel mask. When a large number of semantically uncertain pixels appear in a concentrated manner, the exposure, viewpoint, and growth stage are first checked to see if they exceed the coverage of the training samples; if it is confirmed that it belongs to the change of input conditions, the whole frame is downgraded to manual review, and automatic growth judgment is not activated. Local semantically uncertain pixels only block the corresponding position and do not expand to the adjacent clear area.
[0057] Furthermore, semantically uncertain pixels are filtered out from the pixels corresponding to the crop canopy category. The remaining pixels are then used to form canopy connected regions based on spatial adjacency, and the outer edge pixels of these regions are extracted. Specifically, 8-neighborhood merging of the remaining crop canopy pixels is used. Isolated noise regions with areas below the calibration lower limit and not connected to the main canopy are deleted. Holes are only filled when their area is below the same calibration lower limit and does not contain clear soil background evidence. No morphological processing should cross semantically uncertain pixels, nor should non-target vegetation be incorporated into the crop canopy. For each retained canopy connected region, the outer edge pixel sequence is extracted in a clockwise direction. Its associated connected region, common image coordinates, and adjacency direction are recorded, forming canopy boundaries that can be compared pixel-by-pixel in step S3 and segmented sequentially in step S4.
[0058] Furthermore, the canopy connectivity region and outer edge pixels are recorded according to the common image coordinates to form canopy segmentation maps and canopy boundaries for each observation period. Specifically, the canopy segmentation map, canopy boundary, and semantically uncertain pixel mask use the same image width, height, coordinate origin, and effective area, and retain the observation sequence number and timestamp respectively. In the canopy segmentation map, crop canopy is set to 1, other confirmed categories are set to 0, and semantically uncertain pixels are kept in an independent state without being written as 0. In this way, step S3 can distinguish between confirmed non-canopy areas and locations lacking reliable semantic evidence, and step S4 can stop immediately upon encountering semantically uncertain pixels when searching along the outward normal, avoiding searching for more distant canopy pixels across the segmentation hesitation region.
[0059] Furthermore, online inference generates image blocks based on the effective block range of the common image coordinates. When an edge image block is less than 512×512px, zeros are padded only outside the block, and an effective pixel mask is generated simultaneously so that the zero-padding position does not participate in the class determination. The overlap width of adjacent image blocks remains fixed, and the overlap position is averaged only when both image blocks are marked as valid. If the input of one image block is excluded by the quality mask, the output of the other valid image block is read. After the canopy segmentation map is formed, the relationship between each canopy connected region and the effective range of the block is checked. Pixels that cross the outer edge of the effective range do not constitute the canopy boundary. Connected regions that touch the image edge and lack a complete outer edge are recorded as boundary truncation states. S3 does not form a continuously expanding region at the truncated boundary.
[0060] In some embodiments of this application, the verification of semantic segmentation parameters also simultaneously checks the correctness of the canopy internal categories, the distance between the true canopy boundary and the predicted canopy boundary, and the coverage of the blurred boundary by semantically uncertain pixels. The selection criteria for the segmentation confidence threshold and the upper limit of semantic uncertainty are to retain canopy boundaries that can be clearly identified manually and to exclude classification hesitation positions; if any of the model parameters, category order, normalized statistics, or the two thresholds are changed, a new frozen deployment version is formed. Historical observations retain the original version identifier, and canopy boundaries before and after version changes can only be included in the same continuous comparison after being verified for consistency of public image coordinates and category definitions.
[0061] Thus, step S2 completes the conversion of the registered digital image into category probability, semantically uncertain pixels, canopy segmentation map, and canopy boundary, forming a semantic evidence system with controlled training boundaries, frozen deployment versions, and anomaly output that can be blocked, providing reliable input for canopy expansion confirmation over three consecutive observation periods.
[0062] In step S3, the core task is to compare the canopy segmentation maps of three consecutive observation periods, extract the connected regions that are newly added in the current observation and adjacent to the previous canopy boundary, and retain the connected regions that exist continuously in the next observation and are adjacent to the same canopy boundary to form a continuously expanding region. Thus, short-term visual disturbances are eliminated by the combination of time persistence and the attribution to the same canopy boundary.
[0063] Specifically, the canopy segmentation images of the previous and current observations are compared pixel by pixel according to common image coordinates to extract newly added canopy pixels that were non-canopy in the previous observation and are canopy in the current observation. In this process, the comparison is only performed when the previous, current, and next observations are all valid observations, and the same position is not marked as a semantically uncertain pixel in any of the three semantic results, thus obtaining the set of newly added canopy pixels in the current observation.
[0064] Based on this, newly added canopy pixels are merged into new canopy regions according to spatial adjacency. The positional relationship between the new canopy regions and the previous canopy boundary is compared, and new canopy regions not adjacent to the previous canopy boundary are filtered out. During this process, 8-neighborhood is used to merge newly added canopy pixels into connected regions. The shortest pixel distance between the outer edge of each region and the previous canopy boundary is read one by one, and it is checked whether the adjacent parts of the region are located outside the canopy boundary. Regions not directly in contact with the previous canopy boundary, only indirectly connected through semantically uncertain pixels, located in a registered fixed shading area, or connected to a non-target vegetation boundary are all filtered out. Region records of the previous canopy connected regions and continuous contact arcs that are in contact with the retained regions are retained, providing clear spatial attribution for subsequent continuous verification, thereby eliminating occasional missegmentation of plots far from existing canopies.
[0065] Furthermore, the remaining newly added canopy areas are compared with the canopy segmentation map of the next observation, retaining the newly added canopy areas that are continuous and adjacent to the same canopy boundary in the next observation. Specifically, continuous contact arc segments are extracted along the adjacent positions of the newly added canopy areas and the previous canopy boundary, the endpoints and arc lengths of the contact arc segments are recorded, and the contact arc segments are associated with the newly added canopy areas. The endpoints of the contact arc segments are recorded according to the ordered pixel sequence of the previous canopy boundary, and the arc length is obtained by accumulating the pixel distances between adjacent boundary points. When contact arc segments are separated by canopy boundary inflection points, they are associated separately and are not merged across non-contact areas. The lower limit of the continuous contact arc length is determined by manually verifying samples of actual canopy growth, leaf movement, shadow movement, and temporary occlusion in continuous images, and remains fixed within the same crop species, growth stage, and shooting scale.
[0066] Subsequently, the endpoints of the contact arc are mapped to the canopy segmentation map of the next observation. Continuous canopy pixels are searched at the corresponding locations, and the retention ratio of the continuous retained area to the newly added canopy area is calculated. The overlap ratio between the mapped contact arc and the next canopy boundary is also calculated. Specifically, the continuous retained area only includes pixels in the next observation that are still not a defined crop canopy, have spatial intersection with the original newly added canopy area, and do not fall into semantically uncertain pixels. The retention ratio of the continuous retained area to the newly added canopy area can be written as: , in, Indicates newly added canopy area The retention rate in the next observation This represents the set of canopy pixels for the next observation; regions with a denominator of 0 are discarded during the connected region generation stage. Further, the endpoints of the contact arc are mapped to the next observation using common image coordinates. The search neighborhood is determined based on the registration error from step S1 and a reasonable canopy outward shift range. The continuous portion intersecting the tangential projection of the mapped contact arc is obtained within the next canopy boundary. The overlap ratio between the mapped contact arc and the next canopy boundary can be written as: , in, Indicates the current contact arc segment The proportion of overlap with the arc segment corresponding to the next canopy boundary. This represents the candidate corresponding arc segment in the next canopy boundary. It represents the projection along the principal tangent of the current contact arc segment; the denominator is the projection length of the current contact arc segment and is greater than 0. When there is no candidate corresponding arc segment in the next observation, the overlap ratio is recorded as 0.
[0067] Based on this, the judgment range is determined according to the retention ratio distribution and overlap ratio distribution corresponding to the actual canopy expansion in the labeled continuous observation samples. New canopy areas that do not simultaneously meet the judgment range are screened out. The labeled samples record two types of ratios according to the actual canopy expansion and short-term visual disturbances respectively. The lower limit of the retention ratio and the lower limit of the overlap ratio are selected on the premise of retaining the actual expansion, and are fixed within the same monitoring period. Only new canopy areas whose two ratios simultaneously reach their respective lower limits are included in the spatial connectivity verification; if either ratio does not reach the lower limit, the next observation position is a semantically uncertain pixel, or the corresponding contact arc segment crosses another canopy connectivity area, they are all screened out. The parameter establishment record retains the original continuous digital image, manual annotation, and ratio distribution, and is not modified in reverse according to the results of this automatic recognition.
[0068] Furthermore, the spatial connectivity and canopy boundary adjacency of the remaining newly added canopy regions are reviewed for the next observation, retaining newly added canopy regions that are continuous and adjacent to the same canopy boundary. During this process, it is checked whether the continuously retained portion in the next observation is still connected to the same canopy body corresponding to the previous canopy boundary, and whether its outer boundary jumps to an adjacent plant row. Regions that retain only a few isolated pixels, require crossing non-canopy gaps to connect, or whose contact arc belongs to a different body are excluded. Pixels that meet the above conditions are written into the continuously expanding region.
[0069] Finally, the newly added canopy regions are merged according to their corresponding canopy boundaries, forming a continuously expanding region that spatially corresponds to the canopy boundaries. Adjacent regions with continuous contact arcs on the same previous canopy boundary are merged, while regions with different canopy bodies, different crop rows, or separated by semantically uncertain pixel bands remain independent. The continuously expanding region saves the region pixels, the corresponding previous canopy boundary identifier, the endpoints of the contact arcs, the continuous retention ratio, and the overlap ratio, and serves as the only allowed new canopy range for search in step S4. Therefore, canopy misjudgments where the current observation is short-lived and disappears in the next observation, transient reversals where the canopy recovers from a non-canopy state, and isolated category changes far from the original canopy are all excluded from the input range of canopy growth displacement.
[0070] In this process, the previous observation, the current observation, and the next observation are grouped into three frames according to the effective observation time sequence. Unequal time intervals due to missed shots are allowed between the three frames, but each time interval must fall within the allowable observation interval range of the current crop growth stage. If a frame is invalid as a whole, the three-frame group is reconstructed using the next valid image after it, without using interpolated images to fill in the gaps. When a newly added canopy region is adjacent to two canopy bodies, the continuous length of its contact arc with each body is calculated separately, and the region is assigned only if the contact arc length, retention ratio, and overlap ratio of one body form a unique advantage; regions that cannot be uniquely assigned are subject to manual review and do not participate in the automatic continuous expansion of the region.
[0071] It should be noted that the lower limits for retention ratio, overlap ratio, and continuous contact arc length are established using a group of three images labeled in chronological order. During labeling, actual leaf growth, wind-induced leaf movement, shadow edge movement, temporary occlusion removal, and single-frame segmentation errors are recorded. Each lower limit excludes areas where the next observation disappears or the canopy body shifts, while preserving the true expansion. Areas where the judgment value equals the lower limit are included in the satisfied range; areas where the next observation's corresponding position contains semantically uncertain pixels remain in a pending verification state and are excluded from the current automatically continuously expanding area. The reasons for removal are saved with newly added canopy areas, allowing for separate tracing of non-adjacent areas, insufficient area retention, insufficient arc overlap, and verification failure of the same canopy body.
[0072] At this point, step S3 has completed the temporal and spatial dual confirmation of the newly added canopy pixels towards the continuously expanding region, forming a stable region organized according to the same canopy boundary attribution, retention ratio and contact arc overlap relationship, thus defining the truly usable canopy expansion range for the outward normal search of the contour segment.
[0073] In step S4, the core task is to divide the contour segment along the previous canopy boundary, project the checkpoint residual onto the outer normal of the contour segment to obtain the normal registration error, search along the outer normal in the continuously expanding region, stop the search when encountering semantically uncertain pixels, calculate the outer normal displacement and filter out the outer normal displacement that does not exceed the normal registration error to obtain the canopy growth displacement, so as to separate the measurable canopy outward movement from local registration fluctuations, segmentation uncertain positions and insufficient spatial coverage.
[0074] In this embodiment, the angle between adjacent tangents is calculated based on the ordered boundary points of the previous canopy boundary. The boundary point sequence is broken at points where the contour changes to form contour segments, and the outward normal of the contour segment is determined based on the tangent direction. Specifically, a fixed arc-length window is used to fit the forward and backward tangents to the ordered boundary points. The window stops when it crosses semantically uncertain pixels, endpoints of canopy connected regions, or fixed invalid regions. The angle between adjacent tangents is calculated using the inner product of two unit tangent vectors and the vector magnitude.
[0075] Based on this, when the included angle of the tangents exceeds the directional change threshold determined by the calibration boundary, the sequence is broken at that boundary point; simultaneously, it is broken at the endpoints of the canopy connectivity region, long distances without effective boundary points, and crop row separations. Contour segments with arc lengths below the minimum requirement are deleted, and they are not forcibly merged with adjacent segments crossing inflection points. The unit tangent of the retained contour segments is rotated 90 degrees to form two normal candidates. The inner and outer pixels of the previous canopy segmentation map are read, and the side pointing from the canopy to the non-canopy is selected as the outer normal; if the inner and outer sides cannot be determined, the direction of the contour segment is recorded as invalid.
[0076] In some embodiments of this application, neighboring checkpoints not included in the registration solution are selected from around the contour segment. The checkpoint residuals are projected onto the outer normal of the contour segment, and the distribution of neighboring checkpoints along the segment is checked. When spatial coverage is effective, the normal registration error is determined based on the projection residuals. Specifically, checkpoints are selected according to the vertical distance between neighboring checkpoints and the contour segment and their projection positions along the segment. The two-dimensional position residuals of the checkpoints are projected onto the outer normal of the contour segment, and the projection residuals are arranged according to their projection positions. In this process, local coordinates are established using the midpoint and tangent direction of the contour segment. The vertical distance of the candidate checkpoint to the contour segment does not exceed the calibrated neighborhood radius, and its projection position along the segment is located within a limited range extending outward from both ends of the contour segment. At the same time, the candidate checkpoint must be an independent checkpoint that did not participate in the registration solution in step S1. The absolute value of the inner product of each two-dimensional checkpoint residual and the unit outer normal of the contour segment forms a non-negative normal projection residual.
[0077] After sorting the projection residuals, the median and median absolute deviation of the projection residuals are calculated. Outlier projection residuals are filtered out based on the median absolute deviation, and the remaining projection residuals form local residual intervals. Specifically, a robust screening interval is established centered on the median of the projection residuals and based on the median absolute deviation of the calibration multiple. Projection residuals outside the interval are marked as outliers, and the corresponding checkpoints are backtracked to check for misidentification or partial occlusion. The minimum and maximum values of the remaining projection residuals form local residual intervals. If the number of remaining checkpoints is less than the minimum number required for local error calculation, the normal registration error is not output, and the current contour segment is recorded as having an invalid registration status.
[0078] After outlier removal, the projection positions of the remaining checkpoints along the segment are read. A spatial coverage ratio is formed based on the ratio of the distance between the first and last projection positions along the segment to the length of the contour segment, and it is checked whether the checkpoints are concentrated on one side of the contour segment. Based on this, a lower coverage limit is determined according to the checkpoint distribution in the calibration image. When the spatial coverage ratio is below the lower limit or the checkpoints are concentrated on one side of the contour segment, the registration is recorded as invalid. The lower coverage limit is established using repeated calibration images without actual canopy growth changes. The camera position, shooting distance, resolution, and visual reference arrangement of the calibration images are consistent with the actual monitoring. Local spatial coverage is considered valid only when the spatial coverage ratio reaches the lower coverage limit, checkpoints are present on both sides of the contour segment, and the number of remaining checkpoints meets the minimum requirement. If any condition is not met, the canopy growth displacement of that contour segment remains missing; the registration error of the entire image is not used to replace the local normal error, nor is the result of adjacent contour segments used for supplementation.
[0079] Furthermore, for the spatially effective contour segment, the normal registration error is determined based on the local residual interval, and can be written as: , in, Indicates the first In the first effective observation Normal registration error of each contour segment Indicates the first The absolute value of the projection of the residuals of each neighboring checkpoint onto the normal direction outside the profile segment. Represents the set of all valid projected residuals. This represents the positive outlier control factor determined based on repeated calibration images. This represents the non-negative tolerance corresponding to the coordinate interpolation accuracy; this formula is not calculated when the number of effective checkpoints is insufficient. This error represents the displacement scale that cannot be distinguished from the registration residual in the normal direction outside the corresponding contour segment, in pixels. When the local residual interval significantly exceeds the normal calibration range, even if the spatial coverage ratio is qualified, the registration invalid state is recorded to prevent abnormal checkpoint distribution from forming an excessively wide threshold and swallowing up the real canopy changes.
[0080] After determining the local error, a pixel-by-pixel search for the continuously expanding region is performed from the boundary point of the contour segment along the outer normal of the contour segment. The search stops when the search position enters a semantically uncertain pixel, and the outer normal displacement is calculated based on the outermost canopy pixel before the stopping position. Specifically, starting from each effective boundary point of the contour segment, a pixel-by-pixel sampling position is generated according to the sub-pixel outer normal, and the continuously expanding region of step S3 and the semantically uncertain pixel mask of step S2 are read using the nearest neighbor rule. The search is only performed within the maximum normal search distance. The maximum distance is jointly calibrated based on the reasonable expansion amount of the crop within the shortest effective observation interval, the physical scale of the image, the crop row spacing, and the registration error. The maximum search distance ends before the adjacent crop row or another main body of the canopy. The search stops immediately when the sampling position enters a semantically uncertain pixel, a fixed invalid region, a plot boundary, or another main body of the canopy, without crossing the blocking position to continue searching for the distant canopy.
[0081] Before the blocking position, the outward normal distance from the outermost pixel of the continuously expanding region to the starting boundary point is taken as the outward normal displacement of that point. If no continuously expanding pixels are found, a candidate value of 0 is recorded, but a candidate value of 0 only indicates that there is no verifiable outward displacement and is not considered a missing value. If the search path starts at a semantically uncertain position, has an invalid direction, or exceeds the image range, it is recorded as missing. For a valid outward normal displacement of a contour segment, values that do not exceed the normal registration error of that contour segment are first filtered out, and then the median of the remaining values is taken, thus forming the canopy growth displacement candidate.
[0082] It should be further explained that spatial coverage validity is determined after outlier projection residuals are removed. The remaining checkpoints are arranged in ascending order along the principal tangent of the contour segment. The distance between the first and last projection positions is divided by the arc length of the contour segment to form the spatial coverage ratio; if the ratio exceeds 1, it is recorded as 1. Then, the midpoint of the contour segment is used as the boundary to check whether there are remaining checkpoints on both sides. The normal registration error is considered valid only when the spatial coverage ratio reaches the calibration lower limit, there are checkpoints on both sides, and the remaining number meets the minimum requirement; when it equals the coverage lower limit, it is classified as the valid side. If all checkpoints are located on one side, the remaining number is insufficient, or the local residual interval exceeds the upper limit of repeated calibration, the current contour segment remains in an invalid registration state.
[0083] Furthermore, for contour segments with insufficient spatial coverage, the canopy growth displacement is missing. The remaining outward normal displacements are compared with the normal registration error, and outward normal displacements that do not exceed the normal registration error are filtered out. The median of the remaining outward normal displacements is then taken to form the canopy growth displacement. For example, the canopy growth displacement can be written as: , in, Indicates the first In the first effective observation period Canopy growth displacement of each contour segment Indicates the first The external normal displacement is obtained by searching along the external normal of the contour segment from each effective boundary point. This indicates the normal registration error of the contour segment. This indicates the search for a set of valid boundary points not blocked by semantically uncertain pixels or image boundaries; when the set is empty or the proportion of valid displacement points is insufficient, the canopy growth displacement remains missing. Furthermore, the canopy growth displacement output simultaneously carries the observation period, the common coordinate range of the contour segment, the number of valid displacement points, the total number of boundary points, the normal registration error, and the reason for the missing points. When the proportion of valid displacement points is lower than the calibration lower limit, even if there are a small number of displacements exceeding the normal registration error, they are still missing to avoid individual missegments dominating the contour segment results. Step S5 only reads non-missing canopy growth displacements; missing states are retained in the velocity results, and cross-contour segment or cross-position interpolation is not performed.
[0084] In other embodiments of this application, the tangent window arc length, contour direction change threshold, lowest contour segment arc length, and maximum normal search distance are determined by manually discernible canopy boundaries and repeated image calibration. The tangent window can suppress pixel jaggedness and does not cross true inflection points; the lowest contour segment arc length ensures sufficient boundary points within the segment; the maximum normal search distance covers reasonable canopy expansion and terminates before adjacent crop rows. When the residual of a local checkpoint significantly exceeds the repeated calibration range, even if the spatial coverage ratio reaches the lower limit, the registration invalid state is still recorded to prevent abnormal residuals from expanding the error boundary.
[0085] Thus far, step S4 has completed the contour segment division of the previous canopy boundary, the determination of local normal registration error, and the displacement measurement constrained by semantic blocking, forming the canopy growth displacement with the cause of the missing points and the proportion of effective points, providing reliable input for physical scale conversion and contour segment velocity calculation.
[0086] In step S5, the core task is to calculate the contour segment expansion velocity based on the canopy growth displacement, image scale, and observation interval, and to establish the contour segment correspondence between adjacent observation periods in the common image coordinates, converting the local displacement of the pixel domain into a velocity sequence with actual units that can be continuously tracked across observation periods.
[0087] In this embodiment, the canopy growth displacement of each contour segment is converted into actual displacement according to the image scale, and the contour segment expansion velocity is calculated based on the actual displacement and the corresponding observation interval. Contour segments with missing canopy growth displacement retain the velocity loss status. Specifically, the image scale is determined during initial deployment using a ground calibration ruler or a known spacing reference, and the actual length corresponding to each pixel is recorded within a common image coordinate partition. The observation interval between two adjacent valid observations is obtained by subtracting the timestamps, with the unit uniformly set to days or hours, and must be greater than 0; velocities are not calculated when timestamps are the same, reversed, or missing. Based on this, the contour segment expansion velocity can be written as: , in, Indicates the first In the first effective observation period The expansion speed of each contour segment This represents the positive physical scale conversion factor of the common image coordinate partition in which the contour segment is located. This represents the actual time interval between adjacent valid observations and is greater than 0. When canopy growth displacement is missing, timestamps are missing, or the time sequence is reversed, the corresponding contour segment retains the missing velocity state. In this embodiment, the actual displacement is equal to the product of the pixel displacement and the physical scale conversion factor, and the velocity unit is determined by both the length unit and the time unit. The output file uses the same unit for all contour segments and saves the source of the conversion factor and the valid observation timestamp. Numerical storage retains sufficient computational precision, and during display, it is rounded to a preset decimal place. Subsequent threshold comparisons use the uncooked value to prevent boundary values from changing the low-speed state due to display rounding.
[0088] Based on this, contour segments from adjacent observation periods are mapped to common image coordinates. A search range is established along the outer normal of the previous contour segment, and candidate contour segments that fall within the search range and have the same outer normal direction in the next observation are selected. The previous contour segment is represented by its ordered point set, tangential projection range, canopy main body identifier, and unit outer normal. The search width extending outward along the outer normal is converted to pixels from the maximum reasonable actual displacement in this period, while retaining a tolerance not exceeding the local registration error; along the tangential direction, only a limited endpoint tolerance is added at both ends of the contour segment. Contour segments in the next observation with consistent canopy main body identifiers, some boundary points falling within the search range, and the included angle of the outer normal not exceeding the direction threshold become candidate contour segments. Candidate relationships are not established when the canopy main body is broken, crop row assignments change, or the outer normal is abnormally reversed.
[0089] Furthermore, for each candidate contour segment, its overlap ratio within the tangential projection range of the previous contour segment is calculated, and a search for the nearest contour segment is performed from both sides of adjacent observations, retaining the correspondence between contour segments that are closest to each other and whose overlap ratio meets the matching condition. In this embodiment, the search range of the previous contour segment is constructed centered on its ordered set of boundary points. The outward width of the outer normal is calculated by converting the reasonable maximum expansion speed of the current growth stage with the actual observation interval, and the inward width is limited to the local normal registration error; the tangential range is only increased at both ends with an endpoint tolerance equivalent to the boundary sampling interval. A candidate contour segment is formed only if at least a specified proportion of boundary points of the next observed contour segment enter the search range and the canopy main body identification is consistent. The outer normal direction of the candidate contour segment is taken as the circular mean of the outer normals of the effective boundary points within the segment. When the direction dispersion exceeds the calibration upper limit, the candidate remains in an invalid direction state. Based on this, the bidirectional closest relationship, tangential projection overlap, and consistent outer normal direction conditions are jointly written into the candidate relationship, and the contour segment correspondence can be written as: , in, Indicates the first The set of contour segment correspondences between one observation period and the next observation period. and These represent the average outward normal distance from the previous contour segment to the next candidate contour segment and the average outward normal distance from the reverse search, respectively. Indicates the tangential projection overlap ratio. Indicates the lower limit of the match. Indicates the first The first contour segment and the first The included angle of the outer normal of each contour segment Indicates the upper limit of direction; when the main body of the canopy is inconsistent, candidate parallels cannot be resolved, or merging and splitting occur, it is not written into the set.
[0090] Among the candidates that reach the matching lower limit, the next contour segment with the smallest average distance to the outer normal is searched first from the previous contour segment, and then the previous contour segment with the smallest distance is searched in reverse from that next contour segment. Only when the two searches are the closest to each other, the tangential overlap ratio reaches the matching lower limit, the canopy body is consistent, and the outer normal direction is consistent, is the one-to-one correspondence preserved. When a contour segment corresponds to multiple approximate candidates, or when the merging or splitting of contour segments prevents the formation of a closest relationship, the current continuity is interrupted and awaits re-establishment by subsequent observations, without being forced to select based on area size.
[0091] Furthermore, the expansion velocities of contour segments in adjacent observation periods are connected according to the contour segment correspondence, and cross-location interpolation is not performed for missing velocity states to form a local canopy velocity sequence. Specifically, each local canopy velocity sequence starts from the common image coordinate position where the contour segment first appears, and connects contour segments with valid correspondences and their expansion velocities in each time period. The original sequence ends when the correspondence is interrupted, the contour segment truly disappears, or canopy closure occurs; a new sequence is created for subsequent newly appearing contour segments. When the contour segment correspondence is valid in a certain time period but the expansion velocity is missing, the velocity missing state and the reason for the missing velocity are retained in the sequence, and interpolation using adjacent positions or previous and subsequent velocities is prohibited. Step S6 can thus distinguish between true low velocity and velocity-free results caused by insufficient registration, semantic, or displacement basis.
[0092] It should be noted that the parameters corresponding to the contour segments are verified by manual boundary checks using adjacent valid observations. Correctly corresponding segments, adjacent non-corresponding segments within the same canopy body, and contour segments of adjacent crop rows are recorded separately. The upper limit of the direction and the lower limit of the tangential projection overlap ratio should maintain a one-to-one correspondence with the correct segments and reject cross-crop row matching. When a contour segment undergoes actual merging or splitting, the original correspondence is terminated. The merged new contour segment is used to construct a new local canopy velocity sequence after a stable structure is formed in subsequent observations. The missing state of the extended velocity is retained with the corresponding position and is not interpolated using adjacent positions or time periods before or after.
[0093] Furthermore, the physical scale conversion coefficients are obtained through stable calibration points at two or more known distances within the common image coordinate partition. Each known distance is converted and the differences are checked separately. When the conversion result exceeds the calibration tolerance, the partition is recorded as an invalid scale, and the actual displacement and expansion velocity involved in the partition remain missing. If the camera focal length, shooting height, or reference image changes, recalibration is performed, and the original conversion coefficients are not used.
[0094] At this point, step S5 completes the physical conversion of the canopy growth displacement towards the expansion velocity of the contour segment, and establishes the correspondence of the contour segment through bidirectional nearest, tangential coincidence and external normal consistency constraints, forming a local canopy velocity sequence that retains the missing state, providing a time sequence input with consistent position for continuous low velocity determination.
[0095] In step S6, the core task is to compare the expansion speed of the outline segment with the reference speed of the growth stage according to the correspondence of the outline segments, determine the local weak growth area that is continuously lower than the reference speed of the growth stage, and write the local weak growth area into the crop growth recognition result. The local growth status is output within the boundary where the speed is effective, the spatial correspondence is continuous, and the non-canopy gap has not been normally closed.
[0096] In this embodiment, the expansion velocity of contour segments at the same local canopy location is read according to the contour segment correspondence. The distribution of contour segment expansion velocity is obtained from normal growth samples of the same crop type and growth stage, and the reference velocity for the growth stage is determined based on the lower bound of the distribution. Specifically, the normal growth samples are obtained using the same acquisition, registration, image semantic segmentation, continuous expansion confirmation, outward normal displacement, and velocity calculation process as the image to be identified, and the crop type, growth stage, and canopy image conditions are manually confirmed to be normal. The reference samples are grouped according to crop type, growth stage, and shooting scale. After the number of samples reaches the pre-defined minimum requirement, the effective contour segment expansion velocities are sorted, and the pre-agreed lower quantile value is taken as the reference velocity for that growth stage, thus forming the velocity sorting distribution of the normal samples. Further, the effective contour segment expansion velocities in the normal growth samples are arranged in ascending order of value, and the lower bound of the distribution is read from the lower quantile position determined before deployment. The reference velocity for the growth stage can be written as: , in, Indicates the reproductive stage Reference speed, The sample quantile function is represented by the nearest rank method, which determines the ascending sample position by rounding up the product of the number of valid samples and the lower quantile position. This indicates a lower quantile position determined before deployment and located between 0 and 1. to This indicates the rate of expansion of effective contour segments in samples of normal growth of the same crop species and at the same growth stage. This indicates the number of valid samples; if the number is below the specified lower limit or the processing version is inconsistent, a state of insufficient reference data is recorded. During this process, the reference velocity for the growth stage remains fixed within a planting cycle; when the model version, imaging scale, or crop type changes, it is re-established using independent normal samples. When the canopy is nearing closure and the expansion rate generally decreases, the distribution lower bound of normal samples at the same growth stage is used to avoid using the threshold from the early rapid expansion stage; when this stage is no longer suitable for representing growth vigor by canopy outward movement, the observation stage is output as inapplicable, and automatic weak growth determination is stopped.
[0097] Based on this, the expansion velocity of the contour segment at each observation time period is compared with the reference velocity of the reproductive stage. Observation time periods with velocities lower than the reference velocity of the reproductive stage are recorded, and the missing velocity state and the low velocity state are kept separate. Specifically, for each non-missing expansion velocity in the local canopy velocity sequence, its corresponding reproductive stage reference velocity is read. Velocities lower than the reference velocity (without rounding) are marked as low velocity, and those equal to or higher than the reference velocity are marked as non-low velocity. Velocity missing, insufficient reference samples, inapplicable observation stages, and interrupted contour segment correspondence are all saved as independent states, without being assigned a value of 0, and are kept separate from the low velocity state. Each comparison saves the common image coordinates of the contour segment, the observation time period, the expansion velocity, the reference velocity, and the state source, facilitating backtracking from the results to steps S1 to S5.
[0098] Furthermore, the continuity of low-velocity states is examined along the local canopy velocity sequence. For low-velocity states separated by velocity-deficient states, continuous counting is stopped, and the corresponding contour segment positions are retained. During this process, continuous low-velocity determination only reads adjacent time periods where the contour segment correspondence is continuous, the expanding velocity is not deficient, and the reference velocity of the same growth stage applies. Based on the continuous low-velocity determination results, local weak growth areas are identified.
[0099] Specifically, a continuous observation time sequence is established for the same contour segment location, and weak growth candidate locations are formed for contour segments whose growth rate is lower than the reference rate for the growth stage within the continuous observation time. In this embodiment, the ordered points of the contour segments with a continuous weak growth state of 1 are mapped to common image coordinates, and a preset pixel width is extended inward to form weak growth candidate locations. The inward width is calibrated according to the physical scale of the image and the local width of the canopy, and does not cross another canopy body, non-target vegetation area, or fixed invalid area. Adjacent contour segments are only merged if they are continuous in the common coordinates, belong to the same canopy body, and correspond to the same observation time; the original contour segment state is still retained for verification. The set of weak growth candidate locations can be written as: , in, Indicates as of the date The set of candidate locations for weak growth formed during the observation period. Indicates the position of the same contour segment in the common image coordinate system. This indicates the number of observation periods required to determine continuous low speed. Indicates the first The rate of expansion of the contour segment at this location over a given time period. This indicates the correspondence between adjacent time period contour segments; if the velocity of any time period is missing, the corresponding segment is interrupted, or the reference data is insufficient, the continuous counting of this round will terminate at this position.
[0100] Subsequently, the correspondence between the contour segments of candidate locations with weak growth in adjacent observation periods is examined. For candidate locations with weak growth that experience position jumps or interruptions in their correspondence, the continuous low-velocity determination is terminated. Position jumps are checked jointly using the midpoint displacement of the contour segment, the tangential projection range, and the canopy body identifier. Any abrupt change in the current corresponding contour segment towards an adjacent crop row, an abnormal change in the outward normal direction, a break in the canopy body, or a failure of the bidirectional nearest neighbor relationship are considered position jumps or interruptions in their correspondence, and the original candidate location with weak growth is not continued to the next period. Even if the velocity of the new contour segment after the interruption is lower than the reference velocity, a new continuous count is started to prevent single low velocities at adjacent locations from being pieced together as continuous low velocities at the same local canopy location.
[0101] Furthermore, to exclude normal canopy closure, adjacent canopy boundaries are extracted on both sides of the weak growth candidate location. Non-canopy gaps between adjacent canopy boundaries are calculated. Locations where non-canopy gaps disappear in continuous observations are recorded as canopy closure locations, and these locations are then removed from the weak growth candidate locations. During this process, adjacent canopy boundaries belonging to the same canopy body are searched along the local tangential direction on both sides of the weak growth candidate location. The shortest continuous width of non-canopy pixels is statistically determined along the opposing normal directions of the two boundaries. If a non-canopy gap larger than the minimum discernible width still exists in the previous observation, and this gap disappears and is continuously filled by crop canopy pixels in the current and next observations, it is recorded as a canopy closure location. Gap invisibility caused by semantically uncertain pixels is not considered evidence of canopy closure and requires further clear observation; changes in the correspondence between the canopy body or outline segments are also not used to determine canopy closure.
[0102] After eliminating canopy closure, the remaining weak growth candidate locations are merged into local weak growth regions, and these regions are written into the crop growth recognition results according to common image coordinates. Specifically, the remaining weak growth candidate locations are merged by 8 neighborhoods and the same canopy body to obtain local weak growth regions. Each region records the common image coordinate polygon, the corresponding contour segment sequence, the start and end time periods of continuous low speed, the reference speed of the growth stage used, the excluded missing time period, and the original digital image index. The output only expresses the crop growth recognition results based on the continuous canopy expansion speed, and its meaning is limited to the local growth state corresponding to the continuous canopy expansion speed. Water shortage, pests and diseases, or fertilization needs are determined separately based on specific detection results. When manual review finds that fixed facilities have been blocking the crop for a long time, the fixed invalid area mask can be updated in subsequent observations, but the exclusion range should not be expanded based on a single weak growth result.
[0103] In other embodiments of this application, the merging of local weak growth regions is only performed when the same canopy body, the same continuous low-velocity start and end time period, and the common image coordinate adjacency relationship are simultaneously established. Separation is maintained when two weak growth candidate locations are sandwiched between semantically uncertain pixels, fixed invalid regions, or locations that do not pass the corresponding contour segments. The boundary of the merged region is extracted along the outer edge of the candidate location and mapped back to the original digital image verification of each observation time period. In addition to the region polygon, the output record also saves the corresponding contour segment sequence, continuous low-velocity time period, reference velocity version, original value of the extended velocity, and the earliest blocking state; when the region recovers to a non-low-velocity state in subsequent observations, the current continuous low-velocity time period ends, and historical results are retained without being extended to the future.
[0104] It should be further clarified that the reference velocity for the growth stage is formed using the same registration, semantic segmentation, continuous expansion confirmation, normal displacement, and velocity calculation methods as online identification. Missing velocities in normal samples do not participate in the distribution as 0. Reference samples are grouped by crop type, growth stage, image scale, and processing version. When there are insufficient samples, a status indicating insufficient reference data is output and the process is transferred to manual image verification. The processing process maintains the requirement of continuous time intervals. The online result record sequentially associates the original digital image index with the registration transformation, frozen deployment version, canopy segmentation map, continuously expanding region, canopy growth displacement, contour segment correspondence, expansion velocity, and local weak growth regions; if any intermediate state is invalid, the earliest cause of blockage is specified.
[0105] In this embodiment, the number of observation periods required for continuous low-velocity growth is determined before deployment based on crop type, growth stage, and regular observation intervals, and remains fixed within an identification cycle. Continuous counting begins when a low-velocity period first appears at the same contour segment location and the velocity is not missing; subsequent periods are classified as non-low-velocity when the velocity equals the reference velocity, and the counting ends; when a velocity is missing or its corresponding interruption occurs, the historical low-velocity state is retained, but the current round of counting ends. Counting restarts when a low-velocity period reappears at the same location after returning to a non-low-velocity state. This rule ensures that continuous low-velocity growth consists only of effective velocities that are temporally adjacent, spatially corresponding, and calculated using the same caliber; single low-velocity periods, cross-location splicing, and missing values cannot form local weak growth areas.
[0106] Thus, step S6 completes the continuous comparison between the local canopy velocity sequence and the reference velocity of the growth stage, and forms a local weak growth area through corresponding interruption and normal canopy closure exclusion, so that the effective low velocity, velocity missing and observation stage are kept separate, and the final result can be traced back to the original observation evidence according to the public image coordinates.
[0107] In summary, this method establishes the spatial consistency basis of continuous digital images using common image coordinates and independent checkpoint residuals. It defines reliable canopy evidence using the category probability output by the image semantic segmentation model and semantically uncertain pixels. It confirms the continuously expanding region by observing canopy changes at the same location and the adjacency relationship of the same canopy boundary over three consecutive observation periods. It then determines the canopy growth displacement using the outward normal of the contour segment, the local normal registration error, and the semantic blockage position. Based on the image scale, the actual observation interval, and the correspondence of the contour segments, it forms a local canopy velocity sequence. Finally, it identifies the local weak growth region under the conditions of velocity loss and separation of low-velocity state, continuous positional correspondence, and exclusion of normal canopy closure.
[0108] This processing chain constrains the generation locations of registration fluctuations, segmentation hesitations, short-term visual disturbances, and object mismatches, respectively. The results of local weak growth identification have clear spatial location, temporal range, and original image basis, thereby improving the stability and verifiability of crop canopy growth change identification under continuous observation conditions.
[0109] In some embodiments of this application, a crop growth recognition method based on image semantic segmentation is applied to continuous visual monitoring of target crop areas. The imaging end uses an RGB digital camera at a fixed height with its optical axis approximately perpendicular to the ground. Images are sent to a computing processing device via a wired data interface. The computing processing device loads an image semantic segmentation model that has been trained and frozen offline, and completes image registration, pixel category determination, continuous expansion confirmation, canopy growth displacement calculation, contour segment expansion speed comparison, and storage of local weak growth results according to common image coordinates.
[0110] The complete implementation process may include the following steps: Step 1: Determine the observation target, imaging aperture, and common image coordinates. Select a target crop area with long-term stable boundaries, fix the camera to output a 3-channel digital image of 3840×2160px, and record the acquisition time, output resolution, and camera intrinsic parameter identifiers in the image file. Place 12 stable visual references outside the plot, of which 8 are non-collinear references used to determine the planar projection transformation, and the other 4 are used only as independent checkpoints. Use the image acquired at 08:00 on August 1, 2026 as the reference image, and subsequently acquire one observation image at the same time on August 3, August 5, August 7, and August 9, forming 5 consecutive observations; the actual time interval between adjacent observations is 2 days. During the initial deployment, the physical scale of the common image coordinates is determined to be 0.5mm·px using a ground calibration ruler. - ¹, This conversion factor is stored together with the camera mounting position, focal length, and output resolution.
[0111] For the last four images, eight registration references were detected, and a correspondence was established according to the same number. The planar projection transformation was then calculated, and each image was resampled to the width, height, origin, and effective block range of the reference image. The magnitudes of the residual vectors of the four independent checkpoints in the fourth effective observation were 0.18px, 0.14px, 0.16px, and 0.20px, respectively, all lower than the 0.30px registration admission limit pre-calibrated for short-time repeated imaging. Therefore, this image and the other images that passed the same check were written into the effective observation record. Each record saves the digital image in the common image coordinates, the two-dimensional residuals of the four checkpoints, the observation timestamp, the image scale, and the original image index.
[0112] Step two involves completing the offline training, parameter selection, and frozen deployment of the semantic segmentation model. This embodiment uses 2700 digital crop images adapted to the target crop species, shooting angle, spatial resolution, and main lighting conditions to form an offline sample library. Two annotators labeled clearly identifiable target crop leaves as crop canopy, other vegetation as non-target vegetation, and soil, cover, and fixed ground as soil background. After verification, the divergence points were determined, and pixels with backlighting, ghosting, or those where the canopy and non-target vegetation could not be reliably separated were set as ignore labels. A Euclidean distance transformation was performed on the outer edge of the crop canopy labels to obtain boundary distance labels. The training set, validation set, and independent test set were divided according to plot and shooting date in a 7:2:1 ratio, with the same continuous sequence only entering one set.
[0113] The image semantic segmentation model employs an encoder-decoder structure, with a 512×512px 3-channel image patch as input. The encoder has four feature levels, outputting 64, 128, 256, and 512 channels respectively; adjacent levels reduce spatial resolution through convolutions with a stride of 2. The decoder upsamples level by level and connects to features at the same scale as the encoder via skip connections; the output is formed into 3 channels through a 1×1px convolution, and the class probabilities of crop canopy, non-target vegetation, and soil background are obtained through normalized exponential operations. Pixel classification error and continuous weighted constraints near the true canopy boundary are incorporated into the same training objective; the boundary-weighted focal cross-entropy loss can be written as: , To verify the numerical chain of the training objective, a local computation batch containing only 4 effectively labeled pixels was selected. The probabilities of the 4 pixels to the true class were set to 0.80, 0.90, 0.70, and 0.85, respectively; the distances to the true canopy boundary were set to 1px, 3px, 5px, and 0px, respectively; the boundary enhancement coefficient was set to 1.5; the distance decay scale was set to 3px; and the focus adjustment index was set to 2. After substituting these values into the calculation, the loss of this local batch was found to be 0.0176. Full training used the AdamW optimizer with an initial learning rate of 0.0001, a batch size of 8, and a maximum number of training epochs of 120. Parameter updates were stopped when the validation set boundary segmentation error did not decrease for 10 consecutive epochs; only the parameters with the lowest validation set boundary segmentation error and pixel classification loss not exceeding the validation tolerance were saved. The frozen deployment version consisted of the parameters, class order, input normalized statistics, 512×512px image patch size, segmentation confidence threshold, upper limit of semantic uncertainty, and validation data version. Model weights were not updated during the online phase.
[0114] Step 3: Perform online semantic segmentation frame by frame to generate canopy segmentation maps and canopy boundaries. The effective block range from Step 1 is cropped to 512×512px, with adjacent image blocks retaining a 64px overlap; insufficient edges are padded with zeros only on the outer side of the block, and zero-padding positions are excluded using an effective pixel mask. The frozen deployment version from Step 2 is loaded for each image block, and the arithmetic mean of the probabilities of the same class is taken when the overlapping positions are valid in both image blocks. Three probabilities are read for each common image coordinate position, checking that all probabilities are between 0 and 1 and the probability sum does not deviate from 1, then the class corresponding to the highest probability is taken as the initial semantic class. In this embodiment, the segmentation confidence threshold is fixed at 0.75, and the upper limit of semantic uncertainty is fixed at 0.40; the proximity of multi-class probabilities is calculated according to semantic entropy, and the pixel semantic uncertainty can be written as: , Taking one boundary location from the second valid observation as an example, the model outputs 0.92, 0.05, and 0.03 in the order of crop canopy, non-target vegetation, and soil background, with a maximum probability of 0.92. Substituting these values, the semantic uncertainty at this location is 0.3317, which is lower than 0.40 and has a maximum probability higher than 0.75, therefore it is retained as a pixel indicating canopy definiteness. Another boundary location outputs 0.55, 0.25, and 0.20, with a maximum probability lower than 0.75, and is directly written into the semantically uncertain pixel mask, no longer used as evidence to determine canopy definiteness. The remaining pixels are processed with the same caliber, and canopy pixels are determined using 8-neighborhood merging. Isolated regions with areas below the pre-defined lower limit and not connected to the main canopy are deleted; any merging and hole filling do not cross semantically uncertain pixels. Subsequently, the outer edge pixels of each canopy connected region are extracted in a clockwise direction. The five valid observations respectively form a canopy segmentation map, canopy boundary, and semantically uncertain pixel mask with consistent coordinate origin, image size, and effective range.
[0115] Step four: Confirm the continuously expanding region using continuous observations. First, compare the canopy segmentation images from the first and second valid observations pixel by pixel, extracting newly added pixels that were identified as non-canopy in the first observation and as canopy in the second; semantically uncertain pixels are not included in the 0 or 1 state comparison. After merging the newly added pixels into 8-neighborhoods, a new canopy region adjacent to the first canopy boundary is obtained. This region contains 120 pixels with common coordinates, of which 108 pixels are still identified as canopy in the third valid observation, a retention rate of 0.90, which is higher than the pre-calibrated lower limit of 0.85 for continuous existence. This region forms a 60px contact arc with the first canopy boundary, and the tangential projection overlap length after mapping to the third boundary is 51px, an overlap rate of 0.85, which is higher than the lower limit corresponding to the 0.80 arc. Therefore, this newly added canopy region is retained and a spatial correspondence is established with the same canopy boundary. Another newly added region contains 90 pixels, but only 54 pixels remain in the defined canopy in the next observation, a retention rate of 0.60, and therefore do not enter the continuously expanding region.
[0116] The same process was then repeated with the second, third, and fourth valid observations, as well as the third, fourth, and fifth valid observations, ensuring that each new canopy evidence from the current observation was verified by the next observation. The preserved regions obtained from consecutive comparisons were merged according to their corresponding canopy boundaries, and the starting observation, verification observation, pixel set, contact arc, preservation ratio, and overlap ratio were recorded. The seventh local contour location remained adjacent to the same canopy body in all three comparisons, and there were no instances of canopy body inconsistency, boundary truncation, or semantically uncertain pixel clustering, thus forming a continuously expanding region used for subsequent displacement searches.
[0117] Step 5: Calculate the normal registration error and obtain the canopy growth displacement. Divide the contour segments sequentially along the arc length of the previous canopy boundary. Segments shorter than 20px are merged into adjacent tangentially continuous contour segments. Break segments at locations crossing semantically uncertain pixels, image edges, or canopy bifurcation points. The 7th contour segment of the 4th valid observation is 46px long. The projections of the residuals of the 5 checkpoints in the neighborhood of its center position onto the normal direction of this segment are 0.12px, 0.08px, 0.10px, 0.06px, and 0.14px, respectively, with a median of 0.10px. The median absolute deviation relative to this median is 0.02px. The positive outlier control factor determined by repeated calibration is 2, and the coordinate interpolation tolerance is 0.02px. The normal registration error can be written as: , Substituting the values, we find that the displacement scale of this contour segment, indistinguishable from the registration residual, is 0.16px. Then, starting from the effective boundary points of this contour segment, we enter the continuous expansion region search in step four along the outward normal. We continue when a definite canopy pixel is encountered, and stop immediately when a semantically uncertain pixel, image boundary, or outside the continuous expansion region is encountered. The outward normal displacements obtained from the eight unblocked effective boundary points are 0.12px, 0.18px, 0.20px, 0.22px, 0.24px, 0.26px, 0.28px, and 0.30px, respectively. We first filter out the 0.12px displacements that do not exceed the 0.16px normal registration error, and then take the median of the remaining effective displacements. The canopy growth displacement can be written as: , Substituting the values, the canopy growth displacement for this contour segment is obtained as 0.24px, and this value is saved along with the timestamp of the 4th valid observation, the common coordinate range of the 7th contour segment, the 8 valid displacement points, the normal registration error, and the search termination status. Using the same processing, the canopy growth displacements for the corresponding positions in the first two valid time periods are obtained as 0.28px and 0.26px, respectively. Contour segments without sufficient valid displacement points remain missing, neither replaced with 0 nor interpolated across positions.
[0118] Step 6: Calculate the contour segment expansion speed while maintaining the contour segment identity in adjacent time periods. Read the 0.5mm·px data saved in Step 1. - ¹Based on the physical scale, the 2d real time interval, and the 0.24px canopy growth displacement in step five, the contour segment expansion rate can be written as: , Substituting the data from the seventh contour segment of the fourth valid observation, we obtain a contour segment expansion rate of 0.06 mm·d. - ¹. Using the same unequal caliber to process the 0.28px and 0.26px displacements for the first two time periods, we obtained 0.07mm·d. -¹ and 0.065 mm·d - ¹. When matching contour segments in adjacent time periods, a bidirectional nearest neighbor check is performed using the average distance from the previous contour segment along the outer normal to the next candidate contour segment and the reverse average distance. The tangential projection overlap ratio is required to be no less than 0.75, and the outer normal angle no greater than 12°. The 7th contour segment shows consistent bidirectional nearest neighbor relationships across the three time periods, with tangential projection overlap ratios of 0.86 and 0.83 respectively, and outer normal angles of 4.2° and 5.1° respectively. Therefore, it is included in the correspondence between contour segments in adjacent time periods. Contour segments that are candidate parallel, have inconsistent canopy structures, or have merged or split do not establish a correspondence.
[0119] Step 7: Establish reference velocity for growth stage, identify localized areas of weak growth, and save the identification results. Select independent, normally growing samples that match the current target crop species, growth stage, model version, and imaging scale to obtain 5 effective contour segment expansion velocities of 0.06 mm·d. - ¹、0.08mm·d - ¹、0.09mm·d - ¹、0.10mm·d - ¹ and 0.12 mm·d - ¹, sorted in ascending order; the lower quantile is taken as 0.25, using the sample quantile result at position 2. The reference velocity for reproductive stage can be written as: , Substituting the reference sample, the current reference velocity for the reproductive stage is 0.08 mm·d. - ¹, and solidified together with the reference sample source, reproductive stage, frozen model version, and physical scale. The number of observation periods required for continuous low-velocity determination is taken as 3, with the three velocities at the 7th profile position being 0.07 mm·d⁻¹ respectively. - ¹、0.065mm·d - ¹ and 0.06 mm·d - ¹, all below 0.08 mm·d - ¹; The corresponding relationships between the two sets of adjacent time period contour segments exist, and all three velocities are within the range of valid real numbers. The set of candidate locations for weak growth can be written as: , Therefore, the 7th contour location is included in the weak growth candidate location set formed up to the 4th velocity period. Adjacent contour segments that are spatially continuous and also satisfy the low-velocity condition for three periods are merged to obtain a local weak growth region. This region is written into the crop growth identification result, and the result fields include the common image coordinate range, the corresponding three velocity periods, the indices of the five original images, the contour segment identifier for each period, the unrounded velocity, the reference velocity, the frozen model version, the checkpoint residual, and the semantically uncertain pixel mask index. The identification result is saved as a structured record and sent back to the monitoring terminal for location verification on the original images. If the checkpoint residual of the subsequent 6th observation exceeds the 0.30px admission limit, the image record is considered invalid and is not included in the low-velocity continuous count; after obtaining the next valid image, the time interval is re-formed according to the actual timestamps of the two valid images.
[0120] Through the complete implementation process described above, this method limits the spatial error of continuous images with stable visual references and independent checkpoints, blocks classification hesitation at canopy boundaries by freezing semantic segmentation versions and semantically uncertain pixels, and confirms the continued existence of newly added canopy regions with the next observation. This makes it difficult for slight changes in camera position, leaf swaying, shadow migration, and local occlusion to be continuously transmitted as canopy growth. The normal registration error and the external normal search together retain effective displacements exceeding the scale of local geometric errors. The correspondence between physical scale, real time interval, and contour segments ensures that the velocity at the same canopy location maintains a unified dimension and continuous identity. Finally, based on the reference velocity of the same crop and the same growth stage, a local weak growth region with continuous low-velocity evidence is formed, thereby enhancing the stability of canopy growth change discrimination under continuous observation conditions, the temporal consistency of local weak growth identification, and the reliability of result traceability and verification.
[0121] like Figure 2 As shown, another embodiment of this application provides a crop growth recognition system based on image semantic segmentation. This system includes functional modules corresponding to the steps of the above-described crop growth recognition method based on image semantic segmentation. The specific data processing procedures for each module can be found in the above-described method embodiments.
[0122] Based on the same concept, another embodiment of this application provides a crop growth recognition system based on image semantic segmentation, comprising: Image registration module 1 is used to acquire continuous digital images of the same crop area, select registration points and check points from a stable visual reference, register the continuous digital images to the common image coordinates using the registration points, and calculate the check point residuals. Semantic segmentation module 2 is used to perform image semantic segmentation on continuous digital images, label semantically uncertain pixels according to category probability, and form canopy segmentation map and canopy boundary after filtering out semantically uncertain pixels; The continuous expansion module 3 is used to compare the canopy segmentation maps of three consecutive observation periods, extract the connected regions that are newly added in the current observation and adjacent to the previous canopy boundary, and retain the connected regions that exist continuously in the next observation and are adjacent to the same canopy boundary to form a continuous expansion region; The growth displacement module 4 is used to divide the contour segment along the previous canopy boundary, project the check point residual onto the outer normal of the contour segment to obtain the normal registration error, search along the outer normal in the continuously expanding region, stop the search when encountering semantically uncertain pixels, calculate the outer normal displacement and filter out the outer normal displacement that does not exceed the normal registration error to obtain the canopy growth displacement. The extended velocity measurement module 5 is used to calculate the expansion velocity of the contour segment based on the canopy growth displacement, image scale and observation interval, and to establish the correspondence between contour segments in adjacent observation periods in the common image coordinates; The growth recognition module 6 is used to compare the expansion speed of the outline segment with the reference speed of the growth stage according to the correspondence of the outline segments, identify the local weak growth areas that are continuously lower than the reference speed of the growth stage, and write the local weak growth areas into the crop growth recognition results.
[0123] The above embodiments are used to illustrate the technical solutions of this application. Equivalent substitutions, improvements, or combinations made by those skilled in the art based on the disclosure of this application shall still fall within the protection scope defined by this application.
Claims
1. A crop growth recognition method based on image semantic segmentation, characterized in that, include: Step S1: Acquire continuous digital images of the same crop area, select registration points and check points from a stable visual reference, register the continuous digital images to the common image coordinates using the registration points, and calculate the check point residuals; Step S2: Perform image semantic segmentation on the continuous digital image, label semantically uncertain pixels according to category probability, and filter out semantically uncertain pixels to form a canopy segmentation map and canopy boundary; Step S3: Compare the canopy segmentation maps of three consecutive observation periods, extract the newly added connected regions in the current observation that are adjacent to the previous canopy boundary, and retain the connected regions that exist continuously in the next observation and are adjacent to the same canopy boundary to form a continuously expanding region; Step S4: Divide the contour segment along the previous canopy boundary, project the check point residual onto the outer normal of the contour segment to obtain the normal registration error, search along the outer normal in the continuously expanding region, stop the search when encountering semantically uncertain pixels, calculate the outer normal displacement and filter out the outer normal displacement that does not exceed the normal registration error to obtain the canopy growth displacement. Step S5: Calculate the contour segment expansion rate based on canopy growth displacement, image scale, and observation interval, and establish the contour segment correspondence between adjacent observation periods in the common image coordinates; Step S6: Compare the expansion speed of the outline segment with the reference speed of the growth stage according to the correspondence of the outline segments, identify the local weak growth areas that are continuously lower than the reference speed of the growth stage, and write the local weak growth areas into the crop growth identification results.
2. The crop growth recognition method based on image semantic segmentation as described in claim 1, characterized in that, Step S2 specifically includes: The image semantic segmentation model is trained using training images with canopy pixel labels and boundary distance labels. Pixel classification loss and boundary weighted loss are used as training objectives, and the model parameters with the lowest boundary segmentation error on the validation set are saved. The continuous digital images under the common image coordinates are input frame by frame into the image semantic segmentation model. For each pixel, the class probability of crop canopy, non-target vegetation and soil background is generated, and semantically uncertain pixels are marked according to the maximum class probability and the segmentation confidence threshold. Filter out semantically uncertain pixels from the pixels corresponding to crop canopy categories, form canopy connected regions for the remaining pixels according to spatial adjacency, and extract the outer edge pixels of the canopy connected regions; Record the connected regions and outer edge pixels of the canopy according to the coordinates of the public image to form the canopy segmentation map and canopy boundary for each observation period.
3. The crop growth recognition method based on image semantic segmentation as described in claim 2, characterized in that, Step S3 specifically includes: The canopy segmentation images of the previous observation and the current observation are compared pixel by pixel according to the common image coordinates, and newly added canopy pixels that were non-canopy in the previous observation and are canopy in the current observation are extracted. The newly added canopy pixels are merged into new canopy regions according to their spatial adjacency. The positional relationship between the new canopy regions and the previous canopy boundary is compared, and new canopy regions that are not adjacent to the previous canopy boundary are filtered out. The remaining newly added canopy regions are compared with the canopy segmentation map of the next observation, and newly added canopy regions that are continuous and adjacent to the same canopy boundary in the next observation are retained; The newly added canopy areas that are retained will be merged according to the corresponding canopy boundaries to form a continuously expanding area that has a spatial correspondence with the canopy boundaries.
4. The crop growth recognition method based on image semantic segmentation as described in claim 3, characterized in that, The step of comparing the remaining newly added canopy regions with the canopy segmentation map of the next observation, and retaining the newly added canopy regions that are continuous and adjacent to the same canopy boundary in the next observation, specifically includes: Extract continuous contact arc segments along the adjacent positions of the newly added canopy region and the boundary of the previous canopy, record the endpoints and arc lengths of the contact arc segments, and associate the contact arc segments with the newly added canopy region; Map the endpoint of the contact arc to the canopy segmentation map of the next observation, search for continuous canopy pixels at the corresponding position, calculate the retention ratio of the continuous preserved area to the newly added canopy area, and calculate the overlap ratio between the mapped contact arc and the next canopy boundary. The judgment range is determined based on the retention ratio distribution and overlap ratio distribution corresponding to the actual canopy expansion in the labeled continuous observation samples, and newly added canopy areas that do not simultaneously meet the judgment range are screened out. For the remaining newly added canopy regions, verify the spatial connectivity and canopy boundary adjacency of the next observation, and retain newly added canopy regions that are continuous and adjacent to the same canopy boundary.
5. The crop growth recognition method based on image semantic segmentation as described in claim 1, characterized in that, Step S4 specifically includes: Calculate the included angle between adjacent tangents based on the ordered boundary points of the previous canopy boundary, break the boundary point sequence at the location where the contour direction changes to form a contour segment, and determine the outer normal of the contour segment based on the tangent direction of the contour segment. Select neighboring checkpoints around the contour segment that were not included in the registration solution, project the checkpoint residuals onto the normal of the contour segment, check the distribution of neighboring checkpoints along the segment, and determine the normal registration error based on the projection residuals when the spatial coverage is effective. The search continues to expand the region pixel by pixel from the boundary point of the contour segment along the outer normal of the contour segment. The search stops when the search position enters a semantically uncertain pixel. The outer normal displacement is calculated based on the outermost canopy pixel before the stopping position. For contour segments with insufficient spatial coverage, the canopy growth displacement is missing. The remaining external normal displacements are compared with the normal registration error. External normal displacements that do not exceed the normal registration error are screened out, and the median of the remaining external normal displacements is taken to form the canopy growth displacement.
6. The crop growth recognition method based on image semantic segmentation as described in claim 5, characterized in that, The steps of projecting the checkpoint residuals onto the outer normal of the contour segment, checking the distribution of adjacent checkpoints along the segment, and determining the normal registration error based on the projection residuals when spatial coverage is effective, specifically include: Checkpoints are selected based on the vertical distance between adjacent checkpoints and the contour segment and their projection positions along the segment. The two-dimensional position residuals of the checkpoints are projected onto the outer normal of the contour segment, and the projection residuals are arranged according to their projection positions. Calculate the median and median absolute deviation of the projection residuals, filter out outlier projection residuals by median absolute deviation, and form local residual intervals from the remaining projection residuals; Read the projection positions of the remaining checkpoints along the segment, form a spatial coverage ratio based on the ratio of the distance between the first and last projection positions along the segment to the length of the contour segment, and check whether the checkpoints are concentrated on one side of the contour segment. The lower limit of coverage is determined based on the distribution of checkpoints in the calibration image. When the spatial coverage ratio is lower than the lower limit or the checkpoints are concentrated on one side of the contour segment, the registration invalid state is recorded. For contour segments with effective spatial coverage, the normal registration error is determined based on the local residual interval.
7. The crop growth recognition method based on image semantic segmentation as described in claim 5, characterized in that, Step S5 specifically includes: The canopy growth displacement of each contour segment is converted into actual displacement according to the image scale, and the expansion velocity of the contour segment is calculated based on the actual displacement and the corresponding observation interval. The velocity missing state is preserved for contour segments with missing canopy growth displacement. Map the contour segments of adjacent observation periods to common image coordinates, establish the search range along the outer normal of the previous contour segment, and filter candidate contour segments that fall into the search range and have the same outer normal direction in the next observation. Calculate the overlap ratio of candidate contour segments within the tangential projection range of the previous contour segment, and perform the nearest contour segment search from both sides of the adjacent observation, retaining the correspondence between contour segments that are the closest to each other and whose overlap ratio meets the matching condition. Connect the expansion velocities of contour segments in adjacent observation periods according to the correspondence of contour segments, and do not perform cross-location interpolation in the state of missing velocity to form a local canopy velocity sequence.
8. The crop growth recognition method based on image semantic segmentation as described in claim 7, characterized in that, Step S6 specifically includes: According to the correspondence of contour segments, the expansion rate of contour segments at the same local canopy location is read. The distribution of contour segment expansion rate is obtained from normal growth samples of the same crop type and the same growth stage. The reference rate for the growth stage is determined according to the lower bound of the distribution. Compare the contour segment expansion rate of each observation period with the reference rate of the reproductive stage, record the observation periods that are lower than the reference rate of the reproductive stage, and maintain the separation between the rate missing state and the low-speed state. The continuity of low-velocity states is checked along the local canopy velocity sequence. The continuous counting of low-velocity states separated by velocity-deficient states is stopped, and the corresponding contour segment positions are preserved. Based on the continuous low-speed judgment results, local weak growth areas are identified, and these areas are written into the crop growth recognition results according to the coordinates of the common image.
9. The crop growth recognition method based on image semantic segmentation as described in claim 8, characterized in that, The steps for determining local weak growth regions based on continuous low-velocity assessment results specifically include: A series of continuous observation periods were established for the same contour segment location, and weak growth candidate locations were formed for contour segment locations that were all below the reference growth rate of the growth stage within the continuous observation period. Check the contour segment correspondence of weak growth candidate locations in adjacent observation periods, and terminate the continuous low-speed judgment for weak growth candidate locations that have position jumps or interrupted correspondence. The adjacent canopy boundaries are extracted on both sides of the weak growth candidate location, the non-canopy gap between the adjacent canopy boundaries is calculated, the canopy closure location is recorded at the location where the non-canopy gap disappears in continuous observation, and the canopy closure location is screened out from the weak growth candidate location. The remaining candidate locations for weak growth will be merged into the local weak growth region.
10. A crop growth recognition system based on image semantic segmentation, characterized in that, include: The image registration module is used to acquire continuous digital images of the same crop area, select registration points and check points from a stable visual reference, register the continuous digital images to the common image coordinates using the registration points, and calculate the check point residuals. The semantic segmentation module is used to perform semantic segmentation on continuous digital images, label semantically uncertain pixels according to category probability, and filter out semantically uncertain pixels to form a canopy segmentation map and canopy boundaries; The continuous expansion module is used to compare the canopy segmentation maps of three consecutive observation periods, extract the connected regions that are newly added in the current observation and adjacent to the previous canopy boundary, and retain the connected regions that exist continuously in the next observation and are adjacent to the same canopy boundary to form a continuous expansion region; The growth displacement module is used to divide the contour segment along the previous canopy boundary, project the checkpoint residual onto the outer normal of the contour segment to obtain the normal registration error, search along the outer normal in the continuously expanding region, stop the search when encountering semantically uncertain pixels, calculate the outer normal displacement and filter out the outer normal displacements that do not exceed the normal registration error to obtain the canopy growth displacement. The extended velocity measurement module is used to calculate the expansion velocity of the contour segment based on the canopy growth displacement, image scale, and observation interval, and to establish the correspondence between contour segments in adjacent observation periods in the common image coordinates; The growth recognition module is used to compare the expansion rate of the outline segment with the reference rate of the growth stage according to the correspondence of the outline segments, identify local weak growth areas that are continuously lower than the reference rate of the growth stage, and write the local weak growth areas into the crop growth recognition results.
