Text this: Image cluster algorithm of hybrid encoding method