Rank: 25 based on 817 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
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 79 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 38 3
  • 5.0
5.0 | 1 rating
27 Nov 2012 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 281 62
  • 4.75
4.8 | 21 ratings
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 85 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 15 0
Comments and Ratings by David View all
Updated File Comments Rating
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.

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

Hi Kim,
well, actually I do not remember where does the factor 2 comes from... I suppose I have adjusted manually such that the size of the resulting ellipsoid better fit the original image.

Comments and Ratings on David's Files View all
Updated File Comment by Comments Rating
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.

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

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

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

Dear David

Could you let me know if your library can be used i order to slice a 3d stl file with arbitrary planes?

The aim is to calculate the area bounded by the stl file in each slice.

With best regards

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
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 79 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 38 3
  • 5.0
5.0 | 1 rating
27 Nov 2012 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 281 62
  • 4.75
4.8 | 21 ratings
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 85 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 15 0

Contact us