tutorials:using-point-cloud-to-validate-model
                Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| tutorials:using-point-cloud-to-validate-model [2024/10/29 18:28] – tim | tutorials:using-point-cloud-to-validate-model [2024/11/06 15:42] (current) – [Steps] tim | ||
|---|---|---|---|
| Line 4: | Line 4: | ||
| ===== Idea ===== | ===== Idea ===== | ||
| - | The idea is to use a point cloud of a measured tree and "move it over" | + | The idea is to take a point cloud of a measured tree and 'move it over' it on the simulated | 
| + | |{{ : | ||
| + | |Generated example point cloud and two models with 99% and 85% accuracy| | ||
| + | |||
| + | The example model can be found in the [[https:// | ||
| + | ===== Steps ===== | ||
| + | |||
| + | - Import the point cloud as a graph into the growth model. (see [[tutorials: | ||
| + | - Grow the model to the right size (e.g. the age of the measured plant) | ||
| + | - Build the mathematical volume of the simulated plant | ||
| + | - Querying the points of the point cloud to estimate the coverage of the model | ||
| ===== Generating a volume ===== | ===== Generating a volume ===== | ||
| - | A volumes | + | A volume | 
| <code java> | <code java> | ||
| Volume v = volume(first((*F*))); | Volume v = volume(first((*F*))); | ||
| Line 19: | Line 29: | ||
| ===== Counting the points ===== | ===== Counting the points ===== | ||
| - | A volume in GroIMP comes with contains function, that checks if a point is included | + | A volume in GroIMP comes with a contains function that checks if a point is contained | 
| - | This can be used in a XL query to count all point included | + | This can be used in an XL query to count all points contained | 
| <code java> | <code java> | ||
| long inside = count((*p: | long inside = count((*p: | ||
| Line 27: | Line 37: | ||
| </ | </ | ||
| - | Therefore the output from the last line above creates | + | The output from the last line above produces | 
| - | This approach can easily be extended to be used with bounding boxes or more abstract shapes. | + | This approach can easily be extended to bounding boxes or more abstract shapes. | 
tutorials/using-point-cloud-to-validate-model.1730222899.txt.gz · Last modified: 2024/10/29 18:28 by tim
                
                