[ITK] [ITK-users] error using Richard-Lucy deconvolution
Matt McCormick
matt.mccormick at kitware.com
Thu Sep 8 14:22:01 EDT 2016
Hi Francisco,
As the error message indicates, the filter requires both inputs to
have the same "information", i.e. Origin and Spacing, since it assumes
that they occupy the same domain in physical space.
HTH,
Matt
On Thu, Sep 8, 2016 at 12:46 PM, Francisco <francisco.oliveira at fe.up.pt> wrote:
> Hi all,
> I'm trying to use itkRichardLucyDeconvolutionImageFilter but I have always
> the following error independently of the size, origin, spacing, ... of the
> input image and the kernel image. If I use other deconvolution filter (for
> instance itkLandweberDeconvolutionImageFilter) it works perfectly. I´m using
> the code example available in the ITK. I'm using itk-4.4.0 and VS2008.
>
> itk::ExceptionObject (0185E9CC)
> Location: "unknown"
> File:
> c:\libraries\itk-4.4.0\source\modules\core\common\include\itkImageToImageF
> ilter.hxx
> Line: 247
> Description: itk::ERROR: DivideOrZeroOutImageFilter(03631DB0): Inputs do not
> occupy the same physical space!
> InputImage Origin: [-2.8658594e+002, -2.1658594e+002, 9.9893402e+002],
> InputImage_1 Origin: [0.0000000e+000, 0.0000000e+000, 0.0000000e+000]
> Tolerance: 4.0000000e-006
> InputImage Spacing: [4.0000000e+000, 4.0000000e+000, 4.0000000e+000],
> InputImage_1 Spacing: [1.0000000e+000, 1.0000000e+000, 1.0000000e+000]
> Tolerance: 4.0000000e-006
>
>
>
>
> --
> View this message in context: http://itk-insight-users.2283740.n2.nabble.com/error-using-Richard-Lucy-deconvolution-tp7589179.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://public.kitware.com/mailman/listinfo/insight-users
_____________________________________
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://public.kitware.com/mailman/listinfo/insight-users
More information about the Community
mailing list