updated
extract image brightnesses