<commit_before>#include "mitkPicHelper.h"
#include "mitkSlicedGeometry3D.h"
#include "mitkPlaneGeometry.h"
#ifdef MBI_INTERNAL
#include "ipDicom.h"
#endif

bool mitk::PicHelper::GetSpacing(ipPicDescriptor* pic, Vector3D & spacing)
{
  ipPicTSV_t *tsv;
  
  tsv = ipPicQueryTag( pic, "PIXEL SIZE" );
  if(tsv)
  {
    if((tsv->dim*tsv->n[0]>=3) && (tsv->type==ipPicFloat))
    {
      if(tsv->bpe==32)
      {
        FillVector3D(spacing,((ipFloat4_t*)tsv->value)[0], ((ipFloat4_t*)tsv->value)[1],((ipFloat4_t*)tsv->value)[2]);
        return true;
      }
      else<commit_msg>unix compatibility fix<commit_after>#include "mitkPicHelper.h"
#include "mitkSlicedGeometry3D.h"
#include "mitkPlaneGeometry.h"
#ifdef MBI_INTERNAL
  #include "ipDicom/ipDicom.h"
#endif

bool mitk::PicHelper::GetSpacing(ipPicDescriptor* pic, Vector3D & spacing)
{
  ipPicTSV_t *tsv;
  
  tsv = ipPicQueryTag( pic, "PIXEL SIZE" );
  if(tsv)
  {
    if((tsv->dim*tsv->n[0]>=3) && (tsv->type==ipPicFloat))
    {
      if(tsv->bpe==32)
      {
        FillVector3D(spacing,((ipFloat4_t*)tsv->value)[0], ((ipFloat4_t*)tsv->value)[1],((ipFloat4_t*)tsv->value)[2]);
        return true;
      }
      else
{'fraction_non_alphanumeric': 0.1826677994902294, 'fraction_numerical': 0.022090059473237042, 'mean_word_length': 4.166666666666667, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 19, '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': '4107381', 'n_tokens_mistral': 524, 'n_tokens_neox': 503, 'n_words': 65}