NVIDIA Performance Primitives (NPP)
Version 9.2
|
Routines manipulating an image geometry. More...
Modules | |
ResizeSqrPixel | |
ResizeSqrPixel supports the following interpolation modes: |
|
Resize | |
This simplified function replaces the previous version which was deprecated in an earlier release. |
|
ResizeBatch | |
In this function as in nppiResize the resize scale factor is automatically determined by the width and height ratios of oSrcRectROI and oDstRectROI. |
|
Remap | |
Remap supports the following interpolation modes: |
|
Rotate | |
Rotates an image around the origin (0,0) and then shifts it. |
|
Mirror | |
Mirrors images horizontally, vertically or diagonally. |
|
MirrorBatch | |
Mirrors batches of images horizontally, vertically or diagonally. |
|
Affine Transforms | |
Perspective Transform | |
Routines manipulating an image geometry.
These functions can be found in the nppig library. Linking to only the sub-libraries that you use can significantly save link time, application load time, and CUDA runtime startup time when using dynamic libraries.
This section covers some of the unique API features common to the geometric transform primitives.
Geometric transforms operate on source and destination ROIs. The way these ROIs affect the processing of pixels differs from other (non geometric) image-processing primitives: Only pixels in the intersection of the destination ROI and the transformed source ROI are being processed.
The typical processing proceedes as follows:
The majority of image geometry transform operation need to perform a resampling of the source image as source and destination pixels are not coincident.
NPP supports the following pixel inerpolation modes (in order from fastest to slowest and lowest to highest quality):