Pink 0.9

2dkhalimskize.c File Reference

converts a 2D image into a 2D Khalimsky order More...


Detailed Description

converts a 2D image into a 2D Khalimsky order

Usage: 2dkhalimskize in.pgm {0|4|8|h|m|M|g|G|a} out.pgm

Description: Converts a 2D image into a 2D Khalimsky order, or conversely.

Modes 0, 4, 8 and h are for binary images.

Modes m, M, g, G and a are for grayscale images.

Mode =

In reverse mode (R), only the beta-terminal elements (squares) are selected.

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

Category: orders

Author:
Michel Couprie