NAME
Find_thinness - determines the thinness ratio of a labeled
binary object
SYNOPSIS
#include <CVIPimage.h>
#include <CVIPmatrix.h>
#include <CVIPfeatures.h>
#include <CVIPdef.h>
float Find_thinness(Image *inputImage, int gray_level)
<inputImage> - a pointer to an Image structure
<gray_level> - the gray value of the labeled object
PATH
$CVIPHOME/FEATURE/thiness.c
DESCRIPTION
Thinness is a measure of the roundness of an object. Once
the perimeter(P) and the area(A) of an object are known, the
thinness(T) is found:
T = 4*pi(A/P^2)
A circle has a thinness ratio of 1.
This function requires a labeled binary object.
TYPES AND CONSTANTS
None
RETURN VALUES
Returns a float value.
HISTORY
History information recorded: None
BUGS
None at this time
SEE ALSO
Find_irregular
AUTHOR
Copyright (C) 1996 SIUE - by Scott Umbaugh and Kun Luo.