Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

OpenCV s function HoughLinesP prunes the detected lines into line segments that do not extend beyond the objects they belong to . Now, it s

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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions

Question

Explain the forces that influence how people handle conflict

Answered: 1 week ago