Image Interpolation with Geometric Contour Stencils
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros
Functions
nninterp.c File Reference

Nearest neighbor image interpolation. More...

#include <math.h>
#include "nninterp.h"
Include dependency graph for nninterp.c:

Go to the source code of this file.

Functions

void NearestInterp (uint32_t *Output, int OutputWidth, int OutputHeight, uint32_t *Input, int InputWidth, int InputHeight, float ScaleFactor, int CenteredGrid)
 

Detailed Description

Nearest neighbor image interpolation.

Author
Pascal Getreuer getre.nosp@m.uer@.nosp@m.gmail.nosp@m..com

Copyright (c) 2010-2011, Pascal Getreuer All rights reserved.

This program is free software: you can use, modify and/or redistribute it under the terms of the simplified BSD License. You should have received a copy of this license along this program. If not, see http://www.opensource.org/licenses/bsd-license.html.

Definition in file nninterp.c.

Function Documentation

void NearestInterp ( uint32_t *  Output,
int  OutputWidth,
int  OutputHeight,
uint32_t *  Input,
int  InputWidth,
int  InputHeight,
float  ScaleFactor,
int  CenteredGrid 
)

Definition at line 20 of file nninterp.c.