Question: Implement HoughLinesP yourself ( 1 0 points ) CS 8 3 Additional credit ( optional ) CS 1 8 3 Part of the assignment (

Implement HoughLinesP yourself (10 points) CS 83Additional credit (optional)
CS183Part of the assignment (mandatory)
OpenCVs function HoughLinesP prunes the detected lines into line segments that do not extend beyond the objects they belong to. Now, its our turn to implement one ourselves! Please write a function named myHoughLineSegments and then compare your results with OpenCVs function in your write-up. Show at least one image for each and briefly describe the differences.
lines = myHoughLineSegments(lineRho, lineTheta, Im)
Your function should output lines as a vector of lines containing the pixel locations of the start and end points of each line segment in the image. Remember to save your implementation in the ec/ directory.
Your code can not call on OpenCVs HoughLinesP function, or any other similar func- tions. You may use HoughLinesP for comparison and debugging.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!