<commit_before>#include "itkImage.h"
#include "itkImageFileWriter.h"
#include <iostream>
#include "itkPolyLineParametricPath.h"

#include "otbImageFileReader.h"
#include "otbExtractROI.h"
#include "otbImageToPathListAlignFilter.h"
#include "otbDrawPathFilter.h"
//#include "otbColorImageViewer.h"


#include <stdio.h>

int main( int argc, char ** argv )
{
  if(argc!=3)
    {

    std::cout << "Usage : " << argv[0] << " inputImage outputImage" << std::endl;
    return 1;
    
    }

  const char * inputFilename  = argv[1];
  const char * outputFilename = argv[2];
       

  typedef unsigned char                                   InputPixelType;
  typedef unsigned char   	                        OutputPixelType;

  const   unsigned int        	                        Dimension = 2;

  typedef itk::Image< InputPixelType,  Dimension >	InputImageType;
  typedef itk::Image< OutputPixelType, Dimension >        OutputImageType;

  typedef otb::ImageFileReader< InputImageType  >         ReaderType;
  typedef itk::ImageFileWriter< OutputImageType >         WriterType;

  ReaderType::Pointer reader = ReaderType::New();
  WriterType::Pointer writer = WriterType::New();

  reader->SetFileName( inputFilename  );<commit_msg>Remplacement d'<itk::Image> par <otb::Image><commit_after>#include <iostream>
#include "itkPolyLineParametricPath.h"

#include "otbImage.h"
#include "otbImageFileWriter.h"
#include "otbImageFileReader.h"
#include "otbExtractROI.h"
#include "otbImageToPathListAlignFilter.h"
#include "otbDrawPathFilter.h"
//#include "otbColorImageViewer.h"


#include <stdio.h>

int main( int argc, char ** argv )
{
  if(argc!=3)
    {

    std::cout << "Usage : " << argv[0] << " inputImage outputImage" << std::endl;
    return 1;
    
    }

  const char * inputFilename  = argv[1];
  const char * outputFilename = argv[2];
       

  typedef unsigned char                                   InputPixelType;
  typedef unsigned char   	                        OutputPixelType;

  const   unsigned int        	                        Dimension = 2;

  typedef otb::Image< InputPixelType,  Dimension >	InputImageType;
  typedef otb::Image< OutputPixelType, Dimension >        OutputImageType;

  typedef otb::ImageFileReader< InputImageType  >         ReaderType;
  typedef otb::ImageFileWriter< OutputImageType >         WriterType;

  ReaderType::Pointer reader = ReaderType::New();
  WriterType::Pointer writer = WriterType::New();

  reader->SetFileName( inputFilename  );
{'fraction_non_alphanumeric': 0.11146881287726358, 'fraction_numerical': 0.00482897384305835, 'mean_word_length': 3.0357142857142856, 'pattern_counts': {'":': 0, '<': 33, '<?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': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3488382', 'n_tokens_mistral': 785, 'n_tokens_neox': 749, 'n_words': 167}