## 1 Introduction
The combination of TLS and SfM photogrammetry can be achieved in three ways:  
* Manual--point clouds from photogrammetry are transformed into the reference coordinate system based on manually selected identical points or GCPs. This approach is used, for example, in ContextCapture software by Bentley Systems [14]. If only the spatial similarity transformation of the finished photogrammetric point clouds is used, it is not possible to remove the already existing deformations. On the contrary, if a sufficient number of identical points is used during bundle adjustment before point cloud generation, the photogrammetrically obtained geometry can be improved and the possible deformations adjusted relatively to the GCPs [15; 16]. * Semi-automatically--most often with the support of the Iterative Closest Point (ICP) algorithm [17]. The approximately oriented point clouds are automatically transformed to each other. However, this method does not allow the removal of deformations that already exist in the cloud, it only tries to minimize deviations from the reference point cloud by adjusting the translations, rotations, or scale [18; 19]. The ICP algorithm is used, e.g., in 3 DF Zephyr photogrammetric software [20]. * Automatic--the most progressive method, which enables fully-automated orientation of photogrammetric images against geometrically reliable laser scans based on the identification of significant elements in the texture [21]. A prerequisite for a successful result is laser scanning in color; information only about the intensity may not be sufficient. The differences between the features on intensity images from TLS and photogrammetric RGB images can be too large for successful matching. This functionality is currently supported by photogrammetric software, e.g., Metashape Professional by Agisoft LLC [22] and RealityCapture by Capturing Reality [23]. However, one of the main obstacles to the use of TLS is the high purchase price of the devices used. This is also why photogrammetry and TLS are not only combined, but also compared with each other, and ways are being sought to reliably replace TLS with low-cost photogrammetry [24; 25; 26; 27]. Considering the abovementioned shortcomings of SfM photogrammetry, we decided to test it and compare it with TLS in specific real-life conditions. When measuring architectural objects, it is necessary to measure both the exterior and the interior with the same reference coordinate system. The connection of both parts can be achieved in different ways, but in photogrammetric measurement, we usually cannot avoid using GCPs both outdoors and indoors. However, with an appropriately chosen configuration of camera network and utilizing door and window openings, measuring GCPs in the interior may not be necessary, which can greatly simplify field work. However, due to the narrow spaces of the openings, we have to take into account possible deformations of the image blocks, which we tried to analyze in this study using data from the documentation of Saint James's Chapel in Bratislava city. The object and equipment used are described in Section 2, the detailed methodology of the experiment can be found in Section 2.2, with the results in Section 4.