› Determinar si a las personas polimedicadas y/ó a quien son prescritos con más frecuencia Medicamentos Potencialmente Inapropiados presentan a largo plazo
A. Características demográficas y clínicas de la muestra
4.1 ResUltADos De lA Primera Fase del estudio
Visual SLAM is an ideal environment to be used as a geometrical backbone to support useful information, above all for medical applications. The sparse 3D map of the scene and the camera motion provided by SLAM enable to do 3D distance measurements, insertions in augmented reality (AR), and to obtain photorealistic reconstructions.
2.4.1 Distance Measurement
Distance measuring will be a fundamental pillar to validate the SLAM ac- curacy in laparoscopy. This validation will be performed over ventral hernia repairs in Chapter 4. In this type of intervention it is mandatory to determine the hernia size in order to apply an adequate prosthetic mesh. Hence, this hernia size will be considered as ground truth and will be used to contrast
the dimensions provided by SLAM.
Monocular SLAM methods recover the map up to an unknown scale fac- tor, implying that only relative distances can be measured. However, in practice, a known dimension can provide the unknown scale factor, and hence real distances may be recovered. Given the probabilistic nature of the SLAM map, the distance estimates are accompanied by an error estimate. Relative distances, along with the corresponding error estimates, can be computed in real time while exploring a scene.
From the 3D map, up to a scale factor, and an element, e.g. a laparoscopic tool, with two points (r1, r2) inside the map whose relative distance is known,
s, the real distance between two other map points (i, j) is: d(i, j) = s dm(i, j)
dm(r1, r2)
(2.31) where dm(i, j) and dm(r1, r2) are the Euclidean distances between points (i, j)
and reference points (r1, r2), respectively, measured in the SLAM map.
As the distance is a function of the SLAM state vector, x, the covariance of the distance estimation can be propagated linearly from the SLAM covariance by means of the corresponding Jacobian matrix, J:
J = ∂d(i, j)
∂x (2.32)
x = x>v, y1>, · · · , y>r1, · · · , yr2>, · · · , y>i , · · · , y>j, · · ·>. (2.33) Since d(i, j) only depends on i, j, r1and r2, and J is sparse, reduced Jacobian
(Jr) and covariance (Pr) matrices are used instead of the full matrices to
compute the measurement error estimate (σ2
d): σ2d = JrPrJ>r (2.34) Pr = Pyr1yr1 Pyr1yr2 Pyr1yi Pyr1yj Pyr2yr1 Pyr2yr2 Pyr2yi Pyr2yj Pyiyr1 Pyiyr2 Pyiyi Pyiyj Pyjyr1 Pyjyr2 Pyjyi Pyjyj (2.35)
Figure 2.4 shows a measurement experiment over two planar patterns. The first pattern is a black square which is used as reference and in which one of its edges defines the reconstruction scale considered to be the unit –the
two edge corners are the reference points (r1, r2)– (the red double arrow in
Figure 2.4a). The second pattern is a black rectangle whose dimensions, rel- ative to the defined scale, are 2 × 1 (cyan double arrows in Figure 2.4a). The
(a) Pattern measurement ground-truth (cyan) and reconstruction scale (red).
(b) Vertical estimated mea- surement along with 2σ error (cyan).
(c) Horizontal estimated mea- surement along with 2σ error (cyan).
Figure 2.4: Pattern measurement. Red arrow corresponds with the recon- struction scale. Cyan arrows correspond with the dimensions to be measured. experiment consists in estimating the dimensions of the rectangular pattern, relative to the scale, along with their error by means of SLAM. Therefore, both patterns are located in two different planes and a sequence is gathered and processed with monocular SLAM. Figures 2.4b and 2.4c show that the estimated dimensions are 2.0 ± 0.066 and 0.98 ± 0.032. Hence, it can be concluded that both estimations are accurate and precise. This experiment, which can be found in the video [GGc], was fundamental in order to success- fully communicate to the surgeons the potential of the visual SLAM methods for in-body laparoscopic imagery.
2.4.2 Augmented Reality
AR annotations in endoscopic images need accurate real-time estimates for the live camera motion with respect to the observed scene. Monocular SLAM based only on images gathered by a camera has proven capable of providing camera motion in real-time at 30 Hz for rigid scenes [Dav+07; KM07]. AR is useful in laparoscopic surgery because it enables to visualize notations and to fuse other modal images, such as 3D models of CT or MR, with laparoscopic images live during surgery.
2.4.3 Photorealistic Reconstruction
The SLAM map also allows to build a mesh of triangular elastic textured tiles on it. This is a generalization for 3D scenes of the mosaic method proposed in [Civ+09b]. The tiles are defined by a standard 2D Delaunay triangulation over a projection of the 3D map on the absolute XY plane (XY plane in the absolute reference W ). Each 3D triangle texture is gathered from the images
that observe the complete corresponding triangle. Figure 2.5 sketches the photorealistic modeling process.
Since triangulation is a live process –map points, and consequently tri- angles, are continuously created, erased and their estimates changed–, main- tenance operations are performed to deal with new and deleted triangles as the SLAM estimation evolves, and to take textures from the images for the triangles.
In the case of laparoscopy, this real-time photorealistic modeling process eases the 3D cavity visualization. The textured 3D model allows the synthesis of a panorama that expands the limited field of view (FoV) of the laparoscope.
(a) Features in 3D, the current image and the world X-Y plane.
(b) Features projected onto a X-Y plane and triangulation on this plane.
(c) Triangulated image backprojection to obtain textures.
(d) Final photorealistic reconstruc- tion.