magick $IMAGE_PATH -set colorspace Gray -separate -average $IMAGE_PATH