Study of heavy metal contamination in river floodplains using the red-edge position in spectroscopic data