Giter VIP home page Giter VIP logo

cmpe264project2's Introduction

Requirements

  1. OpenCV with contrib
  2. numpy
  3. sklearn
  4. matplotlib
  5. Python 2.7
  6. scipy

Part 1

In part 1, we import numpy to do the numeric work on this part.

Part 3

Fill the intrsinc matrix, undistort parameters, size of image in the begining of undistort.py. Then run python undistort.py to undistort images in multiview folder and save into undistorted folder.

Use python click.py --image [PATH to Image] to start picking pixels. Press any key to stop picking and you will see the array of picked pixels in the console.

Fill the arrays obtained from previous step into part3.py, then run python part3.py.

Part 4

Fill the pixel arrays obtained from previous part in the begining of part4.py and run python part4.py to see the reprojection result.

Part 5

Part 5

In part 5, we import the minimize function from the scipy.optimize to do the minimization on the vector we calculate, and the function give us the result of the ideal value of beta and gamma as shown in part5.py

cmpe264project2's People

Watchers

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