I'm trying to change the code of BrainTumorSegmentation to more c++ code