How can I create unit test to HoughLines?
Now I’m trying to contribute OpenCV by adding new function to Hough Transform; which name is weighted Hough(Feature/weighted hough by MasahiroOgawa · Pull Request #21407 · opencv/opencv · GitHub).
By checking existing unit test of Hough transforms, it requires the result of some images , which must be the same with the ones recorded in xml files(e.g. opencv_extra/testdata/cv/imgproc/HoughLines.xml)
But I couldn’t find the way to create such kind of output for my new Hough transform.
How can I create such xml files?