INDEXED RETRIEVAL BY SHAPE APPEARANCE