Pinhole quantum ghost imaging