Encoding RGB image

Hello everyone,

i just started to learning about HTMs and have few questions for which I cant find answers on Google or this forums.

Does input to HTM must be sparse (can i just convert rgb pixels into bit sequence? If yes, is there any better way to encode image than encoding RGB pixels into three integers using integer sparse coder?


It is not as simple as it seems.

Definitely read through this thread, which exposes a lot of the challenges involved in this problem:

Another relevant thread: