<commit_before>#include "rtkTestConfiguration.h"

#include <itkImageFileReader.h>
#include <itkPasteImageFilter.h>

#include "rtkAmsterdamShroudImageFilter.h"
#include "rtkConstantImageSource.h"
#include "rtkTestConfiguration.h"
#include "rtkThreeDCircularProjectionGeometryXMLFile.h"
#include "rtkRayEllipsoidIntersectionImageFilter.h"
#include "rtkConfiguration.h"
#include "rtkReg1DExtractShroudSignalImageFilter.h"
#include "rtkDPExtractShroudSignalImageFilter.h"

template<class TInputImage>
#if FAST_TESTS_NO_CHECKS
void CheckImageQuality(typename TInputImage::Pointer itkNotUsed(recon), typename TInputImage::Pointer itkNotUsed(ref))
{
}
#else
void CheckImageQuality(typename TInputImage::Pointer recon, typename TInputImage::Pointer ref)
{
  typedef itk::ImageRegionConstIterator<TInputImage>  ImageIteratorInType;
  ImageIteratorInType itTest( recon, recon->GetBufferedRegion() );
  ImageIteratorInType itRef( ref, ref->GetBufferedRegion() );

  typedef double ErrorType;
  ErrorType TestError = 0.;
  ErrorType EnerError = 0.;

  itTest.GoToBegin();
  itRef.GoToBegin();

  while( !itRef.IsAtEnd() )
    {
    typename TInputImage::PixelType TestVal = itTest.Get();
    typename TInputImage::PixelType RefVal  = itRef.Get();<commit_msg>Fixed missing include<commit_after>#include "rtkTestConfiguration.h"

#include <itkImageFileReader.h>
#include <itkPasteImageFilter.h>

#include "rtkAmsterdamShroudImageFilter.h"
#include "rtkConstantImageSource.h"
#include "rtkTestConfiguration.h"
#include "rtkThreeDCircularProjectionGeometryXMLFile.h"
#include "rtkRayEllipsoidIntersectionImageFilter.h"
#include "rtkConfiguration.h"
#include "rtkReg1DExtractShroudSignalImageFilter.h"
#include "rtkDPExtractShroudSignalImageFilter.h"
#include "rtkMacro.h"

template<class TInputImage>
#if FAST_TESTS_NO_CHECKS
void CheckImageQuality(typename TInputImage::Pointer itkNotUsed(recon), typename TInputImage::Pointer itkNotUsed(ref))
{
}
#else
void CheckImageQuality(typename TInputImage::Pointer recon, typename TInputImage::Pointer ref)
{
  typedef itk::ImageRegionConstIterator<TInputImage>  ImageIteratorInType;
  ImageIteratorInType itTest( recon, recon->GetBufferedRegion() );
  ImageIteratorInType itRef( ref, ref->GetBufferedRegion() );

  typedef double ErrorType;
  ErrorType TestError = 0.;
  ErrorType EnerError = 0.;

  itTest.GoToBegin();
  itRef.GoToBegin();

  while( !itRef.IsAtEnd() )
    {
    typename TInputImage::PixelType TestVal = itTest.Get();
    typename TInputImage::PixelType RefVal  = itRef.Get();
{'fraction_non_alphanumeric': 0.10388580491673276, 'fraction_numerical': 0.0023790642347343376, 'mean_word_length': 7.760416666666667, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 15, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3085473', 'n_tokens_mistral': 844, 'n_tokens_neox': 831, 'n_words': 149}