LinuxCommandLibrary

pgmkernel

generates convolution kernels as PGM images for use with pnmconvol

TLDR

Generate convolution kernel

$ pgmkernel [7] [7] > [kernel.pgm]
copy
Generate with weight
$ pgmkernel -weight [6.0] [5] [5] > [kernel.pgm]
copy

SYNOPSIS

pgmkernel [options] width height

DESCRIPTION

pgmkernel generates convolution kernels as PGM images for use with pnmconvol. Creates Gaussian-like weighting patterns. Part of Netpbm toolkit.

PARAMETERS

width

Kernel width.
height
Kernel height.
-weight n
Center pixel weight.

SEE ALSO

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community