Civil Engineer's Forum-FORUM8
Set this page as your homepage QR

Facebook - FORUM8

Twitter - FORUM8

instagram - FORUM8

YouTube - FORUM8

 Sitemap | Terms of Service | Inquiries | English translation site | Japanese | English | Korean | Vietnam | Francais

Support Topics
Support Topics / UC-win/Road Maintenance and support service related information
SfM plugin
 

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.

 SfM plugin features
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.

Clicking on an image will display a larger version of the image.
■ Figure 2: Photographs taken inside the showroom
Clicking on an image will display a larger version of the image.
■ Figure 3: Analysis results of the showroom
 Types of analysis

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.

Clicking on an image will display a larger version of the image.
■ Figure 4: Photograph taken
Clicking on an image will display a larger version of the image.
■ Figure 5: SfM plugin screen
Clicking on an image will display a larger version of the image.
■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.



Previous page
 
Index
  
Next page
(Featured in the Summer Issue of Up&Coming '16)
Go back
Up&Coming

FORUM8


Contact information




■ [User Introductions]
sugiko Corporation, Technical Sales Department
Scaffolding Safety Consulting Department

Mie University, Graduate School of Engineering
Seika Digital Image Co., Ltd.
Infranet Co., Ltd.






>> Product comprehensive catalog


>> Premium membership services
>> Financial support

Recently released products
■ Electrical Media Delivery Support Tool Version 19
■ Retaining wall design, 3D reinforcement detailing, Version 26
■ Bridge Maintenance Plan System Version 7
■ Calculation for concrete slab placement (compliant with R7/H29 road standards), Version 2

Campaign in progress
■ Within 2 years of release, enjoy a 30% discount plus 30,000 FPB points back
■ Smart download
■ Design Festival 2026, exclusive for visitors
■ Drone school discount

Seminar and event calendar
Upcoming seminars
11/26  Metavernia F8 VPS experience
11/27  Introduction to Structural Analysis
12/2  Engineer programming
  Introduction to yoga experience
12/3  DesignBuilder experience
12/4  Reinforced concrete foundation

Software/Support Services
VR software(Virtual reality)
《UC-win series》
Road simulator
• Driving simulator
• Micro-simulation
Evacuation analysis and simulation
>> Other VR software
FEM analysis software
・3-dimensional plate dynamic nonlinear analysis
・2-dimensional dynamic nonlinear analysis
・A comprehensive finite element analysis system
>> Other FEM analysis software
Civil engineering, architecture, and design software
《UC-1 Series》
・Structural analysis/cross-section
Bridge superstructure
・Bridge substructure components
Foundation work
Temporary construction
Road construction and earthworks
・Harbors
・Hydraulic engineering
・Subsurface investigation and analysis
・CAD/CIM systems, construction accounting
• Maintenance and management, earthquake risk
Architecture
・Ships/Evacuation
>> Other civil engineering, construction, and design software
Cloud
《Supercomputer Cloud®》
・Supercomputer cloud services
《VR-Cloud®》
・Real-time VR system
Analytical support services/support
・UC-win/Road support system
・Design verification support service
・Engineer's Studio® analysis support
・Ground investigation analysis support services
・EXODUS/SMARTFIRE analysis support
・XPSWMM analysis support services
Building energy simulation
• 3D laser scanning and modeling
・3D modeling services
• 3D report and drawing services
>> Other support services
Various solutions
Seismic resistance assessment/analysis
・Design of steel bridges
・New bridge construction methods
Architectural design
・Local governments
・Medical VR systems
・Parking solutions
・ECO solutions
>> Other solutions