An adaptive weighting strategy for microwave imaging problems