Pink 0.9

autocrop.c File Reference

eliminates null regions at the periphery of an image More...


Detailed Description

eliminates null regions at the periphery of an image

Usage: autocrop in.pgm [threshold [out.pgm]]

Description: Selects the minimum rectangle (cuboid in 3d) that contain all values of the image in.pgm strictly above the threshold (default 0).

If out.pgm is not specified, then out.pgm = in.pgm.

Types supported: byte 2d, byte 3d

Category: geo

Author:
Michel Couprie