[Insight-users] how to change 2D ITK-images to 3D Image Volume

Bradley Lowekamp blowekamp at mail.nih.gov
Mon Sep 30 08:34:21 EDT 2013


Hello,

I think the problem is that you not setting the inputs starting at input number 0->N, you are currently going from 3584->3585. Try using continuous input indexes starting from 0.

Brad

On Sep 27, 2013, at 11:59 PM, shiwei <swingsw89 at 163.com> wrote:
> ...
> 	for(slice=3584;slice<3586;++slice)
> 	{	
> ...
> 		joinFilter->SetInput(slice,toReal->GetOutput());
> 	}
> ...

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20130930/c68152b6/attachment.htm>


More information about the Insight-users mailing list