This article presents a method for determining nearpole ionization depletion regions and troughs from GNSS VTEC maps. To define the regions, we use Image processing tools, considering the VTEC maps as grey level images. In this work, watershed segmentation is applied to determine the edges of regions, based on the flow of areas between the lowest ionization zones (< 1%) and the medium ionization regions (> 10%). In order to enhance the contrast between low-ionization regions and those with a higher relative ionization, the histogram of the maps is equalized, which increases the contrast of the VTEC maps, which is the distance between low-ionization regions and those with a higher relative ionization is increased. The use of percentile thresholds makes this method independent of hypotheses about the generation of depletions, their morphology, or about the number of depletion regions that can occur on a map. We test the performance by comparing the depletion regions identified in eight events reported in the literature under different conditions of the ionosphere. The events used as reference were measured by satellites, radar, and GNSS. The method we propose allows for real-time processing of GNSS VTEC maps. The morphology of the detected regions matches the shape that is reported in the literature.