Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Implement HoughLinesP yourself ( 1 0 points ) CS 8 3 Additional credit ( optional ) CS 1 8 3 Part of the assignment (
Implement HoughLinesP yourself points CS Additional credit optional
CSPart 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 writeup Show at least one image for each and briefly describe the differences.
lines myHoughLineSegmentslineRho 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
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started