19 #ifndef rtkMaximumIntensityProjectionImageFilter_h 20 #define rtkMaximumIntensityProjectionImageFilter_h 36 template <
class TInput,
class TOutput>
52 return !(*
this != other);
58 const TInput volumeValue,
61 TOutput tmp =
static_cast<TOutput
>(volumeValue);
76 template <
class TInput,
class TOutput>
90 return !(*
this != other);
97 const TOutput & rayCastValue,
102 const VectorType & itkNotUsed(farthestPoint))
const 104 TOutput tmp =
static_cast<TOutput
>(input);
105 if (tmp < rayCastValue)
109 output = tmp * stepInMM.GetNorm();
127 template <
class TInputImage,
129 class TInterpolationWeightMultiplication = Functor::InterpolationWeightMultiplication<
130 typename TInputImage::PixelType,
132 class TProjectedValueAccumulation =
133 Functor::MaximumIntensityProjectedValueAccumulation<
typename TInputImage::PixelType,
134 typename TOutputImage::PixelType>,
136 Functor::MaximumIntensityAlongRay<typename TInputImage::PixelType, typename TOutputImage::PixelType>>
140 TInterpolationWeightMultiplication,
141 TProjectedValueAccumulation,
155 #ifdef itkOverrideGetNameOfClassMacro bool operator==(const MaximumIntensityProjectedValueAccumulation &other) const
void operator()(const ThreadIdType, TOutput &mipValue, const TInput volumeValue, const VectorType &)
typename TPixelType::ValueType ValueType
Function to calculate maximum intensity step along the ray projection.
bool operator!=(const MaximumIntensityAlongRay &) const
Function to compute the maximum intensity (MIP) value along the ray projection.
bool operator==(const MaximumIntensityAlongRay &other) const
bool operator!=(const MaximumIntensityProjectedValueAccumulation &) const
Joseph forward projection.
unsigned int ThreadIdType
void operator()(const ThreadIdType, const TInput &input, TOutput &output, const TOutput &rayCastValue, const VectorType &stepInMM, const VectorType &, const VectorType &, const VectorType &, const VectorType &) const