A high resolution imaging detector for TeV gamma-ray astronomy