evaluate-distortion

Synopsis

evaluate-distortion <original> <input> [<output>] [options]

Description

Computes the distortion of a surface mesh under deformation, when mapped to the surface of another solid with equivalent topology, or flattened to the plane or sphere, respectively.

The distortion measures are stored as point/cell data of the output dataset. If no output file name is given, the mean and standard deviation are reported even when the verbose option -v is not given.

Arguments

original

File name of original dataset.

input

File name of deformed/mapped dataset.

output

File name of output dataset.

Command options

-angular

Quantify angular distortion by computing the average ratio of normalized angles at each vertex before and after the mapping. This ratio is 1 when the angles of the original mesh are preserved in the input mesh.

-areal

Compute areal distortion of cells: log_2(area(deformed)/area(original)).

-abs-areal

Compute absolute value of -areal distortion.

Standard options

-v, -verbose [n]

Increase/Set verbosity of output messages. (default: 0)

-debug [level]

Increase/Set debug level for output of intermediate results. (default: 0)

-version [major.minor]

Print version and exit or set version to emulate.

-revision

Print revision (or version) number only and exit.

-h, -help

Print help and exit.