# Registration and contour comparison

**URL:** <https://discourse.slicer.org/t/registration-and-contour-comparison/13645>\
**Category:** Support\
**Tags:** registration, segmentation\
**Created:** [September 23, 2020, 6:14am UTC](https://discourse.slicer.org/t/registration-and-contour-comparison/13645 "2020-09-23T06:14:26Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![BORIPHAT](https://avatars.discourse-cdn.com/v4/letter/b/67e7ee/32.png) [@BORIPHAT](https://discourse.slicer.org/u/BORIPHAT)\
**Post date:** [September 23, 2020, 6:14am UTC](https://discourse.slicer.org/t/registration-and-contour-comparison/13645/1 "2020-09-23T06:14:26Z")

</div>

Hello,  
I would like to compare two data sets. The first CT data set is Reference data and the second data is deformed data. I would like to know “How much the second data deformed”?

1. How to registration between data set 1 and 2? Firstly, I try to open two Dicom files for comparing but it can open only one data set.
2. How to analyze the contour for the metrics (Dice Similarity Coefficient and Hausdorff distances). Firstly, I try to use the Segment Comparison module but It can choose only one data in two segments but I would like to compare two Dicom files.

Thank you very much

---

<div class="post-metadata">

**Author:** ![Andinet\_Enquobahrie](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/andinet_enquobahrie/32/75_2.png) [@Andinet\_Enquobahrie](https://discourse.slicer.org/u/Andinet_Enquobahrie)\
**Post date:** [September 23, 2020, 11:40am UTC](https://discourse.slicer.org/t/registration-and-contour-comparison/13645/2 "2020-09-23T11:40:05Z")

</div>

Hello, @BORIPHAT

> [@BORIPHAT](#):
>
> 1. How to registration between data set 1 and 2? Firstly, I try to open two Dicom files for comparing but it can open only one data set.

You definitely want to spend some time going over the Registration tutorial to learn on how to do this

[https://www.slicer.org/wiki/Documentation/Nightly/Training#Registration](https://www.slicer.org/wiki/Documentation/Nightly/Training#Registration)

> [@BORIPHAT](#):
>
> 1. How to analyze the contour for the metrics (Dice Similarity Coefficient and Hausdorff distances). Firstly, I try to use the Segment Comparison module but It can choose only one data in two segments but I would like to compare two Dicom files.

You will have to segment the two Dicom files first if you would like to do this.

Please go over the segmentation tutorials.

[https://www.slicer.org/wiki/Documentation/Nightly/Training#Segmentation](https://www.slicer.org/wiki/Documentation/Nightly/Training#Segmentation)

Hope this helps  
Andinet

---

<div class="post-metadata">

**Author:** ![BORIPHAT](https://avatars.discourse-cdn.com/v4/letter/b/67e7ee/32.png) [@BORIPHAT](https://discourse.slicer.org/u/BORIPHAT)\
**Post date:** [September 24, 2020, 2:32am UTC](https://discourse.slicer.org/t/registration-and-contour-comparison/13645/3 "2020-09-24T02:32:00Z")

</div>

Thank you so much for your quick reply. I choose only one folder and have 2 data subset in this folder for comparison. When I click on DATA \>Choose directory to Add \> select folder. It shows more than 2 nodes. How can I import files?

 ![D2](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/0/6/06a327f22b187de3b81cf8a02514063a00b03026.png)

---

<div class="post-metadata">

**Author:** ![lassoan](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/lassoan/32/13_2.png) [@lassoan](https://discourse.slicer.org/u/lassoan)\
**Post date:** [September 24, 2020, 3:36am UTC](https://discourse.slicer.org/t/registration-and-contour-comparison/13645/4 "2020-09-24T03:36:18Z")

</div>

Please use the DICOM module to import and load DICOM data sets. See some more information here: [https://slicer.readthedocs.io/en/latest/user\_guide/data\_loading\_and\_saving.html#data-loading-and-saving](https://slicer.readthedocs.io/en/latest/user_guide/data_loading_and_saving.html#data-loading-and-saving)
