I think you can filter out the longest and most vertical lines after using the hough transform. Check out the link .
SimpleCV is just a shortcut library, including OpenCV features, you don't need to use it. I do not think that you will encounter problems implementing the algorithm after receiving the idea.
Edit: Well, I was thinking more about your problem. Setting clusters to zero as a preprocessing step is actually quite good. How about increasing the size of the window step by step? I mean, having received the second image, apply another cluster filter with a window size of 2 *, the same threshold. I think you can continue as the edges of the wall are hard to undo.
Another way: use a rectangular window (width> = 5 * height) to filter clusters as you need vertical edges.
In another way, play with erosion and expansion and filter out drops that have a large area.
Another way, check the top of the image, there are only the edges of the wall and the chandelier. You can search horizontally for a white picture, and then follow your neighbors to indicate the length of the connected dots. Then filter the longer ones.
baci
source share