2D Upsampling

Repeats the rows and columns to form a larger image.

Parameters

Horizontal scaling factor.

Vertical scaling factor.