[Insight-users] Need help with PermuteAxesImageFilter
Luis Ibanez
luis.ibanez at kitware.com
Mon Aug 28 11:46:12 EDT 2006
Hi MX
Have you tried passing the MetaDataDictionaries without
any modifications, and also skipping the PermuteAxis,
and Region of Interest filters ?
It still looks like you have a simple pointer assignment
problem.
Please give it a try to remove the PermuteAxes and Region
of Interest filters from your pipeline, pass the MetaDictionaries
unchanged, and let us know what you find.
Thanks
Luis
-----------------
MX wrote:
>
> Hi Luis,
> I don't think that's the problem, because just
> before I set the MetaDataDictionaryArray I check its size
> and the values I changed. And they were still intact.
> If the DictionaryArray would be a null pointer it would crash there.
> Or do I have to set up the SeriesWriter in a special way to take the array?
>
> I tried it in this way:
> Take the MetaDataDictionary from the SeriesReader,
> change the values you mentioned,
> and give it back to the SeriesWriter,
>
> Thanks,
> Martin
>
>
>> Hi Mx,
>>
>> That error message doesn't seem to be related to the actual content of
>> the tags in the MetaDictionary.
>>
>> It is rather likely that you are using a pointer to a MetaDictionary
>> object without having allocated the actual object for it.
>>
>> Please add a break point to line 48 of
>>
>> Code/Common/itkMetaDataDictionary.cxx:48
>>
>> and check the values of the pointers:
>>
>> m_Dictionary
>> old.m_Dictionary
>>
>>
>> It is quite likely that one of them is a NULL pointer,
>> or a pointer to a deleted object.
>>
>>
>> Please let us know what you find.
>>
>>
>>
>> Thanks
>>
>>
>>
>> Luis
>>
>>
>>
>>
>
>
> _______________________________________________
> 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