[Insight-users] Why does the VTK file writer not save the origin?
Luis Ibanez
luis.ibanez at kitware.com
Sun Apr 17 17:51:40 EDT 2005
Hi Todd,
Thanks for pointing this out.
This looks like a bug.
Could you please report it in the phpBugTracker:
http://www.itk.org/Bug
Thanks
Luis
---------------------
Todd Gable wrote:
> The origin was always set to [0,0,0] in the VTK header unless I used ChangeFilterType. Shouldn't the writer use the origin that the image provides? It seems to keep all other meta-data except the origin.
>
> ChangeFilterType::Pointer changefilter2 = ChangeFilterType::New();
> changefilter2->ChangeOriginOn();
> changefilter2->SetOutputOrigin(origin);
> changefilter2->SetInput(imageOut);
>
>
> Todd Gable
>
>
> _______________________________________________
> Insight-users mailing list
> Insight-users at itk.org
> http://www.itk.org/mailman/listinfo/insight-users
>
>
More information about the Insight-users
mailing list