Fix double type in process that returns the image bands distribution.