# Calculating Volume of the Concave Section of a Point Cloud

Starting file type is .obj 3D file. This is a point cloud of x,y,z coordinates. The files lists the points as:

v x-coordinate y-coordinate z-coordinate

When I run the m file it should prompt me to choose the .obj file. This file will contain a point cloud of a concave surface.

*File Description:

The point cloud will be similar to flat land with ONE concave section in it. Imagine a flat yard and a hole dug into the ground. This is what the point cloud will look like. (**NOTE** Attached is a sample of the point cloud cropped out of the surrounding flat surface)

This hole will not model a perfect cylinder or a semicircle, it may have an odd shaped surrounding edge, and may have bumps in the base of the hole.

NOTE: There will always be only one hole.

*What Matlab Needs to do:

Matlab needs to fit a plane perpendicular to the hole on the outer edge of the hole, calculate the distance from each point to this plane, and sum the distances. Then Matlab needs to calculate the average distance between neighboring points, square this averaged distance to get area. Multiply this area by the summed distances, from the points to the fitted plane, to calculate the volume.

If the dense point cloud has an area where points seem to be missing like a cluster of point are not present this area should be interpolated and filled in with points if needed for the measurement.

After it should display the resulting volume calculation, and plot the 3D data that it used to calculate the volume -&gt; This is a check to be sure that what was calculated was what the user wanted calculated in a visual manner.

That's it! In a nut shell: Calculate volume, display the data that was used for the volume calculation.

I will send samples to help build the program.

Attached is an example of a .obj file that has a concave form with all other data edited away. But usually the concave section would have a flat plane surrounding it, but the file format (v x y z) will remain the same.

Here is what most of the files will look like, yet the cup in the middle will have different bumps in it changing the volume.

In the last file you can ignore the 'vt' lines. That just means textured coordinate but there are no of interest. Just take in the data that is in the form:

v x-coordinate y-coordinate z-coordinate

Final Edit:

Here are 3 files, all good examples of what I need calculated. I have been asked if user intervention is OK. Yes it is if it helps fit the plane. For example if you need the user to select a few points along the edge of the cup, that is not a problem, or if you ask the user to outline the cup that is fine too. If you don't need any of that even better.

If everyone could give me an update over PM and say you can still do the project after looking at these files that will help your chances getting selected!

http://dl.dropbox.com/u/12845925/OnlineVolume/VolCalc_Fill0.obj

http://dl.dropbox.com/u/12845925/OnlineVolume/VolCalc_Fill1.obj

http://dl.dropbox.com/u/12845925/OnlineVolume/VolCalc_Fill2.obj

Thanks!

( 0 reviews ) United States

Project ID: #1093267

## 12 freelancers are bidding on average \$199 for this job

Dutchmatlab

\$250 USD in 14 days
(17 Reviews)
3.9
AbhaBrajesh1956

Hello, I do MATLAB programming for my professional engineer husband, Your project is interesting, Abha

\$99 USD in 9 days
(2 Reviews)
3.5
magics

\$200 USD in 14 days
(4 Reviews)
3.0
vedenev

I am professional matlab programer: [login to view URL]

\$1100 USD in 10 days
(4 Reviews)
2.6
dobreiiita

\$100 USD in 2 days
(6 Reviews)
2.6
AVKalyakin

I will do this job for a week or less.

\$50 USD in 7 days
(1 Review)
1.0

I'm very interested in your job. I have 5 year experience in MATLAB, I did some programmers like this in MATLAB. Thanks alot.

\$30 USD in 5 days
(0 Reviews)
0.0

\$40 USD in 2 days
(0 Reviews)
0.0
ammarsaleem01

\$30 USD in 2 days
(1 Review)
0.0
prolancer7

I can do this job.

\$150 USD in 10 days
(0 Reviews)
0.0
Claudimar

I am electrical engineer from Brazil. I used to create Matlab programs and can do it.

\$40 USD in 5 days
(0 Reviews)
0.0
bit1024

I have worked on Voronoi diagrams using Matlab. Good knowledge of computational geometry.

\$300 USD in 14 days
(0 Reviews)
0.0