panorama
panorama
#
panorama_dataset — a panorama sweep's frames as posed images, placed by GPS and compass.
- Rotation. An
Angleis device-to-world in the X-north / Y-west / Z-up frame with the device x-right, y-up and -z-forward: already the OpenGL camera aPosecarries, in a world that is not y-up.Fturns that world into the one every reconstruction shares: north tox, up toy, east toz. - Centre.
location's offset fromanchoron the local tangent plane (sfm.geo.local_offset), already in that world; sessions anchored at one location share it, and the frames of one sweep share their centre. - Intrinsics. The angle's focal length and principal point at their reference size, else a centred pinhole from its fields of view at the image's own size; a frame with neither is left out.
panorama_dataset(panorama, location, anchor, max_dimension=1600)
#
The frames of panorama as posed images at location's offset from anchor.
Every frame shares the centre and takes its rotation from its compass
angle; depth is Missing. A frame without intrinsics or fields of view
is left out.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
panorama
|
ImagePanorama
|
The oriented frames of one sweep. |
required |
location
|
Location
|
Where the sweep was taken. |
required |
anchor
|
Location
|
The location the world's origin sits at, shared by every sweep that should land in one world. |
required |
max_dimension
|
int
|
The longest image side, in pixels, as written. |
1600
|