Coder Social home page Coder Social logo

dot-devignetting's Introduction

DotDevignetting logo

DotDevignetting

DotDevignetting - Fast automatic image and video devignetting (lens shading correction).
Use it for standalone image correction or real-time video correction (e.g. live-feed from camera).

Samples

Output sample     Output sample

Code

  • Image devignetting:
  var image = ImageIO.LoadColor("(your image)").Clone();
  image.Devignette(optimizeVignettingCentre: true);
  image.Show("Corrected", scaleForm: true);
  • Video devignetting:
  //initialize capture and buffer
  VideoCaptureBase capture = new FileCapture("(your video)"); // /*or*/ capture = new CameraCapture();
  Bgr<byte>[,] frame = null;

  //initialize devignetting alg
  capture.ReadTo(ref frame);
  var devignetting = new Devignetting(frame, optimizeVignettingCentre: true);

  //do the job
  while(true)
  {
      capture.ReadTo(ref frame);
      if (frame == null) break;
        
      devignetting.DevignetteSingleStep(frame);
      frame.Show("Corrected");
  }

  capture.Close();

Getting started

  • Readme file - shown upon installation of the NuGet package.
  • Samples

How to Engage, Contribute and Provide Feedback

Remember: Your opinion is important and will define the future roadmap.

  • questions, comments - message on Github, or write to: darko.juric2 [at] gmail.com
  • spread the word

Final word

If you like the project please star it in order to help to spread the word. That way you will make the framework more significant and in the same time you will motivate me to improve it, so the benefit is mutual.

dot-devignetting's People

Contributors

dajuric avatar

Watchers

 avatar  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.