[Insight-users] ExtractImageFilter for vector field
Bradley Lowekamp
blowekamp at mail.nih.gov
Mon Jul 29 12:05:56 EDT 2013
Hello,
This error message indicates that the "ExtractionRegion" is not correctly set.
What are you setting it to?
Likely this relates to the expected specification of this parameters and the number of zeroed size value. More information can be read in the doxygen:
http://www.itk.org/Doxygen/html/classitk_1_1ExtractImageFilter.html
Since you are not changing dimensions you should have no zeros size dimensions. So this line:
size[plane] = 0;
should likely be:
size[plane] = 1;
Brad
On Jul 29, 2013, at 11:58 AM, Sadegh <sadegh.riyahi at gmail.com> wrote:
> Hello Bradley
>
> Here is the content of exception handling.
>
> ExceptionObject caught !
>
> itk::ExceptionObject (00CDF978)
> Location: "void __thiscall itk::ExtractImageFilter<class itk::Image<class
> itk::V
> ector<float,3>,3>,class itk::Image<class itk::Vector<float,3>,3>
>> ::SetExtractio
> nRegion(class itk::ImageRegion<3>)"
> File:
> d:\phd-project\open-source\insighttoolkit-4.1.0\modules\core\common\includ
> e\itkExtractImageFilter.hxx
> Line: 99
> Description: itk::ERROR: ExtractImageFilter(03F4CB88): Extraction Region not
> con
> sistent with output image
>
> Any idea?
>
> Thanks
>
>
>
> -----
> Sadegh Riyahi
> Politecnico di Milano
> --
> View this message in context: http://itk-insight-users.2283740.n2.nabble.com/ExtractImageFilter-for-vector-field-tp7583612p7583617.html
> Sent from the ITK Insight Users mailing list archive at Nabble.com.
> _____________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Kitware offers ITK Training Courses, for more information visit:
> http://www.kitware.com/products/protraining.php
>
> Please keep messages on-topic and check the ITK FAQ at:
> http://www.itk.org/Wiki/ITK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.itk.org/mailman/listinfo/insight-users
More information about the Insight-users
mailing list