<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>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->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]="F:\\Medical imaging\\001\\prone"</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< ImageType JPEG2000>WriterType;<br>WriterType::Pointer writer=WriterType::New();<br>writer->SetFileName(001(proneprefer));<br>writer->SetInput(reader->GetOutput());<br>writer->Update;</div>
<div> </div>
<div>Thanks a lot.</div>
<div> </div>
<div>Dewen Kong</div>