# Correlation value from ITK Montage

**URL:** https://discourse.itk.org/t/correlation-value-from-itk-montage/7666
**Category:** Uncategorized
**Created:** [November 18, 2025, 4:44pm UTC](https://discourse.itk.org/t/correlation-value-from-itk-montage/7666 "2025-11-18T16:44:27Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![rhysgt](https://discourse.itk.org/user_avatar/discourse.itk.org/rhysgt/32/4455_2.png) [@rhysgt](https://discourse.itk.org/u/rhysgt)
#### Post date: [November 18, 2025, 4:44pm UTC](https://discourse.itk.org/t/correlation-value-from-itk-montage/7666/1 "2025-11-18T16:44:27Z")

</div>

Is there any way to access correlation value for each tile pair from a TileMontage object? Ultimately, I would like to show these visually for the overlapped region between each neighbouring tile pair so that I can easily spot any regions where correlation has failed.

---

<div class="post-metadata">

### Author: ![dzenanz](https://discourse.itk.org/user_avatar/discourse.itk.org/dzenanz/32/1093_2.png) [@dzenanz](https://discourse.itk.org/u/dzenanz)
#### Post date: [November 18, 2025, 7:58pm UTC](https://discourse.itk.org/t/correlation-value-from-itk-montage/7666/2 "2025-11-18T19:58:40Z")

</div>

[Registration confidences](https://github.com/InsightSoftwareConsortium/ITKMontage/blob/da935c049dc7b0f9a3f66a05805aafec3b0765f7/include/itkTileMontage.h#L341) are a private member of the class. It is computed [here](https://github.com/InsightSoftwareConsortium/ITKMontage/blob/da935c049dc7b0f9a3f66a05805aafec3b0765f7/include/itkPhaseCorrelationOptimizer.hxx#L390-L500), and used in [OptimizeTiles()](https://github.com/InsightSoftwareConsortium/ITKMontage/blob/da935c049dc7b0f9a3f66a05805aafec3b0765f7/include/itkTileMontage.hxx#L441). To be used outside of the class, it needs to be exposed. PRs to do that are welcome.
