[Paraview] Volume positioning
padraig
padraig.looney at gmail.com
Mon Nov 14 10:04:10 EST 2016
I have used MHA and NIFTII. I have converted the MHA into NIFTII using
both c3d and ITK.
On 14/11/16 14:59, Cory Quammen wrote:
> What file format are you using to load the volumes into ParaView? A
> number of formats support volume positioning, so this should be
> possible, unless you are loading a series of TIFF images, for example.
>
> Thanks,
> Cory
>
> On Mon, Nov 14, 2016 at 5:32 AM, padraig <padraig.looney at gmail.com> wrote:
>> Dear list,
>>
>> I have been having problems with the positioning of volumes using Paraview.
>> ITK tells me that, using,
>>
>> IteratorType it2( img_input, img_input->GetLargestPossibleRegion() );
>>
>> it2.GoToBegin();
>> ImageType::IndexType begin = it2.GetIndex();
>> img_input->TransformIndexToPhysicalPoint(it2.GetIndex(),p0);
>> it2.GoToEnd();
>> --it2;
>> img_input->TransformIndexToPhysicalPoint(it2.GetIndex(),p1);
>> std::cout << p0 << p1 << std::endl;
>>
>> two volumes I have have the positions
>>
>>
>> [-102.536, -106.413, 30.1491][102.512, 106.414, 177.564]
>>
>> and
>>
>> [-102.536, -106.413, 30.1491][102.512, 106.414, -117.265]
>>
>> When I load these into Paraview they occupy the same volume. In Slicer3D the
>> volumes are distinct as I expect above.
>>
>> Thanks
>> Pádraig
>> _______________________________________________
>> Powered by www.kitware.com
>>
>> Visit other Kitware open-source projects at
>> http://www.kitware.com/opensource/opensource.html
>>
>> Please keep messages on-topic and check the ParaView Wiki at:
>> http://paraview.org/Wiki/ParaView
>>
>> Search the list archives at: http://markmail.org/search/?q=ParaView
>>
>> Follow this link to subscribe/unsubscribe:
>> http://public.kitware.com/mailman/listinfo/paraview
>
>
More information about the ParaView
mailing list