MedialDistance

For a given shape defined by a set of contours, MedialDistance computes and stores the distance from the vertices of a shape to a polygon passing through the centers of each of the contours.



Download

Select operating system *

Java - Version 1.0.0

By checking "I agree" and requesting to download software you agree that you will abide by our Software License.


Features

  • The program can write the results in either the UCF or Dx format.
  • The program can use either a Euclidean metric or the taxi-cab metric.
  • The program has multiple schemes for choosing the points from which the distance is computed: '-fromcenter', the medial distance of a vertex is measured to the center of the contour on which it lies, and '-frompoint', the medial distance of a vertex is measured from the closest point on the medial polygon.

Description

For a given shape defined by a set of contours, MedialDistance computes and stores the distance form the vertices of a shape to a polygon passing through the centers of each of the contours.

System Requirements

Java

  • Version: 1.0.0
  • Size: 1.18 Mb
  • OS: any
  • Processor: any
  • Memory: Data-dependent
  • Software: Java 1.5 (or higher) runtime environment

Installation

Compliation

Portable java executable make compilation unnecessary.

Installation InstructionsCopy java executable 'jar' file to local disk.

Purpose

For a shape that is defined by contours (Ucf only), the medial polygon is computed. This is defined as the polygon whose vertices are the centers of each contour. The distance from each point in the shape to this medial polygon is then computed and saved as an attribute of the shape.

There are several options for the algorithm. The user can specify different output formats, different metrics (how the distance is computed), and different distance measuring procedures (which points are used to compute the distance). The user can specify a name to be associated with the distance data attribute.