[ITK-users] error using Richard-Lucy deconvolution

Francisco Oliveira francisco.oliveira at fe.up.pt
Fri Sep 9 03:42:57 EDT 2016


Hi Matt,
I already tried that and it didn't work. Independently the kernel image I use the error is the same and the origin and spacing are always the same [0, 0, 0] and [1, 1, 1], respectively.

Francisco

-----Mensagem original-----
De: Matt McCormick [mailto:matt.mccormick at kitware.com] 
Enviada: quinta-feira, 8 de setembro de 2016 19:22
Para: Francisco
Cc: insight-users at itk.org
Assunto: Re: [ITK-users] error using Richard-Lucy deconvolution

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\itkImageToIm
> ageF
> 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-Luc
> y-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

-----
Não foram detetados vírus nesta  mensagem.
Verificado por AVG - www.avg.com
Versão: 2016.0.7752 / Base de dados de Vírus: 4649/12974 - Data de Lançamento: 09/08/16



More information about the Insight-users mailing list