Draw a line on an image using equation of line rather than 2 points.
I am using Visual Studio, OpenCV 3.2.0.
I want to draw a line on an image . I know the coefficients (a,b,c values in ax+by+c=0). Is there a way to draw a line rather than specifying two points?
No. Calculate where the line crosses the x and y axes and then use those as your points. To my memory, the line endpoints need not be on the image.
Thanks, I didn't know that!!