depending on the kind of surface , if low friction surface needed, high peaks must avoided. if the surface is designed to retain a lubricant or paint deep valleys are needed , reciprocating or bearing surfaces must not offer peaks or deep valleys
Hello, they are different variables. There are different types of roughness, all indicating a certain aspect of the morphology of the surface. For example, there are mean roughness(Ra), maximum height(Ry), ten-point mean roughness (Rz), mean spacing of profile irregularities (Sm), mean spacing of local peaks of the profile(S)and profile bearing length ratio (tp), etc.
There is little relationship between the average roughness and the maximum/minimum height.
The average roughness is the mean of the difference, in absolute value, between the average height and the height of each single pixel of the image. So, as in a typical image you have of the order of 512x512 pixels, the pixel with maximum/minimum height has little influence on both the average height and the average roughness.