I want to find the line between color blue and color gray in the following picture:

More exactly, the end points of that line.
Is the Hough transform a choice? If yes how should I set up the picture before using Hough?
Any way of solving this would be helpful.