We have created a method for the efficient and automatic extraction of structure from images of spiral galaxies. In particular, we can isolate ”spiral arm segments” by clustering pixels together based