View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0005752ITKpublic2007-09-19 15:132007-09-19 18:51
ReporterLuis Ibanez 
Assigned ToLuis Ibanez 
PriorityhighSeveritymajorReproducibilityalways
StatusclosedResolutionfixed 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version 
Summary0005752: ValueType trait is incorrectly defined in Vector, RGB and Tensor Traits
DescriptionThe trait ValueType was intended to be defined as the type of the scalar component of a vector type.

Additional InformationIn a scalar type, the trait ValueType is expected to be defined as the Self type.
In a vector type, the trait ValueType is expected to be defined as the type of the scalar component of the vector.

For example

NumericTrait<double>::ValueType ===> double
NumericTrait< Vector<double, 3 > >::ValueType =====> double
TagsNo tags attached.
Resolution Date
Sprint
Sprint Status
Attached Files

 Relationships
related to 0000221closedLuis Ibanez Allow basic image processing filter to take any input type 

  Notes
(0009158)
Luis Ibanez (manager)
2007-09-19 15:20

This must be fixed first,
in order to solve the ConceptChecking issues with FiniteDifferenceImageFilter (Bug 221)
because some of the classes deriving from this filter use Scalar images as input, while some other derived classes use Vector image as input.
(0009172)
Luis Ibanez (manager)
2007-09-19 18:45

The fix has been committed:
http://www.itk.org/cgi-bin/viewcvs.cgi/Code/Common/itkNumericTraitsVectorPixel.h?root=Insight&sortby=date&r2=1.8&r1=1.7 [^]
http://www.itk.org/cgi-bin/viewcvs.cgi/Code/Common/itkNumericTraitsVariableLengthVectorPixel.h?root=Insight&sortby=date&r2=1.3&r1=1.2 [^]
http://www.itk.org/cgi-bin/viewcvs.cgi/Code/Common/itkNumericTraitsTensorPixel.h?root=Insight&sortby=date&r2=1.8&r1=1.7 [^]
http://www.itk.org/cgi-bin/viewcvs.cgi/Code/Common/itkNumericTraitsCovariantVectorPixel.h?root=Insight&sortby=date&r2=1.3&r1=1.2 [^]
http://www.itk.org/cgi-bin/viewcvs.cgi/Code/Common/itkNumericTraitsRGBPixel.h?root=Insight&sortby=date&r2=1.11&r1=1.10 [^]
(0009174)
Luis Ibanez (manager)
2007-09-19 18:51

The fix was committed,
and Experimental build was submitted from Zion.

 Issue History
Date Modified Username Field Change
2007-09-19 15:13 Luis Ibanez New Issue
2007-09-19 15:17 Luis Ibanez Status new => assigned
2007-09-19 15:17 Luis Ibanez Assigned To => Luis Ibanez
2007-09-19 15:20 Luis Ibanez Note Added: 0009158
2007-09-19 15:20 Luis Ibanez Relationship added related to 0000221
2007-09-19 18:45 Luis Ibanez Note Added: 0009172
2007-09-19 18:51 Luis Ibanez Status assigned => closed
2007-09-19 18:51 Luis Ibanez Note Added: 0009174
2007-09-19 18:51 Luis Ibanez Resolution open => fixed


Copyright © 2000 - 2018 MantisBT Team