[x,map]=gifread('/home/signal/tranden/datafiler/textures/msu/even1.hips.gif');
x_1=255*ind2gray(x,map);
[x,map]=gifread('/home/signal/tranden/datafiler/textures/msu/odd1.hips.gif');
x_2=255*ind2gray(x,map);
% x_1=load_texture( 8,128,128);
% x_2=load_texture(84,128,128);
c=cp_nnfilt([x_1 x_2],x_1,x_2);
gimage(c,'colorbar','off'); 

