Main Page Modules File List
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 <4|8|h|m|M|g|G|a> out.pgm
Description: Converts a 2D image into a 2D Khalimsky order, or conversely.
Modes 4, 8 and h are for binary images.
Modes m, M, g, G and a are for grayscale images.
Mode =
- 4 : emulates 4-connectivity, idem "miss",
- 8 : emulates 8-connectivity ("hit" transform followed by a kernel transform),
- h : "hit",
- m : min,
- M : max,
- g : gradient 2,
- G : gradient 4,
- a : average,
- R : reverse.
In reverse mode, only the beta-terminal elements (squares) are selected.
Types supported: byte 2d
Category: orders
- Author:
-
Michel Couprie
Generated on Fri Dec 17 11:59:36 2004 for Pink by
1.2.18