<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 </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. Other processing steps </div><div>are linked together with other gui modules or using</div><div>some form of scripting language. </div><div><br></div><div>However, that being said, you're certainly welcome to </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. 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
<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! 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. </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"><<a href="mailto:ntustison@gmail.com" target="_blank">ntustison@gmail.com</a>></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. 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. </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, I saw the 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? I think it's easy for you! If you are familiar with it, please tell me! Thank you very much!! <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>