Upload and display 360-degree images
You can upload 360-degree images to Cognite Data Fusion (CDF) and display them in its various programs and applications in the Reveal 3D viewer. 360-degree images are often captured as part of a point cloud scan, such as an E57 format file, but you can also capture and upload them manually or using robots.
When displayed in Reveal 3D viewer, the locations of the 360-degree images are displayed as round markers in the 3D view. Select a marker to enter the specific 360-degree image, and use your mouse to rotate the camera in any direction. You can select other markers to move to nearby 360-degree images.
You need to upload the image files to Cognite Data Fusion (CDF), where each station has six cubemap images with a specific set of metadata. Together, the cubemap images constitute one 360-degree image, representing six directions (left, front, right, back, top, and bottom). The cubemap images can be available separately through file exports from the lidar scanning software or embedded in E57 point cloud files.
You can also use a set of 360 panoramic images (equirectangular images). Before uploading the images to CDF, you need to convert them to cubemap images, for example, with a tool like py360convert.
Upload 360-degree images
You can upload 360-degree images to CDF in two ways:
-
For E57 files with 360-degree images, if you have a point cloud file set in the E57 file format that includes both 360-degree images and point cloud data. A zip file of E57 files is also supported.
-
For other formatted 360-degree images, if you have 360-degree images and related custom metadata in separate, other (not E57) formatted files.
After uploading in UI or using a custom script, you can view 360-degree images in Search by adding the 360-degree image collection to a scene. To see 360-degree images in custom applications using Reveal, see the Reveal documentation.
Uploading the 360-degree image metadata (pose information) to the Events API is no longer possible. This functionality has been deprecated and will stop working in the future.
E57 files with 360 degree images
Follow these steps to upload the E57 files to CDF, trigger point cloud filtering and indexing, and opt-in to 360-degree image extraction.
Prerequisites:
To use the 360-degree image extraction process, you must have the sessions:create
and sessions:list
capabilities (in addition to files:write
and 3d:read
and 3d:create
).
Limitations:
360-degree image extraction from E57 files is currently not supported for a 3D model with a dataset associated with it; it will fail with an HTTP 403 error.
Steps:
-
Upload your E57 files to CDF. If these files are large:
-
Upload the files in the ZIP format using the file extractor.
-
Or, upload them as individual E57 files with a custom Python script.
-
-
Copy the main file ID you uploaded (Individual E57, ZIP, or JSON file).
-
Navigate to Data management > Configure > 3D > Upload 3D models > + Add model.
-
Name your model and select + Create Empty model to create the model without the initial file.
-
In the new model, select More Actions > Filtering and Indexing.
-
For Input data, select Choose your own file and enter the file ID you uploaded earlier.
-
Select Extract 360° images > OK to start processing.
In custom script for other formatted 360 degree images
Follow these steps to upload the cubemap images to CDF and specify the location and orientation of the 360-degree images in the data modeling service (DMS) instances.
-
Upload the cubemap images to the Files API, for example, using a Python script. Each image file needs an externalID and a specific set of metadata.
A unique
externalID
should be set for each file, and it should be the same as referenced from the corresponding Image360 instancesimage-360-cubemap-front
and similar property fields.Name Value Example site_id
A common identifier across all 360 images in the set. You will use this identifier when including the images in a scene.