What setting did you use for findhomography

Assignment Help Computer Engineering
Reference no: EM131098094

E27: Computer Vision Spring 2016 - HOMEWORK 2

Planar image stitching.

Obtain two or more separate images of a planar (or near-planar) scene and stitch them together by finding the perspective transformation(s) that map corresponding points to each other. For instance, you could try mapping the first image onto the image plane of the second image below to try to get a front-on view of the entire whiteboard:

You can find a small selection of images to stitch together (including the whiteboard images above) on the course website. Of course, you can also take your own images - just make sure you're photographing a planar object!

Here are the steps you will want to follow:

a. Identify a set of n corresponding points in two or more images. I suggest using a MultiPointWidget from cvk2 to help you manage your point sets. Note that this widget is capable of both saving and loading sets of points, so while developing and testing your program, you will be spared the need to click on all of the points from scratch on each run of the program. Check out cvkdemo.py from the starter code for details.

b. Find the transformation(s) that map each set of n points onto the image plane of one particular image. Although you could implement the homogeneous least-squares technique that we discussed in class, OpenCV has already done it for you with the findHomography function.

Note that findHomography expects the point sets you supply to have the shape (n, 1, 2), and to have 32-bit floating-point format. If your list of coordinates is in the numpy array named p, you can put it into the correct format with the code p.astype(numpy.float32).reshape((-1, 1, 2)). See the numpy documentation for more details about data types and array shapes.

c. Use the OpenCV warpPerspective function to compose the images together into a single scene. Look at the transrot.py and t_homog.py sample programs for example usage. Please make sure that the merged image is sufficiently large to show all of the content from both input images, and be aware that you may need to add some extra translation in order to fit everything into the merged image (see t_homog.py).

d. Use the OpenCV imwrite function to save your merged image.

What to turn in:

You should turn in the following:

  • Full source code for your program.
  • Images before and after stitching.
  • Text files specifying the points for each "before" image. Each text file should consist of n lines, where each line specifies an x and y coordinate separated by a space. This format is the one generated by the MultiPointWidget mentioned above.
  • A short (1/2 - 2 page) PDF write-up describing your approach. Do the images align well? If not, why? Does adding more points to the set improve alignment? What setting did you use for findHomography? Is there a particular setting that worked better than the others?

Attachment:- Homography Images.zip

Reference no: EM131098094

Questions Cloud

Reference to relevant academic and practitioner literature : With reference to relevant academic and practitioner literature write a report on the latest debate on gender pay gap. Use real­ life examples to enrich your report.
Describe challenges inherent in implementing kind of changes : Identify the types of organizational values and norms that are likely to be found in the low-cost Art Depot stores prior to their acquisition by Creative Colors. Then, identify the types of organizational values and norms that would encourage empl..
Textbook prices across the three different outlets : At 0.01 level of significance, can we conclude that there is a difference in textbook prices across the three different outlets? Show all the steps of the hypothesis testing.
Describe the significance of an information system : Question 2.2.  What are the differences between the international marketing research process and the domestic research process. Please explain with examples.
What setting did you use for findhomography : write-up describing your approach. Do the images align well? If not, why? Does adding more points to the set improve alignment? What setting did you use for findHomography? Is there a particular setting that worked better than the others
Briefly describe the key issue in adolescent sleep research : Briefly describe the key issue in adolescent sleep research you selected. Then suggest one solution that may remedy the issue you selected. How does your learning this week relate to your own sleep experiences?
What evidence do you see in your own life : What evidence do you see in your own life that confirms stages inMaslow's hierarchy? Does your own experience suggest an innate tendency towardself-actualization?
Discuss the nature of the obstacles you might encounter : Discuss the nature of the obstacles you might encounter at the divisional, functional and individual levels as you attempt to introduce revolutionary change to redesign work processes across functional boundaries. What type of support might you al..
Focus on one human-made cause and one natural cause : Then, share two key learnings from this course related to your Discussion thread topic and explain why they are important. Finally, describe one action item you might pursue to help with the Earth's preservation and why.

Reviews

Write a Review

Computer Engineering Questions & Answers

  Mathematics in computing

Binary search tree, and postorder and preorder traversal Determine the shortest path in Graph

  Ict governance

ICT is defined as the term of Information and communication technologies, it is diverse set of technical tools and resources used by the government agencies to communicate and produce, circulate, store, and manage all information.

  Implementation of memory management

Assignment covers the following eight topics and explore the implementation of memory management, processes and threads.

  Realize business and organizational data storage

Realize business and organizational data storage and fast access times are much more important than they have ever been. Compare and contrast magnetic tapes, magnetic disks, optical discs

  What is the protocol overhead

What are the advantages of using a compiled language over an interpreted one? Under what circumstances would you select to use an interpreted language?

  Implementation of memory management

Paper describes about memory management. How memory is used in executing programs and its critical support for applications.

  Define open and closed loop control systems

Define open and closed loop cotrol systems.Explain difference between time varying and time invariant control system wth suitable example.

  Prepare a proposal to deploy windows server

Prepare a proposal to deploy Windows Server onto an existing network based on the provided scenario.

  Security policy document project

Analyze security requirements and develop a security policy

  Write a procedure that produces independent stack objects

Write a procedure (make-stack) that produces independent stack objects, using a message-passing style, e.g.

  Define a suitable functional unit

Define a suitable functional unit for a comparative study between two different types of paint.

  Calculate yield to maturity and bond prices

Calculate yield to maturity (YTM) and bond prices

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd