Digital detector