Skip to content.
CCB > CCBSIGS > ShapeToolLibraryProgram > ShapeToolProgramProductStatusSummary > CompareContoursProjectDefintionV1x0
Public web page of CompareContours

CompareContours Project Definition ( v1x00 )

Overview

The CompareContours program will compare two sets of contours and measure their similarity.

Assumptions about data

  • Both sets of contours are registered into the same coordinate space.

Inputs

the program will read Loni UCF files and Minc Obj line files

Outputs

The program will output either
  • a single number for the entire contour set , measuring the similarity of one contour set to the other.
  • a list of simiarity values, one for each vertex, in the order of the input vertices. This will be written to
    • standard output
    • a user specified text file.

Issues to be decided

  • What to do if the nubmer of contors in the two sets differ. options are:
    • report this as an error and stop.
    • To be decided ...

metrics

  • per-vertex
    • for each vertex in one contour set, find the closest point in the other set, and report this (euclidean) distance.

  • entire contour set
    • report mean absolute distance.
    • report Hausdorf distance (the largest per-vertex value)

Version

1.0

Requirements

  • Java 1.5 is used to implement this program.

Products

This project will result in the following products:
  • A java application program
  • a pipelline wrapper (.pipe) file for the grid executables.
  • Twiki user web pages describing this program and it's proper usage.

Typical Usage

References

Changes

Version 1.1

  • accept dissimiliar file types if only vertices are compared