add a klt interface reading data from c generated file ,also a img function which do some range reassignment