<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">Hello Chaira,<div><br></div><div>1) I don't think those methods should be deprecated. I think that the Seed interfaces for the two filters you mentioned should match. That means this method should not be removed.</div><div><br></div><div>2) The SimpleITK filter currently doesn't consider Seed1 and Seed2 to be list it's just treating them like single points. In my experience when I tries to use many seeds very frequently the filter would fail to find a valid value and fail.</div><div><br></div><div>I think it's most useful for the procedural method to stay as it is just accepting the two points. What could be done is to add a methods just to the class interface which allows for the Set/Get as a list. I would not be inclined to add the Clear and Add function methods as the interface.</div><div><br></div><div>What is your time frame on this?</div><div><br></div><div>Brad</div><div><br><div><div>On May 13, 2014, at 7:02 AM, Chiara Caborni <<a href="mailto:chiara.caborni@gmail.com">chiara.caborni@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><div dir="ltr"><div><br clear="all">Hello,</div><div> </div><div> I'm using Slicer 4.3.1, which has SimpleFilters module in it.</div><div> </div><div> I'm trying adding seeds (using methods SetSeed1/SetSeed2) to a <span style="color:rgb(0,0,150);font-family:"Courier";font-size:8.25pt">SimpleITK.IsolatedConnectedImageFilter</span>.</div>
<div> </div><div>I succedeed adding a list of seeds as input to a <span style="color:rgb(0,0,150);font-family:"Courier";font-size:8.25pt">SimpleITK.ConnectedThresholdImageFilter,</span></div><div><span style="color:rgb(0,0,150);font-family:"Courier";font-size:8.25pt">using the method, AddSeed(), so that I can iteratively add seeds and then obtain a list of seeds with the method <span style="color:rgb(0,0,150);font-family:"Courier";font-size:8.25pt">GetSeedList().</span></span></div>
<div><span style="color:rgb(0,0,150);font-family:"Courier";font-size:8.25pt"><span style="color:rgb(0,0,150);font-family:"Courier";font-size:8.25pt"></span></span> </div><div>But since the IsolatedConnectedImageFilter has no method addSeed, but just SetSeed#, I can just add one seed using SetSeed1 and another one using SetSeed2.</div>
<div>How can I specify more than one seed for both regions 1&2 to separate?</div><div> </div><div>In the DOxygen page, <a href="http://www.itk.org/SimpleITKDoxygen/html/classitk_1_1simple_1_1IsolatedConnectedImageFilter.html">http://www.itk.org/SimpleITKDoxygen/html/classitk_1_1simple_1_1IsolatedConnectedImageFilter.html</a></div>
<div>, I read the method SetSeed1/2 is deprecated, please use AddSeed, but there's no AddSeed method in <font color="#000096" face="Courier New">IsolatedConnectedImageFilter.</font></div><div> </div><div>Any help appreciated, thank you</div>
<div>kind regards</div><div>Chiara<br>-- <br>Chiara
</div></div>
_______________________________________________<br>Community mailing list<br><a href="mailto:Community@itk.org">Community@itk.org</a><br>http://public.kitware.com/cgi-bin/mailman/listinfo/community<br></blockquote></div><br></div></body></html>