code: def __init__(self):
      super().__init__(
          dataset_root="data/MRSpineSeg",
          raw_dataset_dir="MRI_spine_seg_raw/",
          images_dir="MRI_train/train/MR",
          labels_dir="MRI_train/train/Mask",
          phase_dir="MRI_spine_seg_phase0_class20_big_12/",
          urls=urls,
          valid_suffix=("nii.gz", "nii.gz"),
          filter_key=(None, None),
          uncompress_params={"format": "zip", "num_files": 1},
      )
  
      self.preprocess = {
          "images": [
              wrapped_partial(normalize, min_val=0, max_val=2650),
              wrapped_partial(
                  resample, new_shape=[512, 512, 12], order=1
              ),
          ],  # original shape is (1008, 1008, 12)
          "labels": [
              wrapped_partial(
                  resample, new_shape=[512, 512, 12], order=0
              )
          ],
      }
  
file_path: PaddleSeg/contrib/MedicalSeg/tools/prepare_mri_spine_seg.py
imports: import os
  import sys
  import zipfile
  import functools
  import numpy
  from prepare import Prep
  from tools.preprocess_utils import resample, normalize, label_remap, join_paths
  from medicalseg.utils import wrapped_partial
label_desc: Use image node_id 1 to create a new Prep_mri_spine object from inherited base classes: Prep with example: obj = Prep_mri_spine()