Image reconstruction in astronomy, medicine and microscopy