Encoding vision for HTM

I am asking about this in a different but related thread.