Classification of Remote Sensing Images with Attribute Profiles and Extended Attribute Profiles