New image analysis method improves assessment of coral reefs