|
How to perform interpolation on a image (2D array) - specify output size
- Make sure you have added "InterpolationLIB.dll" to your project. You will need pro version for features in this sample.

- Now we are ready to code. First, we need to declare and initialize input array

- Finally, we just call Do2 method from InterpolationLIB. Call static Do2 method of Interpolator class in which interpolation type can be set programmatically.

- Here's a screen-shot of the program output if we print input and output arrays to console

Here is the complete source code of the program.
Back
|