Cloud mapping using ground-based imagers