If 'bicubic' is selected, the gray values are determined using bicubic interpolation.
Bicubic interpolation considers a weighted average of 16 pixels surrounding the closest corresponding pixel in the image. Based on the gray values of these 16 pixels a bicubic polynomial surface is constructed. This surface is then used to determine the gray value at the requested (sub-)pixel position. This approach produces smoother interpolation results and leads to fewer interpolation artifacts compared to bilinear or nearest neighbor interpolation.
Note that the resulting gray values may lie outside of the gray value range of the given image. If the interpolation method 'bicubic_clipped' is selected, these gray values are clipped to the gray value range of the input image. However, this method is only available for the determination of gray values at specific positions.
Note that bicubic interpolation may lead to unexpected results due to aliasing if the image is downscaled. To reduce these undesired effects, an interpolation method with integrated smoothing (see section “Bilinear Interpolation with Integrated Smoothing”) should be used if a high quality of downscaled images is required.