Code covered by the BSD License  

Highlights from
Feret diameter and oriented box

5.0 | 5 ratings Rate this file 26 Downloads (last 30 days) File Size: 399 KB File ID: #30402
image thumbnail

Feret diameter and oriented box


David Legland (view profile)


14 Feb 2011 (Updated )

Compute Feret diameters and oriented bounding box from label image

| Watch this File

File Information

Two functions for working with the Feret diameter of labelized particles in images.
The function imFeretDiameter computes the Feret diameter for each one of the specified directions. The maximal diameter can be obtained by computing the max of the result.

The function imOrientedBox computes Feret diameter for several directions, and keep the direction that produces the minimal-area enclosing rectangle. The function drawOrientedBox can be used for visualising result.

Both functions could easily be adapted to a set of points.

MATLAB release MATLAB 8.3 (R2014a)
Other requirements The demo requires the image processing toolbox
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (5)
27 Aug 2014 Jasper Vijverberg  
27 Aug 2014 Jasper Vijverberg  
11 Aug 2014 Abhik

Abhik (view profile)

16 Jul 2014 Sergio

Sergio (view profile)

01 Dec 2011 ben payne

Works as desired! Good documentation too.

02 Sep 2014

enhance precision, add psb to specify spatial calibration, and to computes diameter or box only for specific labels

Contact us