ref #10 - added function for optimizing the hough image. it also provides the possibility to find board lines even if its full of stones!