Rick Giuly
unread,Jan 16, 2013, 3:42:25 PM1/16/13Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to kurt weiss, cyt...@googlegroups.com
Hi Kurt. There's no command line parameter to adjust the minimum size
yet, but if you edit the component_detector.py script, you can change it.
Check line 998. You need to use something like detector.minPerimeter = 1
instead of detector.minPerimeter = 60
code snippet:
elif self.target == 'mitochondria_new':
detector.retrievalMode = cv.CV_RETR_EXTERNAL
detector.minPerimeter = 60
detector.maxPerimeter = 600
Hope that helps
-Rick