NAME

     Find_irregular - determines the irregularity  of  a  labeled
     binary object

SYNOPSIS

      #include <CVIPimage.h>
      #include <CVIPmatrix.h>
      #include <CVIPfeatures.h>
      #include <CVIPdef.h>

     float Find_irregular(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

     Irregularity is a measure of the regularity  of  an  object.
     Once  the  perimeter(P)  and  the  area(A)  of an object are
     known, the irregularity(I) is found:
                           I = (P^2/4*pi*A)
     Irregularity is the inverse of thinness.

     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_thinness

AUTHOR

     Copyright (C) 1996 SIUE - by Scott Umbaugh and Kun Luo.