Monday, November 27, 2006

Image tricks

Hmmm...I was working on a toy AI program last night and ran into an interesting problem, I hadn't thought of. Basically the program was setup to display series of 'neurons' that had the following graphical representation:

B W W B
W A A W
W A A W
B W W B

Where B = Black, W = Connection Weight, and A = Activity
Well when testing I had all the W, set to be red, and was alternating the A

Here is segment with A with yellow:











Here it is again with A = black:


Here is both zoomed in, obviously no orange:
Active:


Inactive:



I should have figured this due to on-center off-surround cells for our optical processing, but it's still a pain, since I configured 4x4 pixels for each 'neuron'. I've decided to change it to:

B W W W W B
W B B B B W
W B A A B W
W B A A B W
W B B B B W
B W W W W B

Which should fix it since the edges between colors would be static.

No comments: