An efficient image representation for multiscale analysis