Just detect line into image

Hi,
I wish just get x1,x2,y1,y2 of each lines, and x,y of each points into image. Here 2 lines and one point.
in
Later the real source will be microscope + camera, printed line and laser pointer as point.

Cheers,

have a look at imgproc tutorials (Hough Lines, and contours)

I had test various tutorial, include OpenCV: Hough Line Transform always failed.
More real image: