Pink 0.9

2dcollapse.c File Reference

ultimate constrained collapse guided by a priority image More...


Detailed Description

ultimate constrained collapse guided by a priority image

Usage: 2dcollapse in.pgm prio [inhibit] out.pgm

Description: Ultimate constrained collapse guided by a priority image. The lowest values of the priority image correspond to the highest priority.

The parameter prio is either an image (byte or int32_t), or a numerical code indicating that a distance map will be used as a priority image; the possible choices are:

If the parameter inhibit is given and is a binary image name, then the elements of this image will be left unchanged. If the parameter inhibit is given and is a number I, then the elements with priority greater than or equal to I will be left unchanged.

Warning:
The result makes sense only if the input image is a complex.

Types supported: byte 2d

Category: orders

Author:
Michel Couprie