Rank: 40 based on 1359 downloads (last 30 days) and 16 files submitted
photo

David Legland

E-mail
Company/University
INRA, France

Personal Profile:

Research engineer in computer sciences, more precisely image processing and applied statistics.

Interested in image analysis, geometrical modelling, image registration problems, estimation in discrete images, and polyhedral reconstruction.

web page:
http://www.pfl-cepia.inra.fr/ (in french)
See also:
http://matgeom.sourceforge.net
http://matimage.sourceforge.net


 

Watch this Author's files

 

Files Posted by David Legland View all
Updated   File Tags Downloads
(last 30 days)
Comments Rating
27 Oct 2014 Screenshot geom2d Geometry library for matlab. Performs geometric computations on points, lines, circles, polygons... Author: David Legland color, mathematics, computational geometr..., toolbox, geometry, display 354 59
  • 4.04762
4.0 | 24 ratings
13 Oct 2014 Screenshot geom3d Library to handle 3D geometric primitives: create, intersect, display, and make basic computations Author: David Legland potw, pick of the week, 3d, geometric computing, plane, toolbox 430 97
  • 4.85294
4.9 | 38 ratings
17 Sep 2014 Screenshot Geometric measures in 2D/3D images Measure of geometric parameters in 2D or 3D images (surface area, perimeter, Euler Number...) Author: David Legland image analysis, particle analysis, region properties, minkowski functionals, intrinsic volumes, geometric measures 104 9
  • 5.0
5.0 | 3 ratings
02 Sep 2014 Screenshot Feret diameter and oriented box Compute Feret diameters and oriented bounding box from label image Author: David Legland feret diameter, image processing, label image, particle analysis, oriented box 43 1
  • 5.0
5.0 | 5 ratings
25 Jun 2014 Screenshot Table class A class for handling data tables together with row and column labels Author: David Legland statistics, data table, data exploration, data import, oop 32 0
Comments and Ratings by David Legland View all
Updated File Comments Rating
21 Nov 2014 geom3d Library to handle 3D geometric primitives: create, intersect, display, and make basic computations Author: David Legland

Hi Matthew,
you can check the 'intersectLineMesh3d' function. It uses line representation in the form [x0 y0 z0 dx dy dz], where (x0,y0,z0) is the origin of the line and (dx,dy,dz) represents a direction vector of the line. Meshes are represented as vertices + faces, with vertices being Nv-by-3 array of vertex coordinates, and faces being either Nf-by-3, Nf-by-4 array of vertex indices, or cell arrays of vertex indices allowing more generic faces.

There is a function for reading meshes in OFF format ('readMesh_off'). Otherwise, you may want to check other contributions to import (and eventually convert) you files. See graph toolbox for example.

27 Oct 2014 geom2d Geometry library for matlab. Performs geometric computations on points, lines, circles, polygons... Author: David Legland

Hi Jasper,
thanks for pointing out the bug! I have released a new version that should fix it. Tell me if there are still problems.
David

13 Oct 2014 geom3d Library to handle 3D geometric primitives: create, intersect, display, and make basic computations Author: David Legland

@Abdulrahman,
sorry, I missed your comment... There is no direct function for testing if a point is inside a 3D circle. What you can do is 1) extract the plane containing the circle, 2) test if the point belong to the plane, and 3) if yes, compute coordinates of point in 2D plane, and test if the 2D point is within the 2D circle (you may need geom2d also).
hope this helps ?
regards

13 Oct 2014 geom3d Library to handle 3D geometric primitives: create, intersect, display, and make basic computations Author: David Legland

Hi Jin,
yes, there aer numerical precision issus with this function... I have submitted a new version, that is more tolerant for finding intersection at edges of faces. However sometimes too many intersections are obtained. You can remove them by using the 'mergeClosePoints' function from the geom2d toolbox.
regards,
David

10 Sep 2014 Geometric measures in 2D/3D images Measure of geometric parameters in 2D or 3D images (surface area, perimeter, Euler Number...) Author: David Legland

@Hamed:
It will be difficult for me to answer your question... I think you should ask your question in more appropriate location, such as Matlab Answers, StackOverflow.com, or similar forums.

Comments and Ratings on David Legland's Files View all
Updated File Comment by Comments Rating
22 Nov 2014 geom3d Library to handle 3D geometric primitives: create, intersect, display, and make basic computations Author: David Legland matteo

Hi David,

thank you so much for your work (the intersectLineSphere), I am working on my master thesis and you really saved me.

21 Nov 2014 geom3d Library to handle 3D geometric primitives: create, intersect, display, and make basic computations Author: David Legland David Legland

Hi Matthew,
you can check the 'intersectLineMesh3d' function. It uses line representation in the form [x0 y0 z0 dx dy dz], where (x0,y0,z0) is the origin of the line and (dx,dy,dz) represents a direction vector of the line. Meshes are represented as vertices + faces, with vertices being Nv-by-3 array of vertex coordinates, and faces being either Nf-by-3, Nf-by-4 array of vertex indices, or cell arrays of vertex indices allowing more generic faces.

There is a function for reading meshes in OFF format ('readMesh_off'). Otherwise, you may want to check other contributions to import (and eventually convert) you files. See graph toolbox for example.

19 Nov 2014 geom3d Library to handle 3D geometric primitives: create, intersect, display, and make basic computations Author: David Legland Matthew Brandsema

Hello, I just found this toolbox and I am wondering if you can tell me if what I want to do is possible with these functions.

I have a vector equation of a line in 3D space, and I want to determine the position that it intersects with a mesh.

The mesh will be a mesh created in an external modeling program. (I can obtain all the information about its vertex coordinates from opening up a .obj file and extracting the information. )

I also need to know the normal vector of the mesh at the point of intersection.

Can this be done???

01 Nov 2014 geom3d Library to handle 3D geometric primitives: create, intersect, display, and make basic computations Author: David Legland Fritz

27 Oct 2014 geom2d Geometry library for matlab. Performs geometric computations on points, lines, circles, polygons... Author: David Legland David Legland

Hi Jasper,
thanks for pointing out the bug! I have released a new version that should fix it. Tell me if there are still problems.
David

Contact us