Hello,<br><br>Inside the `InsightToolkit` directory there is the `Examples/Segmentation/ConnectedThresholdImageFilter.xx` file.<br><br>Now, I want to make it operate on a three dimensional image. In this case, will the changes that I have to do bee applied to those lines of code (lines 102-110):<br>

<br>    int main( int argc, char *argv[])<br>    {<br>      if( argc &lt; 7 )<br>        {<br>        std::cerr &lt;&lt; &quot;Missing Parameters &quot; &lt;&lt; std::endl;<br>        std::cerr &lt;&lt; &quot;Usage: &quot; &lt;&lt; argv[0];<br>

        std::cerr &lt;&lt; &quot; inputImage  outputImage seedX seedY lowerThreshold upperThreshold&quot; &lt;&lt; std::endl;<br>        return 1;<br>        }<br><br>And, in order to do that, should I add the following `seedZ` to:<br>

<br>    std::cerr &lt;&lt; &quot; inputImage  outputImage seedX seedY lowerThreshold upperThreshold&quot; &lt;&lt; std::endl;<br><br>And, what change should I perform to the arguments in this case?<br><br>Thanks a lot.<br>