I want to split an image on the basis of color of the line.
I'm using hough line detector to detect a line and mark it with red color.

Now,i want to split the image on the basis of line which has been overlayed using line detection algorithm.
Thanks and regards
shekar