User Manual¶
Growth of Lesion¶
The optimization problem is solved thanks to the minimization of the Lagrangian
See our paper for more details.
Tutorial¶
Open Parameters.py and modify them as you wish:
fis a scaling parameters such that the size of the original image is multiplied byf.T, dt, Nis the time in day, the time step and the number of iterations respectively.tol, (rho1, rho2), Maxiteris the tolerance of the cost function, the parmaters of the gradient method, and the maximum number of iteration to compute the gradient respectively.
In a terminal, you can run the code as sequential using
python LoopOnFolders.py
In a terminal, you can run the code as parallel using
mpirun -n 4 python LoopOnFolders.py
The results will be in the res folder. VTI files require paraview to be visualised.