| 996 | } |
| 997 | |
| 998 | bool DICOMAppHelper::RescaledImageDataIsFloat() |
| 999 | { |
| 1000 | int s = int(this->RescaleSlope); |
| 1001 | int o = int(this->RescaleOffset); |
| 1002 | |
| 1003 | float sf = float(s); |
| 1004 | float of = float(o); |
| 1005 | |
| 1006 | double d1 = fabs(sf - this->RescaleSlope); |
| 1007 | double d2 = fabs(of - this->RescaleOffset); |
| 1008 | |
| 1009 | return d1 > 0.0 || d2 > 0.0; |
| 1010 | } |
| 1011 | |
| 1012 | void DICOMAppHelper::GetImageData(void*& data, DICOMParser::VRTypes& dataType, unsigned long& len) |
| 1013 | { |
no outgoing calls
no test coverage detected