-
Notifications
You must be signed in to change notification settings - Fork 13
Insert plot level height histogram into Clowder geostreams; height into BETYdb #210
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
For this extractor, I would suggest that we write the summary stats (histogram) into the metadata and insert a few statistics into BETYdb. For example, we have inserted a trait called '95th quantile height'. But the key trait from the point cloud is the height estimate calibrated to field measurements. This trait will have the same name as the trait that Maria measured, i.e. 'canopy_height'. I think it would make sense for this extractor to use the calibrated model that Roman developed in #175. |
@rmgarnett what are the (slope, intercept) parameters from the model in #175? When estimating height at the plot level, can we also estimate uncertainty? |
[hand height] = 28.2cm + 0.661 * [89th height percentile] The RMSE/MAE gives a rough estimate of L2/L1 uncertainty. I will do a more thorough analysis in January now that all height distributions are extracted. |
@rmgarnett I suspect RMSE scales with height? From your plot it is hard to tell how the data are distributed b/c of overlapping points. But I gather strongly right-skewed. I wonder if log transforming x and y would be appropriae, if it would more evenly weight the smaller values. The small plants are important too! |
@dlebauer I am wondering if point cloud files might be fixed in those days, if not, what's your opinion of putting them into BETYdb. |
@solmazhajmohammadi could you please check into whether we can recover useful data from 10/13 to 11/04? @ZongyangLi we need to discuss with @rmgarnett about how to implement this extractor. |
@rmgarnett have you made any progress on adding uncertainty? |
I will pick this up again this week.
…On Wed, Jan 11, 2017 at 2:13 AM David LeBauer ***@***.***> wrote:
@rmgarnett <https://github.com/rmgarnett> have you made any progress on
adding uncertainty?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#210 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAjpCbAL13MIg5xXZ0OKTTsr-lbYxIahks5rQ9hBgaJpZM4LIBt3>
.
|
@ZongyangLi you can go ahead and insert the data that you have. We can create another issue for adding uncertainty to the height calculations (moving forward this should be done by default ... ) |
@dlebauer @ZongyangLi, for the data from 10/13 to 11/04, the png files have not been collected correctly, but we can get the height information from the scans that it is done at ~5m |
@smarshall-bmr can you please scan the checker boards to find the pointcloud origin? |
@solmazhajmohammadi, are you saying to estimate the plot level height base on the highest points in the remaining 3d data? That might be different from what we have done before, because we are using all point cloud data to create a height histogram and calculate quantiles data to make predictions. |
@ZongyangLi This could be an option, otherwise the data has been collected with a wrong setting, so we are not able to recover it. |
I have been reinvestigating the hand measurements using @ZongyangLi's most-recent data. The final model may differ from what's written above, but it will be the same form. I presume the extractor will be easy to modify if we wish to change the model slightly? |
Yes, we could store parameters as metadata and have the extractor pick them
up (eg if they change by crop, year, or location)
…On Fri, Jan 13, 2017 at 4:21 PM Roman Garnett ***@***.***> wrote:
I have been reinvestigating the hand measurements using @ZongyangLi
<https://github.com/ZongyangLi>'s most-recent data. The final model may
differ from what's written above, but it will be the same form. I presume
the extractor will be easy to modify if we wish to change the model
slightly?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#210 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAcX5xs8Q3cOxCiNSQpFMcN6MlWYskaiks5rR_jygaJpZM4LIBt3>
.
|
Perfect. |
@dlebauer |
|
|
|
@dlebauer I successfully create a new method called: 'Scanner 3d ply data to height', and error 3 goes away. Since the 1728 plots still not work, I used the 864 plots definition to finish the operation. One another error comes out: By the way, @solmazhajmohammadi gave us the origin in point cloud data last week, I am creating new height estimate data using the new metadata. Also, we are creating algorithm to use stereo top image to do the 3d reconstruction, and trying to use this stereo 3d model to recover the missing height data from 2016/10/11 to 2016/11/04, once we get the new available data, I will resend them to BETYdb. |
@ZongyangLi thanks,
In summary:
|
@dlebauer and @ZongyangLi The message should probably say "See error list" instead. The error list contains the key-value pair |
|
Currently this extractor generates two numpy files:
In #303 we mention pushing the max value to geostreams - this isn't implemented yet. Additionally we should convert the .npy files to an image or geotiff. |
@max-zilla I have just uploaded recent codes to https://github.com/terraref/extractors-3dscanner/tree/master/plant_height |
@ZongyangLi I ran a PLY file from feb through the plant_height extractor - I'm making a pull request to show @nickheyek that writes .tif instead of .npy and pushes some values to geostreams. The "highest" numpy array looks like this for sample file:
What exactly do these 16 numbers represent? I see the "hist" array is also length 16, but each of its members is itself an array:
If I were to summarize the "highest" numbers into geostreams, what would you recommend? Something like this is hard to interpret:
Can I select the maximum number of this array as a simple "tallest plant in this plot" number? |
With these numbers recorded, I would integrate all scanned result to create a full field highest and histogram file, using the according json file.
|
Would it make sense to use the same workflow as we are using with other image data, i.e.:
so that each result represents a single plot? |
i believe we've discussed stitching point clouds into plots - I will try to track down comments from @solmazhajmohammadi
convert point cloud origin to gantry coordinate system before merging, otherwise they will all be on the same spot. pdal transformation matrix |
@solmazhajmohammadi can you confirm that independent passes do not overlap each other. |
I think we can close this issue and open a new one with low priority that will deal with full field merge then split. |
Description
We have scripts to generate plot level height histogram on Roger. The next step is to create a pipeline for this extractor.
Completion Criteria
The text was updated successfully, but these errors were encountered: