Code covered by the BSD License  

Highlights from
Feret diameter and oriented box

5.0

5.0 | 1 rating Rate this file 20 Downloads (last 30 days) File Size: 211.88 KB File ID: #30402
image thumbnail

Feret diameter and oriented box

by David Legland

 

14 Feb 2011

Compute Feret diameters and oriented bounding box from label image

| Watch this File

File Information
Description

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 7.9 (2009b)
Other requirements The demo requires the image processing toolbox
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Comments and Ratings (1)
01 Dec 2011 ben payne

Works as desired! Good documentation too.

Please login to add a comment or rating.
Tag Activity for this File
Tag Applied By Date/Time
feret diameter David Legland 14 Feb 2011 10:00:56
label image David Legland 14 Feb 2011 10:00:57
image processing David Legland 14 Feb 2011 10:00:57
particle analysis David Legland 14 Feb 2011 10:00:57

Contact us at files@mathworks.com