Intelligent pattern detection and compression. An application to very low bit rate transmission of ship wake aerial images