<div dir="ltr">Hi,<div><br></div><div>I have an itk:Image<<span style="color:rgb(128,128,0)">unsigned</span><span style="color:rgb(192,192,192)"> </span><span style="color:rgb(128,128,0)">short, 3> so I can see the different slices/frames on an QVTKWidget.</span></div><div><span style="color:rgb(128,128,0)"><br></span></div><div><span style="color:rgb(128,128,0)">I can export the frame I'm viewing to an JPG with vtkJPEGWriter() but it uses the windowrenderer and the output depends on the size of the widget.</span></div><div><span style="color:rgb(128,128,0)"><br></span></div><div><span style="color:rgb(128,128,0)">So I think it would be better to export the original. I'm using itk:ImageFileWriter, but I can't find how to specify the frame I want, so it gives an error saying my image has 3 dimensions and it can't export to 2D dimensions.</span></div><div><span style="color:rgb(128,128,0)"><br></span></div><div><span style="color:rgb(128,128,0)">I found itk::ExtractSliceImageFilter, but I can't find examples. I don't understand how to apply it to this case, can't find how to tell it "your output is the n frame".</span></div><div><span style="color:rgb(128,128,0)"><br></span></div><div><span style="color:rgb(128,128,0)">Is that the class I need? Any hints using it?</span></div><div><span style="color:rgb(128,128,0)"><br></span></div><div><br></div></div>