Text this: Image restoration using a discrete point spread function with consideration of finite pixel size