1. A method for segmenting a structure of interest in medical imaging data, comprising: generating a binary mask highlighting structures in medical imaging data, the highlighted structures comprising a connected component including a structure of interest; computing a probability map by classifying voxels in the highlighted structures using a trained classifier; performing a plurality of detaching operations on the highlighted structures to split the connected component into a plurality of detached connected components; determining an optimal detaching parameter representing a number of the detaching operations; and classifying a detached connected component resulting from performing the number of detaching operations corresponding to the optimal detaching parameter as the structure of interest based on the probability map and the trained classifier.