PGMTEXTURE(1)

πŸ“¦
version 11.13.03 Β· 4 versions
, in debian bookworm, debian trixie, ubuntu noble, ubuntu resolute, ubuntu stonking

πŸ’– pgmtexture β€” Pgmtexture User Manual πŸ’–

okay bestie, welcome to the Pgmtexture User Manual (that's the <bold>General Commands Manual</bold> section of the Netpbm fam, iykyk) ✨


✨ NAME ✨

pgmtexture β€” calculate textural features on a PGM image πŸŽ€


🌸 SYNOPSIS 🌸

pgmtexture

[-d d]

[pgmfile]

πŸ¦‹ DESCRIPTION πŸ¦‹

so this lil icon 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). it's giving math but make it fashion, fr fr πŸ”₯

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. (yes bestie, we cite our sources, that's academic main character energy πŸ“šβœ¨)


πŸ’… 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.

that's it, that's the only one, and honestly? she doesn't need more. minimalism slay 🫢


😭 LIMITATIONS 😭

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

bestie this is the messy part β€” sometimes it just… doesn't converge. no cap. not a bug, just how it is. πŸ™ˆ

🌈 SEE ALSO 🌈

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

go read those too, they ate πŸ‘‘


πŸ‘‘ AUTHOR πŸ‘‘

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


🧚 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

and that's the whole vibe, bestie β€” netpbm documentation, 22 August 1991, Pgmtexture User Manual(1). periodt. πŸ’–βœ¨πŸŽ€

πŸ“¦ where this page comes from