Dear all,<br>I am working with images in 3D, but I need to manipulate these images in 2D. After some processing I get an index SliceImageType::IndexType pixelIndex and I would like to create a 3D image setting this index to 90. I don't know how to do it, because this index has 2D and the image 3D. has anyone any suggestion?<br>
<br> InputImageType::Pointer img = InputImageType::New(); <br> img->SetRegions( input->GetLargestPossibleRegion() );<br> img->Allocate();<br> img->FillBuffer( 0 );<br> img->SetPixel( ??, 90 );<br>
<br>Best regards<br>Bert<br>