pgmtexture(1)

pgmtexture1

Calculate textural features on a pgm image

Usage

pgmtexture

[-d d]

[pgmfile]

Overview

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, and I. Dinstein. 1973. Textural features for image classification. IEEE Transactions on Systems, Man, and Cybertinetics, SMC-3(6):610-621.

Options

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

-d distance

The distance. Default is 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.

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

Releases

16 releases since Debian 2.0 (Hamm); the text changed 2 times.

  1. 2.0–11
  2. 12–13
  3. Arch

-d since Debian 12 (Bookworm).

Author

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

From netpbm 10.86.51-2 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.