LinuxCommandLibrary

ppmdist

Calculate color distance transform map

TLDR

Calculate distance transform

$ ppmdist [input.ppm] > [output.pgm]
copy

SYNOPSIS

ppmdist [options] [file]

DESCRIPTION

ppmdist calculates distance from each pixel to a target color, producing a grayscale distance map. Useful for edge detection and segmentation. Part of Netpbm toolkit.

PARAMETERS

-intensity

Use intensity-based distance.

SEE ALSO

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community