Code covered by the BSD License  

Highlights from
Feret diameter and oriented box

5.0

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

Feret diameter and oriented box

by

 

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 (R2009b)
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 (1)
01 Dec 2011 ben payne

Works as desired! Good documentation too.

Contact us