logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

pgmtexture - calculate textural features on a PGM image

Author

       Copyright (C) 1991 by Texas Agricultural Experiment Station, employer for hire of James Darrell McCauley.

Description

       This program is part of Netpbm(1).

       pgmtexture  reads  a  PGM  image  as  input  and calculates textural features based on spatial dependence
       matrices at 0, 45, 90, and 135 degrees for a distance d (default = 1).

       Textural features include:

       •      Angular Second Moment

       •      Contrast

       •      Correlation

       •      Variance

       •      Inverse Difference Moment

       •      Sum Average

       •      Sum Variance

       •      Sum Entropy

       •      Entropy

       •      Difference Variance

       •      Difference Entropy

       •      Information Measures of Correlation

       •      Maximal Correlation Coefficient

       Algorithm taken from: Haralick,R.M.,K.Shanmugam,andI.Dinstein.1973.Texturalfeaturesforimageclassification.IEEETransactionsonSystems,Man,andCybertinetics,SMC-3(6):610-621.

Document Source

       This  manual  page was generated by the Netpbm tool 'makeman' from HTML source.  The master documentation
       is at

              http://netpbm.sourceforge.net/doc/pgmtexture.html

netpbm documentation                             22 August 1991                        PgmtextureUserManual(1)

Limitations

       The method for finding the Maximal Correlation Coefficient, which requires  finding  the  second  largest
       eigenvalue of a matrix Q, does not always converge.

Name

       pgmtexture - calculate textural features on a PGM image

Options

       In  addition  to  the options common to all programs based on libnetpbm (most notably -quiet, see  Common
       Options ), pgmtexture recognizes the following command line option:

       -d distance
              The distance.  Default is 1.

See Also

pgm(1), pamsharpness(1), pamsharpmap(1), pgmedge(1), pgmminkowski(1)

Synopsis

pgmtexture

       [-dd]

       [pgmfile]

See Also