[Insight-users] ExtractImageFilter for vector field
Bradley Lowekamp
blowekamp at mail.nih.gov
Mon Jul 29 11:39:16 EDT 2013
OK,
So you are not catching and printing the C++ exception which occurs? The following example shows how to do that:
http://www.itk.org/Wiki/ITK/Examples/SimpleOperations/TryCatch
Please report back with the content of the exception being thrown.
Brad
On Jul 29, 2013, at 11:36 AM, Sadegh <sadegh.riyahi at gmail.com> wrote:
> The problem is that I get the Runtime error right before calling the function
> "extract2DImageSlice" (below), which I do not get any error when I give
> scalar image as an input instead.
>
> vectorimage = extract2DImageSlice(deffield, Component, j); //deffield is
> the deformation field
>
> this vectorimage variable would be input of jacobiandeterminantfilter.
>
> Thanks for your help.
>
>
>
>
> -----
> Sadegh Riyahi
> Politecnico di Milano
> --
> View this message in context: http://itk-insight-users.2283740.n2.nabble.com/ExtractImageFilter-for-vector-field-tp7583612p7583613.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