[Insight-users] writing debug images to see the evolution of a level set

Juan Cardelino juan.cardelino at gmail.com
Wed May 26 13:25:57 EDT 2010


On Wed, May 26, 2010 at 2:00 PM, Luis Ibanez <luis.ibanez at kitware.com> wrote:
> Hi Juan,
>
>
> A)  The error in
>
>>>::SetTransform(itk::SmartPointer<itk::Euler2DTransform<double> >&)’
>
> says that the function is expecting:
>
>> TImage>::SetTransform(itk::AffineTransform<typename
>
>   That is, that you should use an AffineTransform instead of an
> Euler2DTransform.
>

Yeah,  I knew that, I have two versions of the code. One using
Euler2DTransform and another with AffineTransform, I guess I sent the
wrong one.

>
> B) The error in
>
>> error: passing ‘const
>> TOutputImage = itk::Image<float, 2u>]’ discards qualifiers
>
>
> Means that you are attempting to call a non-const method from the
> Execute() method of the Command observer where the observed
> class is supposed to be const.
>
> You should move that code to the non-const version of Execute().
>

Ok. I will look into this, thank you again.
Regards,
              Juan
>
>    Regards,
>
>
>          Luis
>
>


More information about the Insight-users mailing list