Pink 0.9

selndg.c File Reference

selects pixels with values between two thresholds More...


Detailed Description

selects pixels with values between two thresholds

Usage: selndg in.pgm inf sup out.ppm

Description: Selects pixels x such that inf <= F[x] <= sup. If the input image is of type byte, the output is a binary image. If the input image is of type long, the output is also a long image where all pixels whose values are not in the interval, are put to 0.

Types supported: byte 2d, byte 3d, long 2d, long 3d

Category: arith

Author:
Michel Couprie