Bicubic grid sampler

Can anyone help me with different grid sampling techniques. I want to implement bicubic grid sampling.