A growth reference method, device and medium for yellow rosewood trees
By collecting static data of rosewood trees, determining the branch reduction coefficient and coordinate information, and using a parallel method to generate and stitch image blocks, the problem of large stitching error in the rosewood tree growth model was solved, thus improving the accuracy and reference value of the model.
Patent Information
- Application Number
- CN202211378283.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-11-04
- Publication Date
- 2025-11-11
- Estimated Expiration
- 2042-11-04
AI Technical Summary
Existing growth models of rosewood trees are prone to large cumulative errors due to initial partial deviations during the splicing process, affecting their reference value.
By collecting static measurement data, the branch reduction coefficient and the coordinate information of each node are determined. Image blocks are generated and stitched together using a parallel method. The growth model is simulated using the L-system to reduce errors.
This improved the accuracy and reference value of the growth model for rosewood trees, reduced the cumulative error caused by deviations in a single node, and provided a more reliable growth reference.
Smart Images

Figure CN115905795B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the fields of computer image processing and virtual reality technology, and in particular to a growth reference method, apparatus and medium for rosewood trees. Background Technology
[0002] The current market for rosewood is uneven, and its price positioning and growth trend are affected by geographical factors. At present, there are few simulations of rosewood tree growth using virtual plant models.
[0003] Based on existing measurement data, growth trends are simulated and constructed using virtual plant models. Current models combine data sequentially, for example, first processing part A, then stitching together part B to create a growth trend image, resulting in slow synthesis efficiency. Furthermore, if part A has a deviation, part B may also have its own deviation. Stitching part B on top of a deviation in part A leads to significant further deviations, making the final deviation from multiple parts unpredictable. Therefore, its reference value is low.
[0004] Therefore, how to reduce the bias of the model in order to improve the growth reference of the reference rosewood tree is a problem that urgently needs to be solved by those skilled in the art. Summary of the Invention
[0005] The purpose of this invention is to provide a growth reference method, device, and medium for rosewood trees, resulting in a growth model with minimal deviation, thus providing valuable reference for the growth of rosewood trees.
[0006] To solve the above-mentioned technical problems, the present invention provides a growth reference method for rosewood trees, comprising:
[0007] Static measurement data of rosewood trees were collected, and morphological and structural statistical analysis was performed based on the static measurement data to determine the branch reduction coefficient.
[0008] The coordinate information of each node of the branch is determined based on the branch reduction coefficient;
[0009] The coordinate information of each segment is used to determine the image block of each segment to obtain the branch splicing state;
[0010] The growth model of the rosewood tree is obtained by splicing and simulating the splicing state and coordinate information of each image block to provide a reference for the growth of the rosewood tree.
[0011] Preferably, the static measurement data of the rosewood tree includes at least: geographical location information, tree age, planting density, diameter at breast height (DBH), and branch diameter.
[0012] Preferably, the step of determining the branch reduction coefficient based on the morphological and structural statistical analysis of the static measurement data includes:
[0013] The morphological structure and natural growth rate of the rosewood tree were determined based on the static measurement data.
[0014] The growth curve of the rosewood tree is determined based on the natural growth rate and the L growth curve.
[0015] The branch reduction coefficient is obtained by analyzing the growth curve and the morphological structure.
[0016] The branch reduction coefficient includes at least the main branch height, main branch diameter, branching angle, branch diameter, number of branch nodes, internode length, and internode diameter of the rosewood tree.
[0017] Preferably, determining the coordinate information of each node of the branch based on the branch reduction coefficient includes:
[0018] The starting coordinate information, ending coordinate information, and radius information of each node are determined based on the number of branch nodes, the internode length, and the internode diameter of the branch reduction coefficient.
[0019] Preferably, determining the image block of each segment based on the coordinate information of each segment includes:
[0020] The current image block corresponding to the current section is determined based on the starting coordinate information, the ending coordinate information, and the radius information of the current section;
[0021] Alternatively, obtain the adjustment parameters and / or growth parameters under light conditions for the current section;
[0022] Use the current image block as the initial image block;
[0023] The initial image patch is adjusted using the adjustment parameters and / or the growth parameters to obtain the final image patch;
[0024] Correspondingly, obtaining the branch splicing status includes:
[0025] The first center coordinate information of the image plane to which the starting coordinate information of the current image block belongs is determined based on the starting coordinate information and the corresponding radius information;
[0026] The second center coordinate information of the image plane to which the termination coordinate information of the current image block belongs is determined based on the termination coordinate information and the corresponding radius information;
[0027] The third center coordinate information is determined based on the line connecting the first center coordinate information and the second center coordinate information;
[0028] Using the horizontal plane as a reference, the endpoint coordinates relative to the horizontal plane are determined based on the third center coordinate information and the corresponding radius information;
[0029] The branch splicing direction of the current image block is determined based on the relationship between the first center coordinate information, the second center coordinate information, and the endpoint coordinate information;
[0030] The corresponding branch splicing state is determined based on the branch splicing direction.
[0031] Preferably, the step of simulating the growth model of the rosewood tree by splicing together the branches and the coordinate information of each image block includes:
[0032] The position marking information of each image block is determined based on the branch splicing state and the coordinate information of each image block;
[0033] The growth model of the rosewood tree is obtained by stitching together each image block using the location marker information using an L-system.
[0034] Preferably, determining the branch splicing direction of the current image block based on the relationship between the first center coordinate information, the second center coordinate information, and the endpoint coordinate information includes:
[0035] Sort the first center coordinate information, the second center coordinate information, and the endpoint coordinate information in a spatial coordinate system;
[0036] The branch splicing direction of the current image block is determined based on the sorted coordinate information.
[0037] To address the aforementioned technical problems, the present invention also provides a growth reference device for rosewood trees, comprising:
[0038] The first determining module is used to collect static measurement data of the rosewood tree and perform morphological and structural statistical analysis based on the static measurement data to determine the branch reduction coefficient.
[0039] The second determining module is used to determine the coordinate information of each segment of the branch based on the branch reduction coefficient;
[0040] The third determining module is used to determine the image block of each section based on the coordinate information of each section to obtain the branch splicing state;
[0041] The simulation module is used to perform splicing simulation based on the splicing state of the branches and the coordinate information of each image block to obtain the growth model of the rosewood tree, so as to provide a reference for the growth of the rosewood tree.
[0042] To address the aforementioned technical problems, the present invention also provides a growth reference device for rosewood trees, comprising:
[0043] Memory, used to store computer programs;
[0044] A processor is used to execute the computer program to implement the steps of the growth reference method for rosewood trees as described above.
[0045] To address the aforementioned technical problems, the present invention also provides a computer-readable storage medium storing a computer program, which, when executed by a processor, implements the steps of the aforementioned reference method for the growth of rosewood trees.
[0046] This invention provides a growth reference method for rosewood trees, comprising: collecting static measurement data of rosewood trees and determining branch reduction coefficients through morphological and structural statistical analysis based on the static measurement data; determining the coordinate information of each node of the branch based on the branch reduction coefficients; determining image blocks of each node based on the coordinate information of each node to obtain the branch splicing state; and performing splicing simulation based on the branch splicing state and coordinate information of each image block to obtain a growth model of the rosewood tree for reference in the growth of the rosewood tree. This method employs a parallel approach to the splicing process. After obtaining the coordinate information of each node based on the measurement data, image blocks of each node are determined, and the corresponding branch splicing state is determined based on each image block. The image blocks are spliced in parallel to improve the efficiency of model generation. Because of the parallel approach, each image block is generated only by the coordinate information of each segment, avoiding the existing cascading effect. This avoids the problem of large deviations caused by splicing another segment when one segment is deviated. In this invention, even if one segment is deviated, the next segment is generated based on its own coordinate information, thus avoiding large deviations during the splicing process. As a result, the growth model has smaller deviations, providing a more valuable reference for the growth of rosewood.
[0047] In addition, the present invention also provides a growth reference device and medium for rosewood trees, which have the same beneficial effects as the above-described growth reference method for rosewood trees. Attached Figure Description
[0048] To more clearly illustrate the embodiments of the present invention, the accompanying drawings used in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0049] Figure 1 A flowchart illustrating a reference method for the growth of a rosewood tree, provided as an embodiment of the present invention;
[0050] Figure 2 A structural diagram of a reference device for the growth of a rosewood tree provided in an embodiment of the present invention;
[0051] Figure 3 This is a structural diagram of another reference device for the growth of rosewood trees provided in an embodiment of the present invention. Detailed Implementation
[0052] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative effort are within the protection scope of the present invention.
[0053] The core of this invention is to provide a growth reference method, device, and medium for rosewood trees, resulting in a growth model with minimal deviation, thus providing significant reference value for the growth of rosewood.
[0054] To enable those skilled in the art to better understand the present invention, the present invention will be further described in detail below with reference to the accompanying drawings and specific embodiments.
[0055] It should be noted that the growth reference method for huanghuali trees provided by this invention is not only applicable to huanghuali trees, but can also be applied to the growth models of other trees. This invention does not impose specific limitations, and the model parameters can be set according to actual conditions. Based on this model, the planting of huanghuali trees, as well as the planting of other precious tree species, can be determined, providing reference value for the pricing of huanghuali in the market. The growth reference method for huanghuali trees provided by this invention can automatically generate and verify growth records. Utilizing blockchain technology, the growth records of huanghuali trees are tamper-proof, protecting the growth status of huanghuali trees.
[0056] Figure 1 A flowchart illustrating a reference method for the growth of a rosewood tree, as provided in an embodiment of the present invention, is shown below. Figure 1 As shown, the method includes:
[0057] S11: Collect static measurement data of rosewood trees and determine the branch reduction coefficient based on morphological and structural statistical analysis of the static measurement data;
[0058] S12: Determine the coordinate information of each node of the branch based on the branch reduction coefficient;
[0059] S13: Determine the image blocks of each section based on the coordinate information of each section to obtain the branch splicing status;
[0060] S14: Based on the splicing status and coordinate information of each image block, a splicing simulation is performed to obtain a growth model of the rosewood tree, so as to provide a reference for the growth of the rosewood tree.
[0061] Understandably, static measurement data for Huanghuali trees, as an example, includes at least: geographical location information, tree age, planting density, diameter at breast height (DBH), and branch diameter. Geographical location information is crucial because China's vast territory means that temperature differences between the north and south, as well as latitude and longitude variations, significantly impact Huanghuali tree growth. Planting density refers to the number of basic seedlings and trees per unit area of land. It forms the basis for the coordinated development of the group and individual trees. The appropriate number of basic seedlings and trees must be determined based on the suitable quantity requirements for the overall crop population, combined with the specific conditions and levels of individual growth and development, such as crop and variety characteristics, regional and seasonal climate, crop rotation and fertilizer / water conditions, and management level. This "reasonable dense planting" ensures full utilization of land, light, heat, water, and fertilizer resources to achieve ideal yields. The planting density should be neither too sparse nor too dense.
[0062] Based on tree shape observation, the morphological structure of the rosewood tree is determined. This is achieved by utilizing botanical knowledge and tree shape observation and analysis to determine the branch reduction coefficient. As one example, the branch reduction coefficient is determined through statistical analysis of morphological structure based on static measurement data, including:
[0063] The morphological structure and natural growth rate of the rosewood tree were determined based on static measurement data;
[0064] The growth curve of the rosewood tree was determined based on the natural growth rate and the L growth curve.
[0065] The branch reduction coefficient is obtained by analyzing the growth curve and morphological structure.
[0066] Among them, the branch reduction coefficient includes at least the main branch height, main branch diameter, branching angle, branch diameter, number of branch nodes, internode length, and internode diameter of the rosewood tree.
[0067] Specifically, morphological structure is used to determine the branch reduction coefficient. In actual planting, the growth and development trend of rosewood trees is controlled by shaping and pruning, so as to summarize the morphological structure law of early maturity through static measurement data and provide data support.
[0068] Growth refers to the process by which a growing tree, due to internal dynamics, experiences continuous growth of cambium cells, adding the width of one annual ring to the cross-section of the trunk each year and growing a new length at the top. This phenomenon of increasing diameter, height, and volume of a tree with age is called growth. The quantity of growth is called growth volume, which can generally be divided into two categories: actual growth volume and calculated growth volume. Actual growth volume is the difference between the quantity changes in two periods, and according to the length of the period, it can be divided into three types: annual growth volume, periodic growth volume, and total growth volume. Calculated growth volume is the average quantity in each period, and according to the length of the period, it can be further divided into total average growth volume and periodic average growth volume.
[0069] The annual natural growth rate can be the same or different, and its natural growth rate can be determined based on the current environmental climate, etc. The L-system is a series of different forms of regular grammar rules, mostly used for modeling plant growth processes, but also for simulating the morphology of various organisms. The L-system can also be used to generate self-similar fractals, such as iterative function systems. The growth curve of the *Dalbergia odorifera* tree is determined based on the natural growth rate and the L-growth curve. The formula for the generated growth curve is as follows:
[0070] N = Nm / (1 + eb - rt)
[0071] Where Nm is generally the growth of a 50-year-old rosewood tree, which is currently the average growth period at this location, r is the natural growth rate, b is the integral constant, and t is the time dimension.
[0072] The branch reduction coefficient is obtained by analyzing the growth curve and morphological structure. The branch reduction coefficient includes at least the main branch height, main branch diameter, branching angle, branch diameter, number of branch nodes, internode length, and internode diameter of the rosewood tree.
[0073] Correspondingly, the height and diameter of the main branch are defined as follows: a rosewood tree has one main branch and multiple secondary branches. The number of nodes on each branch is determined based on the length of each branch. More nodes generally result in a more accurate model, but more is not always better; the number should be set according to the specific circumstances. The branch angle is set based on the reference branch, the main branch, or the relative angle of the branch to its main branch; there are no specific limitations on this.
[0074] The diameter of a branch is related to the number of branch levels and the length of the branch. The diameter of the branch decreases continuously as the number of branch levels and the length of the branch increase. Internode length and internode diameter refer to the length and diameter of each node in a branch. Due to different branching angles, the subsequent changes in the bending of the branch are affected, and all branches have varying degrees of bending.
[0075] Step S12 involves determining the coordinate information of each node of a branch based on the branch reduction coefficient. This coordinate information primarily includes the starting coordinates, ending coordinates, and radius. It is understood that the growth model of the rosewood tree is established based on a three-dimensional diagram, and its coordinate information is three-dimensional. The starting and ending coordinates are based on the main branch of the branch as a reference coordinate system. The starting point of the branch below the main branch is used as the starting coordinate information of the first node, and the ending coordinate information of that node is determined based on the internode length. The ending coordinate information of this node can be used as the starting coordinate information of the next node, and the coordinate information of each node is gradually set. The internode diameter is the diameter of the branch corresponding to the current node. As one embodiment, determining the coordinate information of each node of a branch based on the branch reduction coefficient includes:
[0076] The starting coordinates, ending coordinates, and radius of each node are determined based on the number of branches, internode length, and internode diameter using the branch reduction coefficient.
[0077] Specifically, the starting coordinates, ending coordinates, and radius of the branch of each node are determined based on the number of branches, internode length, and internode diameter.
[0078] The image blocks of each segment are determined based on their coordinate information. It should be noted that the coordinate information refers to the starting and ending coordinates mentioned above. Since it is a three-dimensional coordinate system, the cutting surface of the branch can be determined based on the radius. Based on the starting and ending information and the formation of the cutting surface, the image block of the current segment can be obtained. The corresponding branch splicing state can be obtained based on the image blocks and coordinate information.
[0079] The branch splicing state is mainly splicing in various directions such as downward, upward, or parallel. The splicing is carried out according to the branch splicing form of each image block and the corresponding coordinate information (starting coordinate information, ending coordinate information, and radius information), so that the splicing combination is more orderly and accurate.
[0080] This invention provides a growth reference method for rosewood trees, comprising: collecting static measurement data of the rosewood tree and determining the branch reduction coefficient based on morphological and structural statistical analysis of the static measurement data; determining the coordinate information of each node of the branch based on the branch reduction coefficient; determining image blocks of each node based on the coordinate information of each node to obtain the branch splicing state; and performing splicing simulation based on the branch splicing state and coordinate information of each image block to obtain a growth model of the rosewood tree for reference in the growth of the rosewood tree. This method employs a parallel approach to the splicing process. After obtaining the coordinate information of each node based on the measurement data, image blocks of each node are determined, and the corresponding branch splicing state is determined based on each image block. The image blocks are obtained in parallel and spliced together to improve the efficiency of model generation. Because of the parallel approach, each image block is generated only by the coordinate information of each segment, avoiding the existing cascading effect. This avoids the problem of large deviations caused by splicing another segment when one segment is deviated. In this invention, even if one segment is deviated, the next segment is generated based on its own coordinate information, thus avoiding large deviations during the splicing process. As a result, the growth model has smaller deviations, providing a more valuable reference for the growth of rosewood.
[0081] Based on the above embodiments, as one embodiment, determining the image block of each segment based on the coordinate information of each segment includes:
[0082] The current image block corresponding to the current segment is determined based on the start coordinates, end coordinates, and radius of the current segment;
[0083] Alternatively, obtain the adjustment parameters and / or growth parameters under light conditions for the current section;
[0084] Use the current image patch as the initial image patch;
[0085] The initial image patch is adjusted by adjusting parameters and / or growth parameters to obtain the final image patch;
[0086] Correspondingly, the branch splicing status is obtained, including:
[0087] The first center coordinate information of the image plane to which the starting coordinate information of the current image block belongs is determined based on the starting coordinate information and the corresponding radius information;
[0088] The second center coordinate information of the image plane to which the termination coordinate information of the current image block belongs is determined based on the termination coordinate information and the corresponding radius information;
[0089] The third center coordinate information is determined by the line connecting the first center coordinate information and the second center coordinate information.
[0090] Using the horizontal plane as a reference, determine the endpoint coordinates relative to the horizontal plane based on the coordinates of the third center and the corresponding radius.
[0091] The branch splicing direction of the current image block is determined based on the relationship between the first center coordinate information, the second center coordinate information, and the endpoint coordinate information;
[0092] Determine the corresponding branch splicing state based on the splicing direction of the branches.
[0093] Specifically, for each acquired image block, its position is determined based on the start and end coordinates of the current segment, and its size is determined based on the radius information. Alternatively, the initial image blocks can be adjusted using parameters to obtain the final image blocks. Adjusting these parameters makes the images of each segment, and even the main branches and sub-branches, smoother and more curved during the splicing process. Furthermore, due to differences in growth parameters under varying light conditions, branches on the side receiving longer light exposure grow faster, and the corresponding data reflects more growth than those on the side receiving shorter light exposure.
[0094] The final image block is obtained by adjusting the initial image block using two parameters or one parameter.
[0095] To obtain the corresponding branch stitching state, the first center coordinate information (i.e., the first center coordinate information within the side view of the image block) can be determined based on the starting coordinate information and radius information. The second center coordinate information (i.e., the second center coordinate information within the other side view of the image block) can be determined based on the ending coordinate information and radius information. The center point (third center coordinate information) can be determined using these two center coordinate information. For stitching reset, the image block needs to be labeled according to its corresponding position. Using the horizontal plane as a reference, the endpoint coordinate information relative to the horizontal plane is determined based on the third center coordinate information and the corresponding radius information. This can be understood as increasing or decreasing the radius information on the Z-axis based on the third center coordinate information to obtain the endpoint coordinate information. Then, the branch stitching direction of the current image block is determined based on the three coordinate information, and its branch stitching state is determined based on the branch stitching direction.
[0096] As one embodiment, determining the branch splicing direction of the current image patch based on the relationship between the first center coordinate information, the second center coordinate information, and the endpoint coordinate information includes:
[0097] Sort the first center coordinate information, the second center coordinate information, and the endpoint coordinate information in the spatial coordinate system;
[0098] The branch splicing direction of the current image block is determined based on the sorted coordinate information.
[0099] Understandably, sorting based on three types of coordinate information yields eight possible sorting results. These eight results determine whether the branch splicing direction extends downwards or upwards relative to the horizontal plane. For example, 'a' represents the first center coordinate information, 'b' represents the second center coordinate information, and 'c' represents the endpoint coordinate information. If 'a' > 'b' > 'c', the splicing direction is upwards; if 'a' > 'c' > 'b', the splicing direction is downwards.
[0100] It should be noted that this embodiment only uses three types of coordinate information to determine the splicing state. Other parameters such as branch angle can be added as another way to determine the splicing state, which is not limited here.
[0101] The method provided in this embodiment for obtaining the splicing status facilitates subsequent splicing and resetting, and the corresponding position can be found quickly based on the coordinate information.
[0102] Based on the above embodiments, a growth model of the rosewood tree is obtained by splicing and simulating the branch splicing status and coordinate information of each image block, including:
[0103] The position marking information of each image block is determined based on the branch splicing status and coordinate information of each image block;
[0104] The growth model of the rosewood tree is obtained by stitching together each image block using an L-system based on the location marker information.
[0105] It is understandable that the branch splicing status and coordinate information (first center coordinate information, second center coordinate information and endpoint coordinate information) of each image block determine its position marking information, and the L-system splicing simulation is performed on each image block based on the position marking information.
[0106] Since each image block is determined through the above embodiments, simultaneous simulation splicing can be performed, avoiding the existing cascading effect. This avoids the problem of large deviations caused by splicing another segment when one segment has a deviation. In this invention, even if one segment has a deviation, the next segment is generated based on its own coordinate information, thus avoiding large deviations during the splicing process. As a result, the growth model obtained has smaller deviations, providing greater reference value for the growth of rosewood.
[0107] The foregoing has described in detail various embodiments corresponding to the growth reference method for rosewood trees. Based on this, the present invention also discloses a growth reference device for rosewood trees corresponding to the above method. Figure 2 This is a structural diagram of a reference device for the growth of a rosewood tree, provided as an embodiment of the present invention. Figure 2 As shown, the reference device for the growth of the rosewood tree includes:
[0108] The first determining module 11 is used to collect static measurement data of the rosewood tree and perform morphological and structural statistical analysis based on the static measurement data to determine the branch reduction coefficient.
[0109] The second determining module 12 is used to determine the coordinate information of each node of the branch based on the branch reduction coefficient;
[0110] The third determining module 13 is used to determine the image blocks of each section based on the coordinate information of each section to obtain the branch splicing status;
[0111] The simulation module 14 is used to perform splicing simulation based on the splicing status and coordinate information of each image block to obtain the growth model of the rosewood tree, so as to provide a reference for the growth of the rosewood tree.
[0112] Since the embodiments of the device part correspond to the embodiments described above, please refer to the embodiments described in the method part for the embodiments of the device part, and will not be repeated here.
[0113] For an introduction to the growth reference device for rosewood trees provided by the present invention, please refer to the above method embodiments. The present invention will not be described in detail here, but it has the same beneficial effects as the above-described growth reference method for rosewood trees.
[0114] Figure 3 A structural diagram of another reference device for the growth of a rosewood tree provided in an embodiment of the present invention is shown below. Figure 3 As shown, the device includes:
[0115] Memory 21 is used to store computer programs;
[0116] Processor 22 is used to implement the steps of a reference method for the growth of rosewood trees when executing a computer program.
[0117] The reference device for the growth of rosewood trees provided in this embodiment may include, but is not limited to, smartphones, tablets, laptops, or desktop computers.
[0118] The processor 22 may include one or more processing cores, such as a quad-core processor or an octa-core processor. The processor 22 may be implemented using at least one of the following hardware forms: Digital Signal Processor (DSP), Field-Programmable Gate Array (FPGA), or Programmable Logic Array (PLA). The processor 22 may also include a main processor and a coprocessor. The main processor, also known as the Central Processing Unit (CPU), is used to process data in the wake-up state; the coprocessor is a low-power processor used to process data in the standby state. In some embodiments, the processor 22 may integrate a Graphics Processing Unit (GPU), which is responsible for rendering and drawing the content to be displayed on the screen. In some embodiments, the processor 22 may also include an Artificial Intelligence (AI) processor, which handles computational operations related to machine learning.
[0119] The memory 21 may include one or more computer-readable storage media, which may be non-transitory. The memory 21 may also include high-speed random access memory and non-volatile memory, such as one or more disk storage devices or flash memory devices. In this embodiment, the memory 21 is used to store at least the following computer program 211, which, after being loaded and executed by the processor 22, is capable of implementing the relevant steps of the rosewood tree growth reference method disclosed in any of the foregoing embodiments. In addition, the resources stored in the memory 21 may also include an operating system 212 and data 213, etc., and the storage method may be temporary storage or permanent storage. The operating system 212 may include Windows, Unix, Linux, etc. The data 213 may include, but is not limited to, the data involved in the rosewood tree growth reference method, etc.
[0120] In some embodiments, the growth reference device for rosewood trees may further include a display screen 23, an input / output interface 24, a communication interface 25, a power supply 26, and a communication bus 27.
[0121] Those skilled in the field can understand, Figure 3 The structure shown does not constitute a limitation on the growth reference device for rosewood trees and may include more or fewer components than shown.
[0122] The processor 22 implements the reference method for the growth of rosewood trees provided in any of the above embodiments by calling instructions stored in the memory 21.
[0123] For an introduction to the growth reference device for rosewood trees provided by the present invention, please refer to the above method embodiments. The present invention will not be described in detail here, but it has the same beneficial effects as the above-described growth reference method for rosewood trees.
[0124] Furthermore, the present invention also provides a computer-readable storage medium storing a computer program, which, when executed by processor 22, implements the steps of the above-described reference method for the growth of rosewood trees.
[0125] It is understood that if the methods in the above embodiments are implemented as software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and executes all or part of the steps of the methods described in the various embodiments of the present invention. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.
[0126] For an introduction to the computer-readable storage medium provided by the present invention, please refer to the above method embodiments. The present invention will not be described in detail here, but it has the same beneficial effects as the above-mentioned reference method for the growth of rosewood trees.
[0127] The above provides a detailed description of the growth reference method, device, and medium for rosewood trees provided by this invention. The various embodiments in the specification are described in a progressive manner, with each embodiment focusing on its differences from other embodiments. Similar or identical parts between embodiments can be referred to interchangeably. For the devices disclosed in the embodiments, since they correspond to the methods disclosed in the embodiments, the descriptions are relatively simple, and relevant parts can be referred to the method section. It should be noted that those skilled in the art can make various improvements and modifications to this invention without departing from the principles of the invention, and these improvements and modifications also fall within the protection scope of the claims of this invention.
[0128] It should also be noted that, in this specification, relational terms such as "first" and "second" are used only to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Furthermore, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes said element.
Claims
1. A method for referencing the growth of a rosewood tree, characterized in that, include: Static measurement data of rosewood trees were collected, and morphological and structural statistical analysis was performed based on the static measurement data to determine the branch reduction coefficient. Specifically, this includes: determining the morphological structure and natural growth rate of the rosewood tree based on the static measurement data; determining the growth curve of the rosewood tree based on the natural growth rate and the L-growth curve; and analyzing the growth curve and the morphological structure to obtain the branch reduction coefficient; wherein the branch reduction coefficient includes at least the main branch height, main branch diameter, branching angle, branch diameter, number of branch nodes, internode length, and internode diameter of the rosewood tree. The coordinate information of each node of the branch is determined according to the branch reduction coefficient; specifically, this includes determining the starting coordinate information, ending coordinate information, and radius information of each node according to the number of branch nodes, the internode length, and the internode diameter based on the branch reduction coefficient. The coordinate information of each segment is used to determine the image block of each segment to obtain the branch splicing state; The growth model of the rosewood tree is obtained by splicing and simulating the splicing state and coordinate information of each image block to provide a reference for the growth of the rosewood tree; Correspondingly, determining the image block of each segment based on the coordinate information of each segment includes: The current image block corresponding to the current section is determined based on the starting coordinate information, the ending coordinate information, and the radius information of the current section; Correspondingly, obtaining the branch splicing status includes: The first center coordinate information of the image plane to which the starting coordinate information of the current image block belongs is determined based on the starting coordinate information and the corresponding radius information; The second center coordinate information of the image plane to which the termination coordinate information of the current image block belongs is determined based on the termination coordinate information and the corresponding radius information; The third center coordinate information is determined based on the line connecting the first center coordinate information and the second center coordinate information; Using the horizontal plane as a reference, the endpoint coordinates relative to the horizontal plane are determined based on the third center coordinate information and the corresponding radius information; The branch splicing direction of the current image block is determined based on the relationship between the first center coordinate information, the second center coordinate information, and the endpoint coordinate information; The corresponding branch splicing state is determined based on the branch splicing direction.
2. The growth reference method for rosewood trees according to claim 1, characterized in that, The step of determining the image block of each segment based on the coordinate information of each segment further includes: Obtain the adjustment parameters and / or growth parameters under illumination conditions of the current section; use the current image block as the initial image block; adjust the initial image block using the adjustment parameters and / or the growth parameters to obtain the final image block.
3. The growth reference method for rosewood trees according to claim 2, characterized in that, The static measurement data of the rosewood tree includes at least: geographical location information, tree age, planting density, diameter at breast height (DBH), and branch diameter.
4. The growth reference method for rosewood trees according to claim 3, characterized in that, The process of simulating the growth model of the rosewood tree by splicing together the branches and the coordinate information of each image block includes: The position marking information of each image block is determined based on the branch splicing state and the coordinate information of each image block; The growth model of the rosewood tree is obtained by stitching together each image block using the location marker information using an L-system.
5. The growth reference method for rosewood trees according to claim 1, characterized in that, Determining the branch splicing direction of the current image block based on the relationship between the first center coordinate information, the second center coordinate information, and the endpoint coordinate information includes: Sort the first center coordinate information, the second center coordinate information, and the endpoint coordinate information in a spatial coordinate system; The branch splicing direction of the current image block is determined based on the sorted coordinate information.
6. A growth reference device for rosewood trees, characterized in that, include: The first determining module is used to collect static measurement data of the rosewood tree and perform morphological and structural statistical analysis based on the static measurement data to determine the branch reduction coefficient. Specifically, this includes: determining the morphological structure and natural growth rate of the rosewood tree based on the static measurement data; determining the growth curve of the rosewood tree based on the natural growth rate and the L-growth curve; and analyzing the growth curve and the morphological structure to obtain the branch reduction coefficient; wherein the branch reduction coefficient includes at least the main branch height, main branch diameter, branching angle, branch diameter, number of branch nodes, internode length, and internode diameter of the rosewood tree. The second determining module is used to determine the coordinate information of each node of the branch based on the branch reduction coefficient; specifically, it includes determining the starting coordinate information, ending coordinate information, and radius information corresponding to each node based on the number of branch nodes, the internode length, and the internode diameter of the branch reduction coefficient. The third determining module is used to determine the image block of each section based on the coordinate information of each section to obtain the branch splicing state; The simulation module is used to perform splicing simulation based on the splicing state of the branches and the coordinate information of each image block to obtain the growth model of the rosewood tree so as to provide a reference for the growth of the rosewood tree; Correspondingly, determining the image block of each segment based on the coordinate information of each segment includes: The current image block corresponding to the current section is determined based on the starting coordinate information, the ending coordinate information, and the radius information of the current section; Correspondingly, obtaining the branch splicing status includes: The first center coordinate information of the image plane to which the starting coordinate information of the current image block belongs is determined based on the starting coordinate information and the corresponding radius information; The second center coordinate information of the image plane to which the termination coordinate information of the current image block belongs is determined based on the termination coordinate information and the corresponding radius information; The third center coordinate information is determined based on the line connecting the first center coordinate information and the second center coordinate information; Using the horizontal plane as a reference, the endpoint coordinates relative to the horizontal plane are determined based on the third center coordinate information and the corresponding radius information; The branch splicing direction of the current image block is determined based on the relationship between the first center coordinate information, the second center coordinate information, and the endpoint coordinate information; The corresponding branch splicing state is determined based on the branch splicing direction.
7. A growth reference device for rosewood trees, characterized in that, include: Memory, used to store computer programs; A processor, configured to execute the computer program to implement the steps of the reference method for the growth of rosewood trees as described in any one of claims 1 to 5.
8. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program that, when executed by a processor, implements the steps of the reference method for the growth of rosewood trees as described in any one of claims 1 to 5.
Citation Information
Patent Citations
Image-based method for reconstructing three-dimensional models of fruit tree limbs
CN101706968A
Visual simulation method for virtual growth of jujube trees
CN104504752A