This article explains how PIX4Dmapper estimates the error of a volume calculation.
PIX4Dmapper estimates the error of a volume calculation. To calculate the error of a volume, the error for each cell of the volume has to be computed first.
|Figure 1. Volume of one cell|
The altitude (Z) of a 3D point is computed with an accuracy of 1 to 3 times the ground sample distance (GSD). The average error for the height of each 3D point is 1.5 times the GSD. Since each cell of the volume base has a width and a length equal to the GSD, the error in the X and Y directions is estimated to be 0.
The error for one cell of the volume is given by:
error in X direction (length) = 0 cm.
error in Y direction (width) = 0 cm.
error in Z direction (height) = 1.5*GSD.
The volume error for each cell is given by:
Ei = Li * Wi * Zei = GSD * GSD * 1.5*GSD = 1.5 * GSD3
Ei = the volume error of one cell.
Li = the length of the cell.
Wi = the width of the cell.
Zei = the error in the Z direction of the cell.
|Figure 2. Volume error of a cell.|
Once the volume error for each cell is calculated, the error of the Cut, Fill and Total volume are computed by summing the error of each cell.
Cut Volume error = EC1 + EC2 +...ECN
EC1...N = Cut volume error for cell i..N. If the cell has Fill volume, then the Cut Volume error EC is 0.
Fill Volume error = EF1 + EF2 +...EFN
EF1...N = Fill volume error for cell i...N. If the cell has Cut volume, then the Fill Volume EF error is 0.
Total Volume error = Cut Volume error + Fill Volume error
The degree of error within the volume calculations depends on the spatial resolution of the GSD:
- It determines the accuracy with which each point's coordinates have been computed and therefore determines the volume error.
- If the GSD is high (large value), volume calculations should not be applied.
- Lower volume accuracy should be expected for objects where few 3D points have been computed. The error estimation of PIX4Dmapper does not take this into account. One way to increase the accuracy of the object's volume is to increase the overlap.
- If the volume error is higher or lower than 1.5*GSD then the formula to calculate the volume error of each cell has to be adjusted.
Article feedback (for troubleshooting, post here instead)
I am having some issues while trying to calculate the volume, all 4 files (.obj, .mtl, .xyz, .jpeg) have been uploaded.
It's a manual project (no gps). All scale and axis are perfect. it just don't calculate the volume, maybe there is one step missing, I did few other manual project in the past and I was able to ajust the custom level and calculate the volume but now I am unable to do it. Thank you for your help !
The project Coordinate System is set to arbitrary, which is one of the conditions that prevent volume calculations. More information in: How to calculate volumes on the Cloud.
In the past, you defined a projected coordinate system which is accepted from the Cloud to calculate volumes.
So it appear that the volume is now working, but with a big error factor as it takes the roof of the building in the volume. Is there a way to avoid that ?
The volume is computed on the DSM, which in that area refers to the roof of the structure.
The only way to get the volume estimation you want is to open the project locally, remove the points of the roof from the point cloud (assign them to the disabled group), then regenerate the DSM. At this point, you can replace the DSM for the new one.
However, you might still have the volume from the points belonging to the wall and there are not so many points belonging to the ground. You could try to use the option 1/4 (Quarter image size, Fast) for the point cloud densification to produce a higher number of points in case of homogeneous areas.
I wanted to thank you very much, it might be the most helpful answer I have got since my debut on pix4d. I was always choosing the 1 scale and it was deleting so many points, it was counter intuitive for me to check the 1/4, but it really changed everything, so much that I will redo all of my former project with this option checked.
And then it worked for the editing with the point cloud, it's all cleaned now. At first the volume still not worked but one thing to do apparently is to uncheck the 3D texture mesh, So am I right to say that the 3D texture mesh is really only there for the look? But for any measuring matter it has to be turned off ?
here is the improovement, thank you !!
Great improvements! I am happy to hear my suggestions were helpful!
I understand your point. You might think that reducing the image scale leads to fewer points and less accuracy, but it's not always the case. If you want to know more about how to adjust the processing options according to your dataset, I really recommend having a look at:
I am not sure I understand what you mean with your last sentence. You should be able to calculate volumes also on the 3D Mesh and with that layer turned on. You correctly uploaded the offset file together with the mesh files so that the file is georeferenced and you can calculate volumes on it.
Actually I discovered that I was wrong, It's just that it takes some time to the cloud to be ready to start calculating volumes after the uploads are done and even after that it indicate that the project is processed, there is a 2-3 min. delay so I was too quick on trying to do the volume calculation. Thank you for the links !