Codes to calculate histograms of void regions with regard to each defined sample.