[Insight-users] itkLinearInterpolateImageFunctionTest Failing?

Bill Lorensen bill.lorensen at gmail.com
Wed Feb 15 15:12:20 EST 2012


I don't think we have any dashboard machines for that configuration.
It could be a problem.

On Wed, Feb 15, 2012 at 2:20 PM, Rick Frank <rickf at fullspectrumsw.com> wrote:
> Hi,
>
>
>
> On our build, 64 bit Windows Vision Studio 2010, ITK 4.0.0 (from the .zip
> file on the main web page, not from Git Repo)
>
>
>
> The itkLinearInterpolateImageFunctionTest is failing with the output below;
> Is this a known issue, a configuration issue on our part?
>
>
>
> Thanks
>
>
>
>
>
> Rick Frank
>
>
>
> ------- Results below--------------
>
>
>
> ***** Testing dimensionality of 1 *****
>
> Image (00000000031A6660)
>
>   RTTI typeinfo:   class itk::Image<float,1>
>
>   Reference Count: 1
>
>   Modified Time: 29
>
>   Debug: Off
>
>   Observers:
>
>     none
>
>   Source: (none)
>
>   Source output name: (none)
>
>   Release Data: Off
>
>   Data Released: False
>
>   Global Release Data: Off
>
>   PipelineMTime: 0
>
>   UpdateMTime: 0
>
>   RealTimeStamp: 0 seconds
>
>   LargestPossibleRegion:
>
>     Dimension: 1
>
>     Index: [0]
>
>     Size: [3]
>
>   BufferedRegion:
>
>     Dimension: 1
>
>     Index: [0]
>
>     Size: [3]
>
>   RequestedRegion:
>
>     Dimension: 1
>
>     Index: [0]
>
>     Size: [3]
>
>   Spacing: [1]
>
>   Origin: [0]
>
>   Direction:
>
> 1
>
>
>
>   IndexToPointMatrix:
>
>   1
>
>
>
>   PointToIndexMatrix:
>
>   1
>
>
>
>   Inverse Direction:
>
>   1
>
>
>
>   PixelContainer:
>
>     ImportImageContainer (0000000002D0FDE0)
>
>       RTTI typeinfo:   class itk::ImportImageContainer<unsigned long,float>
>
>       Reference Count: 1
>
>       Modified Time: 30
>
>       Debug: Off
>
>       Observers:
>
>         none
>
>       Pointer: 0000000003181100
>
>       Container manages memory: true
>
>       Size: 3
>
>       Capacity: 3
>
> Image Data:
>
> * dimIt[3], dimIt[2]: 0, 0
>
> 0 3 6
>
> Error found while computing variable  vector interpolation
>
> Point = [0]
>
> Expected variablevector = [0, 0, 0, 0]
>
> Computed variablevector = [-4.31602e+008, -4.31602e+008, -4.31602e+008,
> -4.31602e+008]
>
> Difference     = [4.31602e+008, 4.31602e+008, 4.31602e+008, 4.31602e+008]
>
> Failed for dimensionality 1.
>
>
>
> This also fails similarly for dimensionality 2, 3 and 4.
>
>
>
> Here is the code where it’s failing in
> itkLinearInterpolateImageFunctionTest.cxx:
>
>
>
>                    const InterpolatedVariableVectorType variablevectorpixel
> =
>
>                     variablevectorinterpolator->Evaluate( point );
>
>
>
>                    InterpolatedVariableVectorType expectedvariablevector;
>
>                    expectedvariablevector.SetSize(VectorDimension);
>
>                    expectedvariablevector.Fill(expectedValue);
>
>
>
>                    const double varerrornorm =
>
>                     (expectedvariablevector -
> variablevectorpixel).GetNorm();
>
>
>
>                    if( varerrornorm > tolerance )
>
>                      {
>
>                      std::cerr << "Error found while computing variable "
>
>                                << " vector interpolation " << std::endl;
>
>                      std::cerr << "Point = " << point << std::endl;
>
>                      std::cerr << "Expected variablevector = "
>
>                       << expectedvariablevector << std::endl;
>
>                      std::cerr << "Computed variablevector = "
>
>                       << variablevectorpixel << std::endl;
>
>                      std::cerr << "Difference     = "
>
>                       << (expectedvariablevector - variablevectorpixel)
>
>                       << std::endl;
>
>                      return EXIT_FAILURE;
>
>                      }
>
>
>
>
>
> The particular Evaluate method called is the following:
>
>
>
>   virtual OutputType Evaluate(const PointType & point) const
>
>   {
>
>     ContinuousIndexType index;
>
>
>
>     this->GetInputImage()->TransformPhysicalPointToContinuousIndex(point,
> index);
>
>     return ( this->EvaluateAtContinuousIndex(index) );
>
>   }
>
>
>
>
>
>
>
> Full Spectrum Software
>
> 225 Turnpike Rd.
>
> Southborough, MA 01772
>
> O. 508-620-6400
>
> F. 508-620-6465
>
> An ISO 13485 Certified Company
>
> rickf at fullspectrumsoftware.com
>
>
>
> www.FullSpectrumSoftware.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.html
>
> 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
>



-- 
Unpaid intern in BillsBasement at noware dot com


More information about the Insight-users mailing list