You need to enable JavaScript to run this app.Upsample - GammaCV
GammaCV Logo
DocsExamplesGitHub

Upsample

Description

Your algorithms or other operations may rely on larger input than you have. You may use this operation to solve this, or for any other purposes.

Params
tSrcTensorThe source image to be upsampled.
coefficientnumberUpsampling coefficient.
type?stringUpsampling support two possible variants of interpolation
'nearest', 'bicubic'.
Example
// this line enlarge an input image in 3x
 gm.upsample(inputImage, 3);