Influence of gray level and space discretization on brain tumor heterogeneity measures obtained from magnetic resonance images