<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;">Hi Mohammed,<div><br></div><div>To start writing/modifying filters in the ITK it's also very helpful to read the "Introduction"</div><div><br></div><div>and chapter 13 (How To Write A Filter) of the ITK software
guide.</div><div><br></div><div>HTH,</div><div><br></div><div>Dawood</div><div><br></div><div><br></div><div>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>><<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<</div><div><br></div><div>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>><<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<</div><div><br></div><div><br></div><div><span class="Apple-style-span" style="font-family: arial, helvetica, clean, sans-serif; line-height: 15px; ">Just modify the code, rename the files, ie FilterModified .txx and .h, place the new code in your src directory, and treat it like any normal filter.<br
style="line-height: 1.2em; outline-style: none; outline-width: initial; outline-color: initial; "><br style="line-height: 1.2em; outline-style: none; outline-width: initial; outline-color: initial; "><div class="yiv1970842379gmail_quote" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.2em; outline-style: none; outline-width: initial; outline-color: initial; ">On Tue, May 17, 2011 at 12:44 AM, mohammed abdel samea <span dir="ltr" style="line-height: 1.2em; outline-style: none; outline-width: initial; outline-color: initial; "><<a rel="nofollow" ymailto="mailto:mohammed_abdel_samea@yahoo.com" target="_blank" href="http://us.mc1302.mail.yahoo.com/mc/compose?to=mohammed_abdel_samea@yahoo.com" style="line-height: 1.2em; text-decoration: underline; color: rgb(0, 51, 153); outline-style: none; outline-width: initial;
outline-color: initial; ">mohammed_abdel_samea@yahoo.com</a>></span> wrote:<br style="line-height: 1.2em; outline-style: none; outline-width: initial; outline-color: initial; "><blockquote class="yiv1970842379gmail_quote" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0.8ex; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 1ex; line-height: 1.2em; outline-style: none; outline-width: initial; outline-color: initial; display: block; border-left-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; "><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.2em; outline-style: none; outline-width: initial; outline-color: initial; "><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px;
padding-bottom: 0px; padding-left: 0px; line-height: 1.2em; outline-style: none; outline-width: initial; outline-color: initial; font-family: 'times new roman', 'new york', times, serif; font-size: 12pt; "><div class="yiv1970842379im" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.2em; outline-style: none; outline-width: initial; outline-color: initial; "><table cellpadding="0" style="border-collapse: collapse; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; font-size: inherit; line-height: 1.2em; outline-style: none; outline-width: initial; outline-color: initial; display: table; "><tbody style="line-height: 1.2em; outline-style: none; outline-width: initial; outline-color: initial; "><tr style="line-height: 1.2em; outline-style: none; outline-width: initial; outline-color: initial; display:
table-row; vertical-align: inherit; "><td style="line-height: 1.2em; outline-style: none; outline-width: initial; outline-color: initial; display: table-cell; -webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px; vertical-align: top; "><br style="line-height: 1.2em; outline-style: none; outline-width: initial; outline-color: initial; "></td><td style="line-height: 1.2em; outline-style: none; outline-width: initial; outline-color: initial; display: table-cell; -webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px; vertical-align: top; "><br style="line-height: 1.2em; outline-style: none; outline-width: initial; outline-color: initial; "></td><td style="line-height: 1.2em; outline-style: none; outline-width: initial; outline-color: initial; display: table-cell; -webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px; vertical-align: top; "><br style="line-height: 1.2em; outline-style:
none; outline-width: initial; outline-color: initial; "></td></tr><tr style="line-height: 1.2em; outline-style: none; outline-width: initial; outline-color: initial; display: table-row; vertical-align: inherit; "><td style="line-height: 1.2em; outline-style: none; outline-width: initial; outline-color: initial; display: table-cell; -webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px; ">Hi all,<br style="line-height: 1.2em; outline-style: none; outline-width: initial; outline-color: initial; "><br style="line-height: 1.2em; outline-style: none; outline-width: initial; outline-color: initial; "></td><td style="line-height: 1.2em; outline-style: none; outline-width: initial; outline-color: initial; display: table-cell; -webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px; "><br style="line-height: 1.2em; outline-style: none; outline-width: initial; outline-color: initial; "></td><td style="line-height:
1.2em; outline-style: none; outline-width: initial; outline-color: initial; display: table-cell; -webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px; "><br style="line-height: 1.2em; outline-style: none; outline-width: initial; outline-color: initial; "></td></tr></tbody></table>I'd like to inquire about if it's applicable to make a modification on a specific filter?. if yes, could you please tell me how to do that in details in steps.<br style="line-height: 1.2em; outline-style: none; outline-width: initial; outline-color: initial; "><br style="line-height: 1.2em; outline-style: none; outline-width: initial; outline-color: initial; "></div>what I'd like to do is to use a new function instead of D(I) used in ThresholdLevelSetFilter.<div class="yiv1970842379im" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height:
1.2em; outline-style: none; outline-width: initial; outline-color: initial; "><br style="line-height: 1.2em; outline-style: none; outline-width: initial; outline-color: initial; "><br style="line-height: 1.2em; outline-style: none; outline-width: initial; outline-color: initial; ">your help is really appreciated about that matter.<br style="line-height: 1.2em; outline-style: none; outline-width: initial; outline-color: initial; "><br style="line-height: 1.2em; outline-style: none; outline-width: initial; outline-color: initial; ">ThankX much...<br style="line-height: 1.2em; outline-style: none; outline-width: initial; outline-color: initial; "><br style="line-height: 1.2em; outline-style: none; outline-width: initial; outline-color: initial; ">Best Regards,<br style="line-height: 1.2em; outline-style: none; outline-width: initial; outline-color: initial; ">Mohammed</div></div></div></blockquote></div></span></div></td></tr></table>