Multiresolution image analysis based on local symmetries