Added the triangulate file. No code.
Implemented triangulation, tested it in 2D.
Fixed indents.
Fixed comments.
Added a code that gets coordinates of a 3D object in 2D.
Fixed so that the image is first projected on the xy plane instead of the xz plane.
Started implementing sample point cloud function (for ellipsoid fitting).
Implemented mock spheroid cloud.
Implemented so that the point cloud of a single pepper can be turned into a pepper object.
Spheroid fit and demo code.
Function spheroid for plotting a pepper/spheroid point cloud.
Added extractCentroids
Merge branch 'measurePeppers3DFrom2DEllipses' of https://github.com/niclasborlin/pick2014 into measurePeppers3DFrom2DEllipses
Added functionality to align coordinate systems.
Cleaned away junk code.
Added comments.
Fixed bugs with pepperCloud2Pepper. The axes where all messed up! It turns out ellipsoid_fit minimizes arithmetic distance.
Handle on the plot pepper function.
Fixed inconsistent name bug, by letting plotPeppers take a cell array instead of a gtData struct. Also updated comments to correspond with the previous commit.