code: def convert_to_decathlon(
      input_folder,
      output_folder="./",
      data_json="dataset.json",
      train_images_dir="imagesTr",
      train_labels_dir="labelsTr",
      test_images_dir="imagesTs",
      num_processes=8,
  ):
      crawl_and_remove_hidden_from_decathlon(input_folder)
      split_4d(
          input_folder,
          output_folder=output_folder,
          data_json=data_json,
          train_images_dir=train_images_dir,
          train_labels_dir=train_labels_dir,
          test_images_dir=test_images_dir,
          num_processes=num_processes,
      )
  
file_path: PaddleSeg/contrib/MedicalSeg/tools/preprocess_utils/convert_to_decathlon.py
imports: import os
  import shutil
  import numpy
  import SimpleITK
  from multiprocessing import Pool
  from .path_utils import join_paths
label_desc: Use image node_id 1 for calling a global function with example usage: convert_to_decathlon(input_folder, output_folder, data_json, train_images_dir, train_labels_dir, test_images_dir, num_processes) without return types