Text this: Time series image coding classification theory based on Lagrange multiplier method