<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div>I know a few people who use N4 and while they&nbsp;</div><div>might not use the command line module that was</div><div>included in the Insight Journal, they do use some</div><div>form of command line or gui interface restricted to</div><div>the bias correction step. &nbsp;Other processing steps&nbsp;</div><div>are linked together with other gui modules or using</div><div>some form of scripting language. &nbsp;&nbsp;</div><div><br></div><div>However, that being said,&nbsp;&nbsp;you're certainly welcome to&nbsp;</div><div>use it in your program although you'll probably need to</div><div>consult with the internals of N4.cxx to see how one</div><div>should use it. &nbsp;Also, you might be interested to know that</div><div>N4 currently resides in the toolkit</div><div><br></div><div><a href="http://www.itk.org/Doxygen/html/classitk_1_1N4BiasFieldCorrectionImageFilter.html">http://www.itk.org/Doxygen/html/classitk_1_1N4BiasFieldCorrectionImageFilter.html</a></div><div><br></div><div>Nick</div><div><div><br><div><br></div><div><br><div><div>On Jan 4, 2012, at 9:42 AM, Wenwu wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">Hi&nbsp;
<span>Nicholas,</span><div><div style="text-align:left"><font color="#222222" face="arial, sans-serif"><span style="white-space:nowrap"><b><br></b></span></font></div><div style="text-align:left"><font color="#222222" face="arial, sans-serif"><span style="white-space:nowrap">Thank you very much! you are right! Now I can run the N4 using the command line! &nbsp;I use help commander and learn it, then found it seems</span></font></div>


<div style="text-align:left"><font color="#222222" face="arial, sans-serif"><span style="white-space:nowrap">directly provide the function of Bias field removal, namely, user input all relevant parameters, and the N4 output all results.&nbsp;</span></font></div>


<div style="text-align:left"><font color="#222222" face="arial, sans-serif"><span style="white-space:nowrap"><br></span></font></div><div style="text-align:left"><font color="#222222" face="arial, sans-serif"><span style="white-space:nowrap">I was wondering if i want to call it in my program, how to do it? Is everyone use the N4 just under command line for the preprocessing?</span></font></div>


<div style="text-align:left"><font color="#222222" face="arial, sans-serif"><span style="white-space:nowrap"><br></span></font></div><div style="text-align:left"><font color="#222222" face="arial, sans-serif"><span style="white-space:nowrap">Thank you again!</span></font></div>


<div style="text-align:left"><font color="#222222" face="arial, sans-serif"><span style="white-space:nowrap"><br></span></font></div><div style="text-align:left"><font color="#222222" face="arial, sans-serif"><span style="white-space:nowrap"><br>


</span></font></div><div style="text-align:left"><font color="#222222" face="arial, sans-serif"><span style="white-space:nowrap">wenwu</span></font></div><div style="text-align:left"><font color="#222222" face="arial, sans-serif"><span style="white-space:nowrap"><br>


</span></font></div><br><div class="gmail_quote">On Wed, Jan 4, 2012 at 3:17 PM, Nicholas Tustison <span dir="ltr">&lt;<a href="mailto:ntustison@gmail.com" target="_blank">ntustison@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">


<div style="word-wrap:break-word"><div>Hi Wenwu,</div><div><br></div><div>You can ignore the class itkN3MRIBiasFieldCorrectionImageFilterTest as</div><div>it was an early incarnation of N4. &nbsp;If you've compiled N4 successfully, you</div>


<div>should be able to type 'N4 --help' at the command line prompt and get</div><div>usage information. &nbsp;</div><div><br></div><div>Nick</div><div><br></div><br><div><div><div><div>On Jan 4, 2012, at 9:04 AM, <a href="mailto:cool.wenwu@gmail.com" target="_blank">cool.wenwu@gmail.com</a> wrote:</div>


<br></div></div><blockquote type="cite"><div><div>HI everyone,<div><br></div><div>I'm a new user of the ITK and the N4ITK, now I want to use it because of my work. I have compile and build the N4ITK successfully. The environment is Visual Studio C++2008 express, ITK3.2, CMake2.6.</div>




<div><br></div><div>In the Visual Studio C++2008 IDE, &nbsp;I saw the&nbsp;itkN3MRIBiasFieldCorrectionImageFilterTest, however, i do not know how to run the test project? IN addition, how to use this N4 to my personal program, how to write code in the CMakeLists? &nbsp; I think it's easy for you! If you are familiar with it, please tell me! Thank you very much!!&nbsp;<br clear="all">




<div><br></div>-- <br><div>Wenwu Zhu</div>
<div>University of Strasbourg, France<br>Email address: <a href="mailto:cool.wenwu@gmail.com" target="_blank">cool.wenwu@gmail.com</a></div><br>
</div></div></div>
_____________________________________<br>Powered by <a href="http://www.kitware.com/" target="_blank">www.kitware.com</a><br><br>Visit other Kitware open-source projects at<br><a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>


<br>Kitware offers ITK Training Courses, for more information visit:<br><a href="http://www.kitware.com/products/protraining.html" target="_blank">http://www.kitware.com/products/protraining.html</a><br><br>Please keep messages on-topic and check the ITK FAQ at:<br>


<a href="http://www.itk.org/Wiki/ITK_FAQ" target="_blank">http://www.itk.org/Wiki/ITK_FAQ</a><br><br>Follow this link to subscribe/unsubscribe:<br><a href="http://www.itk.org/mailman/listinfo/insight-users" target="_blank">http://www.itk.org/mailman/listinfo/insight-users</a><br>


</blockquote></div><br></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><div>Wenwu Zhu</div>
<div>IRCAD<br>University of Strasbourg, France<br>Email address: <a href="mailto:cool.wenwu@gmail.com" target="_blank">cool.wenwu@gmail.com</a></div><br>
</div>
</blockquote></div><br></div></div></div></body></html>