Ask Your Question

How can I separate these two curved lines in order to process them individually?

asked 2013-11-21 16:00:17 -0500

blz gravatar image

Hello, after a little bit of processing, I end up with the following features found here.

I tried calling Image.findBlobs in order to extract both of these curved lines individually, but the findBlobs method seems to be picking up on all the blank space, rather than the lines. I also tried Image.findLines, but that too is failing (I imagine because the lines are not straight).

My question is simple: how can I extract each of these curves in a manner analogous to findBlobs?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2013-11-21 16:23:45 -0500

xamox gravatar image

You were close. Find Blobs looks for white blobs, and the find blobs function has the minsize set to 10 by default to increase speed.

from SimpleCV import Image
img = Image('')
blobs = img.invert().findBlobs(minsize=1)
edit flag offensive delete link more


Ha! That should have been way more obvious to me! Thank you so much!

blz gravatar imageblz ( 2013-11-21 18:47:44 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower


Asked: 2013-11-21 16:00:17 -0500

Seen: 705 times

Last updated: Nov 21 '13