|
This document introduces the SfM plugin, a new feature in UC-win/Road Ver.11. The SfM plugin allows you to analyze multiple photographs and reconstruct 3-dimensional coordinates (point clouds) within a VR space.
|
| SfM (Structure from Motion) plugins are.. |
|
The SfM plugin is a tool that generates a 3D point cloud model of objects in space from multiple photographs taken with a camera, estimates the camera positions, and displays them on UC-win/Road. The point cloud data and camera positions are obtained by applying a technique called Structure from Motion (SfM) to the input photographic images.
The SfM plugin can be used for various purposes. For example, by taking a series of photographs while moving along roads or railways, it is possible to create a point cloud representation of the surrounding area. One of its advantages is that it allows you to easily recreate real-world objects in a VR space without needing special equipment like 3D laser scanners.
・SfM (Structure from Motion): This technology estimates the position and orientation of a camera, as well as the 3-dimensional positions of feature points within photographs, by analyzing multiple images. The estimated results can be displayed in a VR space.
|
| The SfM plugin has the following features: Generate point clouds from video
Point clouds are generated based on images captured by digital cameras and images extracted from video footage.
Point cloud display adjustments
The point cloud data output from the analysis can be adjusted to ensure proper display on UC-win/Road. It is possible to adjust the scale, alignment, and rotation relative to real-world dimensions. This allows for the combined display of multiple point cloud datasets, or the overlaying of point cloud data with VR models.
Creating camera calibration files
By taking pictures of a chessboard pattern with a digital camera and inputting them, the system analyzes the lens's focal length and characteristics to create a file that corrects distortions within the image.
Creating VisualWords files
It generates and outputs a VisualWords file used for creating point clouds.
|

■ Figure 1: Analysis flow |
Photography
To generate a 3-dimensional point cloud, the space of the object you want to capture is photographed using a digital camera. Multiple photos are required, and you need to take pictures while moving slightly. Also, because SfM analysis requires camera characteristics as parameters, if the EXIF information is not attached to the photos, you need to photograph a chessboard pattern to generate a calibration file.
・Exif (Exchangeable image file format): A standard for image file formats that allows adding and saving information related to shooting conditions in the image data captured by a digital camera. Metadata such as the date and time of capture, camera model name, resolution, exposure time, aperture value, focal length, ISO sensitivity, and color space are recorded along with the image.
Camera calibration file generation
Using photographs taken of a chessboard pattern, we generate camera calibration files that calculate the characteristics of the digital camera.
Generating Visual Words files
To perform SfM analysis, it is necessary to generate Visual Words files that enable rapid assessment of image similarity. These files are generated using the images that will be analyzed. Generating Visual Words files requires a significant amount of time, so we recommend using the sample files included with the plugin in advance.
SfM analysis
The system imports photographs, camera calibration files, and Visual Words files, then allows you to specify various analysis parameters before executing the analysis.
Visualization using UC-win/Road
When performing Structure from Motion (SfM) analysis, arrows indicating viewpoint position and orientation are displayed in 3D space, along with a point cloud.

■ Figure 2: Photographs taken inside the showroom |

■ Figure 3: Analysis results of the showroom |
|
|
The SfM plugin allows for both real-time and batch analysis. Real-time analysis instantly processes images uploaded to a folder and generates point clouds; however, it consumes a large amount of memory.
Batch analysis is an analysis mode where the target photos are set before the analysis, and only the specified photos are analyzed to generate a point cloud. It uses less memory than real-time analysis, allowing for the processing of a larger number of photos; however, it only processes consecutive photos, so if non-consecutive photos are input, no analysis results will be obtained.
Batch analysis Select the image you want to analyze and set the analysis parameters. When you start the analysis, the viewpoint position for each selected image is calculated and displayed in a 3-dimensional space. As the analysis progresses, the number of point clouds increases, and the structure gradually becomes clearer. Once all images have been analyzed, check the point cloud in the spatial representation. If the number of point clouds seems insufficient, select "prioritize point cloud density" in the analysis parameters and run the analysis again.
If the analysis stops prematurely during processing, try changing the starting image or removing images that cause the analysis to stop, and then run the analysis again.
Feature point detection algorithm For feature point detection, you can choose from algorithms such as SIFT and SURF.
SIFT(Scale Invariant Feature Transform)
This algorithm detects key points and describes features, accounting for scale changes and rotations. Compared to SURF, it has a slower processing speed but is considered to have higher recognition accuracy.
SURF(Speed Up Robust Features)
This algorithm improves and accelerates SIFT, resulting in faster processing speeds compared to SIFT, but it is considered to have lower recognition accuracy.

■ Figure 4: Photograph taken |

■ Figure 5: SfM plugin screen |

■Figure 6: Analysis results obtained using the SfM plugin: point cloud, camera position and orientation
(A white sphere with an arrow indicator) |
|
| Tips for using the SfM plugin |
|
When taking photographs, ensure that objects present in previously captured images are also visible in the new photograph. If none of the objects from the previous photos appear in the current image, it is impossible to determine the spatial location, and therefore a point cloud cannot be generated. (In batch analysis, at least one object must be visible in the 4 most recent photographs.)
Maintain a consistent brightness level between photos as much as possible. If the brightness changes significantly compared to the previously analyzed photo, it can make object recognition difficult. For example, when taking pictures indoors, close curtains or other coverings to block external light and shoot in the illumination provided by lighting fixtures. When shooting outdoors, the difference in brightness between sunny and shaded areas is large on clear days, so shooting on cloudy days is preferable. Also, if there are photos taken in both sunlight and shade, analyze them as separate cases and use the point cloud adjustment function to connect the point clouds in VR space.
The first 2 photos used in the analysis can affect the number of point clouds that are subsequently generated. If the analysis is performed but the point clouds are not output correctly, changing the order of the photos input into the SfM plugin may improve the results.
If the analysis stops prematurely, set the priority of the feature point detection algorithm to "emphasize point cloud density." This will reduce the accuracy of the point cloud data but increase the rate of camera position detection.
|
|
| (Featured in the Summer Issue of Up&Coming '16) |
 |
|







>> Product comprehensive catalog

>> Premium membership services
>> Financial support
| Recently released products |
|
|
|