<html><head><meta http-equiv="Content-Type" content="text/html charset=windows-1252"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">Hi Shandra,<div><br></div><div>I tried downloading the IJ code and it no longer works</div><div>with the current ITK because of the numerous changes</div><div>made to the core classes. The only N4 program that I </div><div>continue to maintain is the ANTs version </div><div><br></div><div><a href="http://stnava.github.io/ANTs/">http://stnava.github.io/ANTs/</a></div><div><br></div><div>The program, N4.cxx, evolved into N4BiasFieldCorrection.cxx</div><div><br></div><div><a href="https://github.com/stnava/ANTs/blob/master/Examples/N4BiasFieldCorrection.cxx">https://github.com/stnava/ANTs/blob/master/Examples/N4BiasFieldCorrection.cxx</a></div><div><br></div><div>and I can run it just fine using your command line.</div><div><br></div><div><div style="margin: 0px; font-size: 11px; font-family: Monaco; color: rgb(255, 255, 255); background-color: rgb(33, 33, 33);">[ntustison@d-172-25-171-144 Thu Jan 30 09:15:24] $ N4BiasFieldCorrection -d 2 -i t81slice.nii.gz -o t81sliceCorrect.nii.gz -s 4 -b [200] -c [50x50x50x50,0]</div><div style="margin: 0px; font-size: 11px; font-family: Monaco; color: rgb(255, 255, 255); background-color: rgb(33, 33, 33); min-height: 15px;"><br></div><div style="margin: 0px; font-size: 11px; font-family: Monaco; color: rgb(255, 255, 255); background-color: rgb(33, 33, 33);">Running N4 for 2-dimensional images.</div><div style="margin: 0px; font-size: 11px; font-family: Monaco; color: rgb(255, 255, 255); background-color: rgb(33, 33, 33); min-height: 15px;"><br></div><div style="margin: 0px; font-size: 11px; font-family: Monaco; color: rgb(255, 255, 255); background-color: rgb(33, 33, 33);">Mask not read. Creating Otsu mask.</div><div style="margin: 0px; font-size: 11px; font-family: Monaco; color: rgb(255, 255, 255); background-color: rgb(33, 33, 33);">Current level = 1</div><div style="margin: 0px; font-size: 11px; font-family: Monaco; color: rgb(255, 255, 255); background-color: rgb(33, 33, 33);"> Iteration 1 (of 50). Current convergence value = 0.000515799 (threshold = 0)</div><div style="margin: 0px; font-size: 11px; font-family: Monaco; color: rgb(255, 255, 255); background-color: rgb(33, 33, 33);"> Iteration 2 (of 50). Current convergence value = 0.000514015 (threshold = 0)</div><div style="margin: 0px; font-size: 11px; font-family: Monaco; color: rgb(255, 255, 255); background-color: rgb(33, 33, 33);"> Iteration 3 (of 50). Current convergence value = 0.000512207 (threshold = 0)</div><div style="margin: 0px; font-size: 11px; font-family: Monaco; color: rgb(255, 255, 255); background-color: rgb(33, 33, 33);"> Iteration 4 (of 50). Current convergence value = 0.000510627 (threshold = 0)</div><div style="margin: 0px; font-size: 11px; font-family: Monaco; color: rgb(255, 255, 255); background-color: rgb(33, 33, 33);"> Iteration 5 (of 50). Current convergence value = 0.000508918 (threshold = 0)</div><div style="margin: 0px; font-size: 11px; font-family: Monaco; color: rgb(255, 255, 255); background-color: rgb(33, 33, 33);"> Iteration 6 (of 50). Current convergence value = 0.000507124 (threshold = 0)</div><div style="margin: 0px; font-size: 11px; font-family: Monaco; color: rgb(255, 255, 255); background-color: rgb(33, 33, 33);"> Iteration 7 (of 50). Current convergence value = 0.000505515 (threshold = 0)</div><div style="margin: 0px; font-size: 11px; font-family: Monaco; color: rgb(255, 255, 255); background-color: rgb(33, 33, 33);"> Iteration 8 (of 50). Current convergence value = 0.000503797 (threshold = 0)</div><div style="margin: 0px; font-size: 11px; font-family: Monaco; color: rgb(255, 255, 255); background-color: rgb(33, 33, 33);"> Iteration 9 (of 50). Current convergence value = 0.000502342 (threshold = 0)</div><div style="margin: 0px; font-size: 11px; font-family: Monaco; color: rgb(255, 255, 255); background-color: rgb(33, 33, 33);"> Iteration 10 (of 50). Current convergence value = 0.000500771 (threshold = 0)</div><div style="margin: 0px; font-size: 11px; font-family: Monaco; color: rgb(255, 255, 255); background-color: rgb(33, 33, 33);"> Iteration 11 (of 50). Current convergence value = 0.000499355 (threshold = 0)</div><div style="margin: 0px; font-size: 11px; font-family: Monaco; color: rgb(255, 255, 255); background-color: rgb(33, 33, 33);"> Iteration 12 (of 50). Current convergence value = 0.000497954 (threshold = 0)</div><div style="margin: 0px; font-size: 11px; font-family: Monaco; color: rgb(255, 255, 255); background-color: rgb(33, 33, 33);"> Iteration 13 (of 50). Current convergence value = 0.000496292 (threshold = 0)</div><div style="margin: 0px; font-size: 11px; font-family: Monaco; color: rgb(255, 255, 255); background-color: rgb(33, 33, 33);"> Iteration 14 (of 50). Current convergence value = 0.000494926 (threshold = 0)</div><div style="margin: 0px; font-size: 11px; font-family: Monaco; color: rgb(255, 255, 255); background-color: rgb(33, 33, 33);"> Iteration 15 (of 50). Current convergence value = 0.000493357 (threshold = 0)</div><div style="margin: 0px; font-size: 11px; font-family: Monaco; color: rgb(255, 255, 255); background-color: rgb(33, 33, 33);"> Iteration 16 (of 50). Current convergence value = 0.000491692 (threshold = 0)</div></div><div><br></div><div><br></div><div>Nick</div></body></html>