Giter Site home page Giter Site logo

nnu-gisa / surface-normal Goto Github PK

View Code? Open in Web Editor NEW

This project forked from cindy-xdzhang/surface-normal

0.0 1.0 0.0 22 KB

This is a tool.code for CVPR2019 paper 1899: Deep Surface Normal Guided Depth Prediction for Outdoor Secene from Sparce Lidar Data and Single Color Image.

C++ 100.00%

surface-normal's Introduction

surface-normal

This is a tool.code for CVPR2019 paper 1899: Deep Surface Normal Guided Depth Prediction for Outdoor Secene from Sparce Lidar Data and Single Color Image. The toolbox consists of some tools you might need for preparing the training data .

calplanenormal

The most important one is the Mat calplanenormal(Mat &src);

This function calculate the surface normal of the sparce lidar input, it will return a Mat res as the surface normal. You should set fcxcy windowsize threshold before use the function. The following function is used in Mat calplanenormal(Mat &src):
void cvFitPlane(const CvMat* points, float* plane);
void CallFitPlane(const Mat& depth,int * points,int i,int j,float plane12);
void search_plane_neighbor(Mat &img,int i,int j ,float threhold,int
result);
int telldirection(float * abc,int i,int j,float d);

So if you need a clean code , you can download the clean.hpp. If you get any bugs in the clean.hpp,please check the original tool.cpp.

The suggest environment is g++ 4.1/linux16.04, opencv2.4.9.

surface-normal's People

Contributors

cindy-xdzhang avatar

Watchers

James Cloos 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.