Medical Imaging Interaction Toolkit  2026.06.00
Medical Imaging Interaction Toolkit
mitk::AmbiguousPatientSexAdaptationRefusedException Class Reference

Ambiguous patient sex would have been resolved as the IBSI mean of the male- and female-specific normalization, but the active policy is Strict. More...

#include <mitkSUVCalculationHelper.h>

Inheritance diagram for mitk::AmbiguousPatientSexAdaptationRefusedException:
Collaboration diagram for mitk::AmbiguousPatientSexAdaptationRefusedException:

Public Member Functions

 mitkExceptionClassMacro (AmbiguousPatientSexAdaptationRefusedException, BenchmarkAdaptationRequiredException)
 
- Public Member Functions inherited from mitk::BenchmarkAdaptationRequiredException
 mitkExceptionClassMacro (BenchmarkAdaptationRequiredException, SUVHelperException)
 
- Public Member Functions inherited from mitk::SUVHelperException
 mitkExceptionClassMacro (SUVHelperException, mitk::Exception)
 
- Public Member Functions inherited from mitk::Exception
 Exception (const char *file, unsigned int lineNumber=0, const char *desc="None", const char *loc="Unknown")
 Construct an exception with source location and description. More...
 
 ~Exception () override throw ()
 Destructor. More...
 
virtual const char * GetClassName () const
 
void AddRethrowData (const char *file, unsigned int lineNumber, const char *message)
 Record additional rethrow context for this exception. More...
 
int GetNumberOfRethrows ()
 Return the number of times this exception has been rethrown. More...
 
void GetRethrowData (int rethrowNumber, std::string &file, int &line, std::string &message)
 Retrieve the rethrow context for a specific rethrow. More...
 
template<class T >
Exception & operator<< (const T &data)
 Append data to the exception description via the stream operator. More...
 
template<class T >
Exception & operator<< (T &data)
 Append non-const data to the exception description via the stream operator. More...
 
Exception & operator<< (std::ostream &(*func)(std::ostream &))
 Append a stream manipulator (e.g. std::endl) to the exception description. More...
 

Additional Inherited Members

- Protected Attributes inherited from mitk::Exception
std::vector< ReThrowData > m_RethrowData
 List of recorded rethrow contexts. More...
 

Detailed Description

Ambiguous patient sex would have been resolved as the IBSI mean of the male- and female-specific normalization, but the active policy is Strict.

Sex-specific SUV variants (LBM_Janmahasatian, LBM_James128, IBW) have publication formulas defined for Male and Female only. The IBSI-SUV benchmark recommends, for ambiguous sex, using the mean of the male- and female-specific scale numerators. "Ambiguous" covers both Sex::Other and the case where no patient sex was resolved at all (DICOM tag absent / unknown / no override). That adaptation is applied automatically under DICOMReadPolicy::Lenient (with a MITK_WARN). Under DICOMReadPolicy::Strict it is refused and this exception is raised; the caller must either supply an unambiguous patient sex via override or relax the policy.

The adaptation is invoked upstream of the SUVNormalizationStrategy implementations, which themselves are sex-closed and accept Sex::Male / Sex::Female only.

Definition at line 237 of file mitkSUVCalculationHelper.h.

Member Function Documentation

◆ mitkExceptionClassMacro()

mitk::AmbiguousPatientSexAdaptationRefusedException::mitkExceptionClassMacro ( AmbiguousPatientSexAdaptationRefusedException  ,
BenchmarkAdaptationRequiredException   
)

The documentation for this class was generated from the following file: