I have a set of pictures that are embedded in a grid as a single picture. I am tring to write a program that takes the picture and searches for straight lines and thus determines the boundaries of each seperate picture. I have no idea how to get this data in an interpretable manner. Any help is welcome.