title: What's the difference between various image resizing algorithms in the module of PIL.Image?
body: <p>As described in <a href="https://pillow.readthedocs.io/en/3.0.0/reference/Image.html" rel="noreferrer">Image.resize</a>, there are multiple mothods to resize an image. For eexample, <code>PIL.Image.NEAREST</code>, <code>PIL.Image.BILINEAR</code>, <code>PIL.Image.BICUBIC</code> et al. But in <a href="https://github.com/itijyou/ademxapp/blob/master/util/util.py" rel="noreferrer">util.py</a> for semantic segmentation, <code>Image.ANTIALIAS</code> is used when target image  size is smaller than source image, and <code>Image.BICUBIC</code> is used when target image is larger, even <code>Image.LINEAR</code> is also used. What's the difference among them? </p>