<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://www.slicer.org/w/index.php?action=history&amp;feed=atom&amp;title=Documentation%2F4.8%2FExtensions%2FModelToModelDistance</id>
	<title>Documentation/4.8/Extensions/ModelToModelDistance - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://www.slicer.org/w/index.php?action=history&amp;feed=atom&amp;title=Documentation%2F4.8%2FExtensions%2FModelToModelDistance"/>
	<link rel="alternate" type="text/html" href="https://www.slicer.org/w/index.php?title=Documentation/4.8/Extensions/ModelToModelDistance&amp;action=history"/>
	<updated>2026-04-04T07:54:07Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.33.0</generator>
	<entry>
		<id>https://www.slicer.org/w/index.php?title=Documentation/4.8/Extensions/ModelToModelDistance&amp;diff=55306&amp;oldid=prev</id>
		<title>UpdateBot: Nightly -&gt; 4.8</title>
		<link rel="alternate" type="text/html" href="https://www.slicer.org/w/index.php?title=Documentation/4.8/Extensions/ModelToModelDistance&amp;diff=55306&amp;oldid=prev"/>
		<updated>2017-10-18T07:02:46Z</updated>

		<summary type="html">&lt;p&gt;Nightly -&amp;gt; 4.8&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&amp;lt;noinclude&amp;gt;{{documentation/versioncheck}}&amp;lt;/noinclude&amp;gt;&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-header}}&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Introduction and Acknowledgements}}&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-start|{{documentation/modulename}}}}&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-row}}&lt;br /&gt;
Extension: [[Documentation/{{documentation/version}}/Extensions/ModelToModelDistance|ModelToModelDistance]]&amp;lt;br&amp;gt;&lt;br /&gt;
Acknowledgments:&lt;br /&gt;
This work was funded by National Institute of Dental and Craniofacial Research (NIDCR) and the National Institute of Biomedical Imaging and Bioengineering (NIBIB) through the grants R01 DE024450 and R01 DE005215&amp;lt;br&amp;gt;&lt;br /&gt;
Author: Francois Budin (UNC)&amp;lt;br&amp;gt;&lt;br /&gt;
Contributor1: Julietta Pera (UNC)&amp;lt;br&amp;gt;&lt;br /&gt;
Contributor2: Beatriz Paniagua (UNC)&amp;lt;br&amp;gt;&lt;br /&gt;
Contact: Francois Budin, &amp;lt;email&amp;gt;fbudin@unc.edu&amp;lt;/email&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
Website: https://www.nitrc.org/projects/meshmetric3d&amp;lt;br&amp;gt;&lt;br /&gt;
License: [http://www.apache.org/licenses/LICENSE-2.0.html Apache License, Version 2.0]&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-row}}&lt;br /&gt;
&amp;lt;gallery&amp;gt;&lt;br /&gt;
Image:UNC-NIRAL.png‎|NIRAL&lt;br /&gt;
Image:UNC-logo.png|UNC&lt;br /&gt;
Image:Logo-namic.jpg‎|NAMIC&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-end}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Module Description}}&lt;br /&gt;
&lt;br /&gt;
This extension contains one CLI module of the same name. It computes a point by point distance between two models loaded in Slicer or VTK volumes. It is based on [http://www.vtk.org/doc/nightly/html/classvtkDistancePolyDataFilter.html vtkDistancePolyDataFilter]. The distance can be signed or unsigned. Even though vtkDistancePolyDataFilter computes both the distance between points and the distance between cells, this module only saves the distance between points. The output volume has the same number of points as the first input volume. The distances are saved as in the model as a point data array under the name &amp;quot;Distance&amp;quot; which is added to the input point and cell arrays already in the first input file.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Use Cases}}&lt;br /&gt;
{|&lt;br /&gt;
|[[Image:Slicer4Extensions-ModelToModelDistanceOriginalShapes.png|thumb|340px|Input shapes overlaid]]&lt;br /&gt;
|[[Image:Slicer4Extensions-ModelToModelDistanceResults.png|thumb|340px|Distance computed]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Tutorials}}&lt;br /&gt;
More information can be found on http://www.nitrc.org/projects/meshmetric3d&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Panels and their use}}&lt;br /&gt;
===Quick Tour of Features and Use===&lt;br /&gt;
&lt;br /&gt;
A list panels in the interface, their features, what they mean, and how to use them.&lt;br /&gt;
{|&lt;br /&gt;
|&lt;br /&gt;
* &amp;lt;span style=&amp;quot;color:blue&amp;quot;&amp;gt;'''''Input/Ouput'''''&amp;lt;/span&amp;gt;: &lt;br /&gt;
** &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;'''VTK File 1'''&amp;lt;/span&amp;gt; [&amp;lt;span style=&amp;quot;color:orange&amp;quot;&amp;gt;----vtkfile1&amp;lt;/span&amp;gt;] : VTK File 1 (required)&lt;br /&gt;
&lt;br /&gt;
** &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;'''VTK File 2'''&amp;lt;/span&amp;gt; [&amp;lt;span style=&amp;quot;color:orange&amp;quot;&amp;gt;----vtkfile2&amp;lt;/span&amp;gt;] : VTK File 2 (required)&lt;br /&gt;
&lt;br /&gt;
** &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;'''VTK Output File'''&amp;lt;/span&amp;gt; [&amp;lt;span style=&amp;quot;color:orange&amp;quot;&amp;gt;----output&amp;lt;/span&amp;gt;] : VTK Output File (required)&lt;br /&gt;
&lt;br /&gt;
** &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;'''distanceType'''&amp;lt;/span&amp;gt; [&amp;lt;span style=&amp;quot;color:orange&amp;quot;&amp;gt;----distanceType&amp;lt;/span&amp;gt;] : Algorithm used to compute the distance between the 2 models (signed_closest_point/absolute_closest_point/corresponding_point_to_point).&lt;br /&gt;
*** signed_closest_point and absolute_closest_point are respectively the signed and absolute Hausdorff distance between the points of the 2 models.&lt;br /&gt;
*** corresponding_point_to_point requires the 2 models to have the same number of points. It assumes that in each model, point at a certain index correspond to each other. The distance is then computed between each corresponding point. The distances are computed the following way: Point2 - Point1. The output information is saved in a copy of VTKFile1. This methods adds 6 data fields to the vtk file: PointToPointVector, SignedPointToPointDistance, AbsolutePointToPointDistance, MagNormVector, SignedMagNormDirDistance, AbsoluteMagNormDirDistance. PointToPoint distances are the different distances between the models (vector, signed distance and absolute distance). MagNorm distances are computed on the projection of the distance version on the normal at that location. MagNormVector is the normal version multiplied by the dot product of the normal vector and the distance vector. SignedMagNormDirDistance is the dot product between the 2 vectors and AbsoluteMagNormDirDistance its absolute value.&lt;br /&gt;
|[[Image:SlicerExtension-ModelToModelDistanceMenu.png|thumb|280px|Module UI]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Similar Modules}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|References}}&lt;br /&gt;
* Cory Quammen, Chris Weigle C., Russ Taylor, &amp;quot;Boolean Operations on Surfaces in VTK Without External Libraries&amp;quot;, http://hdl.handle.net/10380/3262&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Information for Developers}}&lt;br /&gt;
The source code is available on [https://github.com/NIRALUser/3DMetricTools github]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-footer}}&lt;br /&gt;
[[Category:Documentation/{{documentation/version}}/Modules/ShapeAnalysis]]&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;/div&gt;</summary>
		<author><name>UpdateBot</name></author>
		
	</entry>
</feed>