Rank: 24 based on 796 downloads (last 30 days) and 13 files submitted
photo

David Legland

E-mail
Company/University
INRA, France

Personal Profile:

Research engineer in Image processing.

Interested in 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

Professional Interests:
image analysis, applied statistics, geometric computing, registration

 

Watch this Author's files

 

Files Posted by David View all
Updated   File Tags Downloads
(last 30 days)
Comments Rating
08 Jul 2013 Screenshot geom3d Library to handle 3D geometric primitives: create, intersect, display, and make basic computations Author: David Legland 3d, plane, geometric computing, geometry, polygon, polyhedron 291 64
  • 4.75
4.8 | 21 ratings
21 May 2013 Screenshot Region Adjacency Graph (RAG) Computes the graph of adjacent regions in a labeled image Author: David Legland rag, watershed, graph, image, adjacency, image analysis 61 5
  • 4.6
4.6 | 5 ratings
27 Mar 2013 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 40 3
  • 5.0
5.0 | 1 rating
12 Sep 2012 Screenshot 3D Slicer Slicer for exploring 3D images (grayscale, color or vectorial) through planar or 3D slices. Author: David Legland display, how to install the sl..., 3d viewer, slice, stack, image 83 13
  • 5.0
5.0 | 5 ratings
16 May 2012 Screenshot Image chamfer distances and geodesic diameter Propagates geodesic distances in binary images, and compute geodesic diameter Author: David Legland distance, chamfer, geodesic, image, image processing 10 0
Comments and Ratings by David View all
Updated File Comments Rating
01 Aug 2013 geom3d Library to handle 3D geometric primitives: create, intersect, display, and make basic computations Author: David Legland

Hi Benjamin,
you're not wrong, there was a mistake in the function surfToMesh...
I have submitted a fixed version, that should appear soon.
Regards,
David

10 Jun 2013 geom3d Library to handle 3D geometric primitives: create, intersect, display, and make basic computations Author: David Legland

Hi Khaled,
thanks for reporting problem. I will check behaviour for points given in spherical coords. The function works fine with points given as cartesian coordinates (assuming sphere is centered), so I hope this could help using the function.

Regards,
David

28 May 2013 geom3d Library to handle 3D geometric primitives: create, intersect, display, and make basic computations Author: David Legland

Hi Orestis,

You can check the function 'intersectPlaneMesh', that computes the 3D polygon resulting from the intersection of a polygonal mesh with a plane. The algorithm used is simple, so there can be numerical issues. Then you can compute the area with the function 'polygonArea3d'. By considering several planes, you should be able to do what you want.

There is no function in geom3d for reading STL files. So you should either write yout own, or find one.

regards,
David

30 Apr 2013 image ellipsoid 3D Inertia ellipsoid of a 3D grayscale image Author: David Legland

For Kim (small update to my previous comment):
actually the coefficient of 2 produces an ellipsoid that encloses most of the image voxels. This can be seen as an analogy to the computation of the interval containing 95% of the values of a random variable following gaussian distribution: the interval is given by +/-1.96 times the square root of the variance around the mean.

Regards,
David

18 Apr 2013 3D Slicer Slicer for exploring 3D images (grayscale, color or vectorial) through planar or 3D slices. Author: David Legland

Hi Niru C,
This contribution is devoted to the visualisation of 3D images. For your problem, I would suggest trying my other contributions geom3d (#24484) and geom2d (#7844), in particular functions intersectPlaneMesh, and polygonLength.

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

Hi Benjamin,
you're not wrong, there was a mistake in the function surfToMesh...
I have submitted a fixed version, that should appear soon.
Regards,
David

31 Jul 2013 geom3d Library to handle 3D geometric primitives: create, intersect, display, and make basic computations Author: David Legland Benjamin

Dear David,

I'm a bit of a novice user, so it's likely this is a flub on my part, but I figured it worthy of mention.

I've been attempting to use the cylinderMesh function, but with little success. I even tried the "Draw a rotated cylinder" example, but all I get is
Index exceeds matrix dimensions.

Error in surfToMesh (line 91)
z = z(1:n1, 1:n2);

Error in cylinderMesh (line 63)
[vertices faces] = surfToMesh(x, y, z);

I'm not entirely sure what is causing this, any ideas?

Benjamin

10 Jun 2013 3D Slicer Slicer for exploring 3D images (grayscale, color or vectorial) through planar or 3D slices. Author: David Legland Colleen

I was using this app on R2012b but recently upgraded to R2013a and now have difficulty running the Slicer app. I'm wondering if that's a result of the new version of Matlab or if I did not install it correctly. Any assistance on this issue would be much appreciated.
Thank you,
Colleen

10 Jun 2013 geom3d Library to handle 3D geometric primitives: create, intersect, display, and make basic computations Author: David Legland Legland, David

Hi Khaled,
thanks for reporting problem. I will check behaviour for points given in spherical coords. The function works fine with points given as cartesian coordinates (assuming sphere is centered), so I hope this could help using the function.

Regards,
David

04 Jun 2013 geom3d Library to handle 3D geometric primitives: create, intersect, display, and make basic computations Author: David Legland Khairy, Khaled

With all respect for this valuable submission. I do have some slight critique. I downloaded geom3d to "quickly" check against my code for the determination of the spherical angle, as the function "sphericalAngle" promised. I only called sphericalAngle exactly as indicated in its help. I ended up wasting two hours of quality time ploughing through various fixes. [1] calls to functions whose names have been changed. Sorry , but I just stopped keeping track(some have already been mentioned in these comments) and [2] createPlane, was called from within sphericalAngle apparently with the wrong dimensions. [3] intersectLinePlane complained about matrix dimension mismatch on line 71. Honestly, I consider perseverance one of my strenghts, but I gave up at this point, as I can't say how much more time this really simple operation would/should cost me should I continue with geom3d. Sorry, but a smooth program flow is really important, especially in extensive code submissions such as this one.

Top Tags Applied by David
image processing, display, image, 3d, computational geometry
Files Tagged by David View all
Updated   File Tags Downloads
(last 30 days)
Comments Rating
08 Jul 2013 Screenshot geom3d Library to handle 3D geometric primitives: create, intersect, display, and make basic computations Author: David Legland 3d, plane, geometric computing, geometry, polygon, polyhedron 291 64
  • 4.75
4.8 | 21 ratings
21 May 2013 Screenshot Region Adjacency Graph (RAG) Computes the graph of adjacent regions in a labeled image Author: David Legland rag, watershed, graph, image, adjacency, image analysis 61 5
  • 4.6
4.6 | 5 ratings
27 Mar 2013 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 40 3
  • 5.0
5.0 | 1 rating
12 Sep 2012 Screenshot 3D Slicer Slicer for exploring 3D images (grayscale, color or vectorial) through planar or 3D slices. Author: David Legland display, how to install the sl..., 3d viewer, slice, stack, image 83 13
  • 5.0
5.0 | 5 ratings
16 May 2012 Screenshot Image chamfer distances and geodesic diameter Propagates geodesic distances in binary images, and compute geodesic diameter Author: David Legland distance, chamfer, geodesic, image, image processing 10 0

Contact us