Giter Site home page Giter Site logo

convwei / laser-triangulation Goto Github PK

View Code? Open in Web Editor NEW

This project forked from songyuncen/laser-triangulation

0.0 0.0 0.0 199 KB

Implement Halcon's sheet-of-light 3D laser triangle reconstruction demo with OpenCV

License: MIT License

C++ 95.16% CMake 4.84%

laser-triangulation's Introduction

laser-triangulation

  • Implement Halcon's sheet-of-light 3D reconstruction demo with OpenCV

  • The name of the Halcon demo is calibrate_sheet_of_light_calplate.hdev

Tools used:

  • OpenCV (4.5.3)
  • CMake (3.21.0)

Usage

  1. Copy all images into a folder, name it as "images".
  2. Move the folder to the same directory of the demo executable.
  3. Run the demo executable.

Download images

Source code in "src" folder

  • Code written when in development and test
    • calibrate_camera.cc Camera calibration.
    • calibrate_laser.cc Laser plane calibration.
    • calibrate_movement.cc Movement of the platform calibration.
    • extract.cc Laser line extraction.
    • scan.cc Reconstruction from images.
  • Static library "utils" code
    • laser_triangulation.h The header
    • fit_3d_plane.cc
    • extract_laser_line.cc
    • reconstruction.cc
    • back_projection.cc Project image points to camera coordinate.
    • write_ply.cc Output result to PLY format.
  • Final demo code: calibrate_sheet_of_light_calplate.cc

Reconstructed connection rod displayed in Matlab.

Reconstructed object display in Matlab

Issues

  • Laser line extraction method is not accurate and robust.

laser-triangulation's People

Contributors

songyuncen avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.