1. A computer-implemented method of segmenting an infarct in a diffusion-weighted imaging (DWI) volume, said DWI volume comprising a plurality of slices, each slice comprising a plurality of pixels forming an original image, said method comprising the steps of: selecting a Region of Interest (ROI) in at least one selected slice of said DWI volume containing an infarct in said original image, said ROI comprising said whole slice or at least a portion of said slice; selecting a suitable threshold for a minimum size of an infarct region, said threshold specifying a minimum number of pixels; convolving an energy mask with said selected slice, and normalizing said resulting energy image to occupy a predefined gray scale; selecting a ROI in said convolved energy image without a background region; determining a threshold for eliminating the background; determining an initial threshold using a histogram of said ROI of said slice without a background region, and performing an initial segmentation of said slice using said initial threshold; labeling individual components of said initial segmentation of said slice to identify regions present after threshold determination and binarization; and determining a final threshold using histograms of labeled components of said initial segmentation, and performing a final segmentation of said slice using said final threshold.