[Insight-users] Bug in itkDCMTKFileReader.cxx
Richard Frank
rfrank at dominionsw.com
Tue Jan 28 16:20:58 EST 2014
I notice the following code:
1. int
2. DCMTKFileReader
3. ::GetSlopeIntercept(double &slope, double &intercept)
4. {
5. if(this->GetElementDS<double>(0x0028,1053,1,&slope,false) != EXIT_SUCCESS)
6. {
7. slope = 1.0;
8. }
9. if(this->GetElementDS<double>(0x0028,1052,1,&intercept,false) != EXIT_SUCCESS)
10. {
11. intercept = 0.0;
12. }
13. return EXIT_SUCCESS;
14. }
Notice that the element numbers 1053, 1052 are not specified as hex.
I believe this is incorrect.
Rick
More information about the Insight-users
mailing list