I can\'t understand the code starting from #LIST DEST PIXEL INDECES, I don\'t get why the and x and y are the way they are, why aren\'t they starting from 0,0 instead of DIM//2.