Fixed the problem where the function that finds the connected components that lie beneath a line would miss some components. Now the algorithm looks for when the pixel beneath the line is the same as the cc's label; the pixels outside of the cc have the value 0.