def METHOD_NAME(image_scalar, width, height):
    image_scalar_norm = image_scalar / image_scalar.max()
    # Apply the colormap to the scalar image to obtain an RGB image
    image_rgb = viridis(image_scalar_norm)
    surface = (image_rgb[:, :, :3] * 255).astype(np.uint8)
    return surface