Code covered by the BSD License  

Highlights from
Feret diameter and oriented box

5.0

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

Feret diameter and oriented box

by

 

14 Feb 2011 (Updated )

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 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  
16 Jul 2014 Sergio  
01 Dec 2011 ben payne

Works as desired! Good documentation too.

Updates
02 Sep 2014

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

Contact us