Sep 29, 2021

Public workspaceStructure-from-Motion, Capturing Geological Samples

  • 1UNAVCO Geo Launchpad Intern 2021
  • Madalyn Massey: Madalyn Massey attends Front Range Community College
Icon indicating open access to content
QR code linking to this content
Protocol CitationMadalyn Massey 2021. Structure-from-Motion, Capturing Geological Samples. protocols.io https://dx.doi.org/10.17504/protocols.io.bwmspc6e
License: This is an open access protocol distributed under the terms of the Creative Commons Attribution License,  which permits unrestricted use, distribution, and reproduction in any medium, provided the original author and source are credited
Protocol status: In development
We are still developing and optimizing this protocol. This protocol will later undergo review, and USGS internal publishing procedure.
Created: July 16, 2021
Last Modified: September 29, 2021
Protocol Integer ID: 51602
Disclaimer
DISCLAIMER – FOR INFORMATIONAL PURPOSES ONLY; USE AT YOUR OWN RISK

The protocol content here is for informational purposes only and does not constitute legal, medical, clinical, or safety advice, or otherwise; content added to protocols.io is not peer reviewed and may not have undergone a formal approval of any kind. Information presented in this protocol should not substitute for independent professional judgment, advice, diagnosis, or treatment. Any action you take or refrain from taking using or relying upon the information presented here is strictly at your own risk. You agree that neither the Company nor any of the authors, contributors, administrators, or anyone else associated with protocols.io, can be held responsible for your use of the information contained in or linked to this protocol or any of our Sites/Apps and Services.
Abstract
Structure-from-Motion (SfM) is a photogrammetry process that creates 3D models from overlapping 2D images. This protocol focuses on its application related to geological and geophysical samples. The samples includes fossil, hand samples and rocks. This is a recommended practice to be used later for the publication on United States Geological Survey website.
Introduction
Introduction

What is it?

Structure-from-Motion (SfM) and photogrammetry is a recent application in the earth science community. SfM is the representation of physical samples as a 3D model produced from a series of overlapping 2D images collected from multiple angles about the sample or subject of interest. Research and application of photogrammetry have created space for various creations, ever-evolving software, and platforms where communities of 3D model creators publish their work(s). There are many options to develop a 3D model of a physical object, including "Optical/photogrammetry, radar, thermal, structure from motion, and acoustic techniques" (Harvey et al., 2017; Westoby et al., 2012; Zlatanova, 2008)." https://www.sciencedirect.com/science/article/pii/S0098300417301772?via%3Dihub. This protocol will focus on photogrammetry related to geophysical samples; rock cores, hand samples and fossils.

*Any use of trade, firm, or product names is for descriptive purposes only and does not imply endorsement by the U.S. Government.
History

These Structure from Motion processes were adapted from terrain analysis to the preservation of physical samples. There has been an increase in the creation of 3D models from physical samples in response to the changing work environment during the COVID-19 pandemic (Andrews er al., 2020). With the implementation of SfM, classrooms can study multiple samples virtually, increasing the variety and accessibility of geological samples. Students and researchers also have the opportunity to gain experience and technical skills with photogrammetry software in the classroom, and remote environments. Sourced from Teaching with Digital 3D Models of Minerals and Rocks


Value of SfM

Remote/Virtual benefits:
  • The preservation and curation of these physical samples have proven useful in times where physical contact may be restricted.
  • Virtual access of physical samples helps maintain the integrity, prevention of loss, and accessibility of rock cores, hand samples, and fossils.
  • Reduces travel costs to view samples.
  • Increases access to financially/physically challenged parties.

Photogrammetry:
  • Technical skills with photogrammetry software; This recommended practice can be helpful with photogrammetry in terrain analysis, etc.
  • Used in museums, specifically within paleontology.

Minimum Standards
Minimum Standards
Overview

  • In order to successfully create a high-quality 3D model of a physical sample, considerations for equipment, software, environment, sample resolution, and publishing platform, are necessary.
Equipment

