With a gray-level transformation (e.g., uniform density transformation)