A method for identifying target regions in a tissue for local drug delivery, where functional and/or structural anatomical data such as edema and/or resection cavity is captured by an imaging system, and where the anatomical data is evaluated by segmentation techniques such as region-growing-based methods with computer assistance to determine a margin around a resection cavity and/or the volume of edema, the margin and/or the volume of edema being the target tissue for local drug delivery.