The operation provides an ability to resize input image. GammaCV supports a few different ways to reduce the dimension of an image, for example, we support "Nearest Neighbor Scaling" and an approach known as "Bicubic Scaling". Source of the algorithms source https://www.researchgate.net/publication/272092207_A_Novel_Visual_Cryptographic_Method_for_Color_Images
|tSrc||Tensor||The source image to be resized.|
|w||number||Width of output image.|
|h||number||Height of output image.|
|type?||string||Resize support two possible variants of processing|
pixels to be resized 'nearest', 'bicubic'.
// this line reduces an input image to 128x128 gm.resize(inputImage, 128, 128, 'bicubic');