Code Monkey home page Code Monkey logo

3d-camera-image-processing's Introduction

3D-Camera-Image-Processing

This project works with videos recorded by stereo ZED 3D cameras and it implements basic functionalities such as calculating normal map and comparing it to the default ZED SDK normal map, computing various blur methods or segmenting a given image into surfaces.

The project is split in 2 parts:

  • image surface segmentation algorithm
  • basic image processing functions

Image surface segmentation

This algorithm uses low-level operations working with point cloud data and normal vectors. The traversal is done in a breadth-first manner. Each pixel's properties (physical distance and normal vector) are checked with its neighbours and then the pixel is either added to an already existing neighbouring surface or a new surface is made.
After this process, there will be surfaces which although bearing many similarities, are still perceived as different. The solution is to:

  • remember a surface's neighbours and at the end of the algorithm,
  • go through the surface array,
  • analyse the similarities between the current element and its vicinity,
  • merge surfaces where necessary.

Thresholds (maximum angle between normal vectors in order to be considered identical, maximum distance between surfaces, weights) are to be adjusted by the user in order to get the best results.

Basic image processing

Several functions have been implemented:

Blurs

  • Gaussian masks (3x3, 5x5, 7x7)
  • adaptive Gaussian masks
  • average blur
  • ordered blur

Edge detection

  • Sobel
  • Prewitt
  • Roberts

Normal vector computing

  • using a 5x5 mask
  • computing normal deviations (using the dot product)

3d-camera-image-processing's People

Contributors

magynon avatar

Watchers

 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.