Multiscale document description using rectangular granulometries