Description of the spatial gray level dependence method algorithm