High performance image coding: integration of different techniques by a knowledge-based recognition system