snibgo's ImageMagick pages

Nearest coastal point

From a given coordinate, we can find the nearest point in an arbitrary area.

If white pixels represent the sea and black pixels represent land, with an arbitrary boundary between them, and we have a point on the sea, we can find the nearest coastal point.

Scripts on this page assume that the version of ImageMagick in %IMDEV% has been built with various process modules. See Process modules.

Method: polar distortion