Reconstructing digital sets from X-rays