---
name: "mia-2dsegcompare"
section: "1"
platform: "linux"
package: "mia-tools"
version: "2.4.7-11+b1"
release: "Debian 12 (Bookworm)"
platforms: ["linux"]
url: "https://new.carta.tech/mia-2dsegcompare"
---

# mia-2dsegcompare(1)

Evaluate the Hausdorff distance between segmentations.

## NAME

mia-2dsegcompare - Evaluate the Hausdorff distance between segmentations.

## SYNOPSIS

**mia-2dsegcompare -i \<in-file\> -r \<ref-file\> \[options\]**

## DESCRIPTION

**mia-2dsegcompare** This program is used to evaluate the Hausdorff distance between each frame of a perfusion time series of the input set to the corresponding frame of the reference set and prints the result to stdout.

## OPTIONS

- \-i --in-file=(required, input); string

  input segmentation set

- \-r --ref-file=(required, input); string

  reference  segmentation set

### Help & Info

- \-V --verbose=warning

  verbosity of output, print messages of given level and higher priorities. Supported priorities starting at lowest level are:

  *trace* ‐ Function call trace

  *debug* ‐ Debug output

  *info* ‐ Low level messages

  *message* ‐ Normal messages

  *warning* ‐ Warnings

  *fail* ‐ Report test failures

  *error* ‐ Report errors

  *fatal* ‐ Report only fatal errors

- \--copyright

  print copyright information

- \-h --help

  print this help

- \-? --usage

  print a short help

- \--version

  print the version number and exit

### Processing

- \--threads=-1

  Maxiumum number of threads to use for processing,This number should be lower or equal to the number of logical processor cores in the machine. (-1: automatic estimation).

## EXAMPLE

Evaluate the per-slice Hausdorff distance of input.set and reference.set.

mia-2dsegcompare -i input.set -r reference.set

## AUTHOR(s)

Gert Wollny

## COPYRIGHT

This software is Copyright (c) 1999‐2015 Leipzig, Germany and Madrid, Spain. It comes  with  ABSOLUTELY  NO WARRANTY  and  you  may redistribute it under the terms of the GNU  GENERAL PUBLIC LICENSE Version 3 (or later). For more  information run the program with the option '--copyright'.
