Semantic Segmentation Considering Image Degradation, Global Context, and Data Balancing