<div>Hi, guys.</div>
<div> </div>
<div>I am a new ITK user. when I try to read 2D DICOM series to a JPEG2000 3D volume. when I look at the guide book. there are some problems.</div>
<div> </div>
<div>1) in case no optional series identifier, we usally add the following:</div>
<div> </div>
<div>if(argc&gt;3) <br>{<br> seriesIdentifier=argv[3]<br>}</div>
<div> (1) what is the definition of argc?</div>
<div> (2) generally, how to set the argv[3]?</div>
<div> </div>
<div>2) about this setence.</div>
<div>    nameGenerator-&gt;SetDirectory(argv[1]);</div>
<div>  when I set the direction, do I just have to write the direction of the file that contains the series?</div>
<div> it is right if I put the program like this:  agv[1]=&quot;F:\\Medical imaging\\001\\prone&quot;</div>
<div>3) about the write the volume.</div>
<div>   will that be OK if I just write like this:</div>
<div> </div>
<div> </div>
<div>typedef itk::ImageFileWriter&lt; ImageType JPEG2000&gt;WriterType;<br>WriterType::Pointer writer=WriterType::New();<br>writer-&gt;SetFileName(001(proneprefer));<br>writer-&gt;SetInput(reader-&gt;GetOutput());<br>writer-&gt;Update;</div>

<div> </div>
<div>Thanks a lot.</div>
<div> </div>
<div>Dewen Kong</div>