1. Camera and tripod
2. Two ring flash lighting--- provides even lighting
3. Class 10 SD card
4. Link for suggested CPU for photogrammetry: What is the Best CPU for Photogrammetry 2019
5. Standardized colorbar is necessary to calibrate images, such as Amazon.com: Kodak Color Separation Guide and Gray Scale (Q-13, 8" Long): Camera & Photo. Colorbar may not be necessary for fossilized specimens.
This link provides an example of use:
6. Lens polarizer to limit reflections (if using a full-frame camera)
7. Backup battery, if using full days worth of shooting
8. Shooting tent
9. Tools for markers (sharpie, chalk, stickers)
10. Rotating platform/turntable
11. Clay--- for staging physical sample


Example computer configuration:
"Recommended configuration for computer: 32 GB of RAM, an Nvidia video card with 4GB of Vram, and a hard drive of 2TB. Unity team use CPU intel i7-5960x, 64 GB of RAM, 980 GTX, 2TB hard drive." Cited by
Software--- List of suggested modern photogrammetry software below

Environment

Goal: Create a clean, organized environment to dedicate a table, with room for equipment. See steps 3.1 for more about staging the model.

  • Physical samples can vary in size, shape, material, etc.
  • The process of staging a sample can vary from specimen to specimen.
  • When creating a space dedicated to staging, consider staying out of direct sunlight and ambient lighting. This allows complete control of the lighting equipment.
  • The setup should be on a steady surface with no disturbances from other machines or furniture.



Publishing--- List of platforms for publishing

There are plenty of options and platforms for publishing models (usually advertised as a platform for selling), below are a few links with suggestions.


Workflow/Procedure/Process
Workflow/Procedure/Process
Overview

The goal of this procedure is to efficiently produce a 3D model of a geological sample, that is FAIR (Findable, Accessible, Interoperable and Reusable).
Staging the model;
  • Note: Higher lighting allows for lower iso; resulting in better quality images

1. Check that all materials and equipment are gathered.
2. Place your shooting tent on a stable surface/table.
3. Place ring lights on opposite ends of the shooting tent.
4. Place round turntable inside the open shooting tent;
  • To help guide and ensure that photos are being taken with overlap, you may label/mark the turntable with even distances between them. Note: It is helpful to mark one spot on one side of the turntable the #1 (or any designated shape/ #), and the direct opposite side the #2, so you know where you begin and end.
5. Wipe/clean/dust the sample before staging.
6. Place the sample in an upright position on a mound of clay, for stable placement.
7. Set up the camera on the stable tripod, centered, facing the stage where the sample is placed.
8. After collecting photos of the sample, you will reposition the sample about the clay.
  • This optimizes capturing the entire sample. (i.e: If you place the sample upright on the clay mound, you are now potentially missing another angle, or unable to capture the bottom portion of the sample.)
10. Wipe down the sample and rotating table to remove any clinging clay or residue.
11. Carefully store away samples and clean up the equipment.
Capturing images:
1. Take at least three photos at a time.
2. The second and third photos should have two-thirds of an overlap.
3. Continue all around the object sample.
4. Once the images have been acquired of the object/sample at all available angles, the photos can be imported into a software of choice.

  • *Metashape photogrammetry software requires a consistent focal length between object and camera lens.
  • Fill the frame with the object as much as possible to maximize details/data.

Input images into photogrammetry software:
  1. Gather images into a folder for efficient upload into desired software.
  2. Mask if the software supports it, to maximize the processing.
  3. The next process is the creation of point clouds. (Point clouds are sets of data in space.)
  4. This is where you can clean up any incorrect cameras/point clouds within the software. You are able to reposition any point/camera that was improperly uploaded.

Following alignment, a dense cloud is built:
  • Dense/sparse point
  • This creates a wireframe that develops the mesh.
  • Mesh is needed to create a texture frame.
  • Higher-order of mesh increases detail in specimen
  • Depending on your audience, including dimensions can vary from a high school classroom and extensive research. (i.e tooth on a fossil, depending on the quality, the 3D model can be easily measured for dimensions)
Texture:
  • Texture uses data from the top of the triangles to produce the varying surface texture on the object/sample.
  • Note: it is unnecessary to have an excessive amount of triangles as this results in excessive data, needing higher processing, or longer download times.*

Saving/Publishing:
  • Depending on the photogrammetry software, you can download the model in different file formats; STL, OBJ, FBX, and COLLADA (most common file formats).
  • This link tells you information about file types, etc: All3dp 2021 Suggested Photogrammetry Software
  • Sketchfab automatically produces a persistent identifier once the model is uploaded. However, the identifier is at risk when you re-edit the original sample name.
  • Keep all intrinsic sample information with the model when publishing; If previously stored or owned by another group, note the source.
  • images, project, model, info on the sample, etc

Things to Consider
Things to Consider
  • Think: Who is my audience? When capturing a sample, will the 3D product be used for extensive research or classroom studies? This consideration can mean the difference between using a higher-quality camera or using a cellphone to capture the images. Maximize resources, and understand what is or isn't necessary for the process.
  • Think: Will I be able to capture this object? In some cases, a physical sample with a homogenous color, or reflective surface,

Resources
Resources
Bibliography:

Andrews, Graham DM; Labishak, Gabrielle; Brown, Sarah; Isom, Shelby L.; Pettus, Holly Danielle; and Byers, Trevor, "Teaching with Digital 3D Models of Minerals and Rocks" (2020). Faculty & Staff Scholarship. 2915. https://researchrepository.wvu.edu/faculty_publications/2915

APOPEI, A.-I., BUZGAR, N., BUZATU, A., MAFTEI, A.-E., & APOSTOAE, L. (2021). DIGITAL 3D MODELS OF MINERALS AND ROCKS IN A NUTSHELL: ENHANCING SCIENTIFIC, LEARNING, AND CULTURAL HERITAGE ENVIRONMENTS IN GEOSCIENCES BY USING CROSS-POLARIZED LIGHT PHOTOGRAMMETRY. Carpathian Journal of Earth and Environmental Sciences, 16(1), 237–249. https://doi.org/10.26471/cjees/2021/016/170

Bedford, J. (2017). Photogrammetric applications for cultural heritage: guidance for good practice. Historic England.

Bemis, S. P., Micklethwaite, S., Turner, D., James, M. R., Akciz, S., Thiele, S. T., & Bangash, H. A. (2014). Ground-based and UAV-Based photogrammetry: A multi-scale, high-resolution mapping tool for structural geology and paleoseismology. Journal of Structural Geology, 69, 163–178. https://doi.org/10.1016/j.jsg.2014.10.007

Betlem, P., Birchall, T., Ogata, K., Park, J., Skurtveit, E., & Senger, K. (2020). Digital Drill Core Models: Structure-from-Motion as a Tool for the Characterisation, Orientation, and Digital Archiving of Drill Core Samples. Remote Sensing, 12(2), 330. doi:10.3390/rs12020330

COLMAP Tutorial . Tutorial - COLMAP 3.7 documentation. (n.d.). https://colmap.github.io/tutorial.html.
De Jonge, H., van Halteren, H., van der Laan, N., Bijsterbosch, M., Bouwhuis, M., Doove, J., Cruz, M., & Tatum, C. (2021, April 15). NWO Persistent Identifier Strategy. Zenodo.
Digital Morphology at the University of Texas. (n.d.). http://digimorph.org/index.phtml.

Harvey, A. S., Fotopoulos, G., Hall, B., & Amolins, K. (2017). Augmenting comprehension of geological relationships by integrating 3D laser scanned hand samples within a GIS environment. Computers & Geosciences, 103, 152–163. https://doi.org/10.1016/j.cageo.2017.02.008
Lehnert, K., Ramdeen, S., Cui, H., Davies, N., Deck, J., Kansa, E., Kansa, S., Kunze, J., Meyer, C., Orrell, T., Richard, S., Snyder, R., Walls, R., & Vieglais, D. (2021, May 28). iSamples (Internet of Samples): Cyberinfrastructure to support transdisciplinary use of material samples. Zenodo. https://zenodo.org/record/4923861#.YNnvT2hKhPY.

Office of Science Quality and Integrity. USGS Information Quality Guidelines. (n.d.). https://www.usgs.gov/about/organization/science-support/office-science-quality-and-integrity/information-quality-guidelines.

The Geological Materials Repository Working Group. (2015). The U.S. Geological Survey Geologic Collections Management System (Gcms): a master catalog and collections management plan for U.S. Geological Survey geologic samples and sample collections. U.S. Department of the Interior, U.S. Geological Survey.

User, S. (n.d.). Persistent identifiers. Home - Digital Preservation Coalition. https://www.dpconline.org/handbook/technical-solutions-and-tools/persistent-identifiers.

Westoby, M. J., Brasington, J., Glasser, N. F., Hambrey, M. J., & Reynolds, J. M. (2012, September 5). 'Structure-from-Motion' photogrammetry: A low-cost, effective tool for geoscience applications. Geomorphology. https://www.sciencedirect.com/science/article/pii/S0169555X12004217.

Case Studies
Case Studies
Subtopics
Subtopics