Electroporation-based treatment planning for deep-seated tumors based on automatic liver segmentation of MRI images