NVIDIA 2D Image And Signal Performance Primitives (NPP)  Version 22.3.0.*
 All Data Structures Functions Variables Typedefs Enumerations Enumerator Groups Pages

The set of cuLitho private image functions available in the library. More...

FilterLocalCurvatureBorder

Computes the local pixel neighborhood curvature via Arridge formula

NppStatus nppiFilterLocalCurvatureBorder_32f_C1R_Ctx (const Npp32f *pSrc, Npp32s nSrcStep, Npp32f *pDst, Npp32s nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)
 Single channel 32-bit floating point local curvature calculation. More...
 

AccumulateWeightedSquare

Computes the squared sum of pixel

NppStatus nppiAccumulateWeightedSquare_32f_C1IR_Ctx (const Npp32f *pSrc, Npp32s nSrcStep, Npp32f *pAccBuffer, Npp32s nAccStep, NppiSize oSizeROI, Npp32f nSrcWeight, NppStreamContext nppStreamCtx)
 Single channel 32-bit floating point in-place accumulate weighted square. More...
 

SampleImagePoints

Given a list of coordinates, this will sample the provided image (with bilinear interpolation) and produce a list of values for those points inside the ROI

NppStatus nppiSampleImagePoints_32f_C1R_Ctx (Npp32f *pSrc, Npp32s nSrcStep, NppiSize oSizeROI, NppiPoint64f *pXYCoordinateArray, Npp32s nCoordinateCount, Npp32f *pDstDataArray, NppStreamContext nppStreamCtx)
 Single channel 32-bit pixel sampling function, uses bilinear interpolation. More...
 

SetImagePoints

Given a list of coordinates, this will set pixels in the provided image with values provided for those points inside the ROI

NppStatus nppiSetImagePoints_32f_C1R_Ctx (Npp32f *pDst, Npp32s nDstStep, NppiSize oSizeROI, NppiPoint64f *pXYCoordinateArray, Npp32s nCoordinateCount, Npp32f *pSrcDataArray, NppStreamContext nppStreamCtx)
 Single channel 32-bit pixel set function. More...
 

Detailed Description

The set of cuLitho private image functions available in the library.

Function Documentation

NppStatus nppiAccumulateWeightedSquare_32f_C1IR_Ctx ( const Npp32f pSrc,
Npp32s  nSrcStep,
Npp32f pAccBuffer,
Npp32s  nAccStep,
NppiSize  oSizeROI,
Npp32f  nSrcWeight,
NppStreamContext  nppStreamCtx 
)

Single channel 32-bit floating point in-place accumulate weighted square.

Parameters
pSrcSource-Image Pointer.
nSrcStepSource-Image Line Step.
pAccBufferaccumulation_image_pointer.
nAccStepaccumulation_image_line_step.
oSizeROIRegion-of-Interest (ROI).
nSrcWeightsource_image_weight.
nppStreamCtxApplication Managed Stream Context.
Returns
Image Data Related Error Codes, ROI Related Error Codes
NppStatus nppiFilterLocalCurvatureBorder_32f_C1R_Ctx ( const Npp32f pSrc,
Npp32s  nSrcStep,
Npp32f pDst,
Npp32s  nDstStep,
NppiSize  oSizeROI,
NppStreamContext  nppStreamCtx 
)

Single channel 32-bit floating point local curvature calculation.

Parameters
pSrcSource-Image Pointer.
nSrcStepSource-Image Line Step.
pDstDestination-Image Pointer.
nDstStepDestination-Image Line Step.
oSizeROIRegion-of-Interest (ROI).
nppStreamCtxApplication Managed Stream Context.
Returns
Image Data Related Error Codes, ROI Related Error Codes
NppStatus nppiSampleImagePoints_32f_C1R_Ctx ( Npp32f pSrc,
Npp32s  nSrcStep,
NppiSize  oSizeROI,
NppiPoint64f pXYCoordinateArray,
Npp32s  nCoordinateCount,
Npp32f pDstDataArray,
NppStreamContext  nppStreamCtx 
)

Single channel 32-bit pixel sampling function, uses bilinear interpolation.

Parameters
pSrcSource-Image Pointer.
nSrcStepSource-Image Line Step.
oSizeROIRegion-of-Interest (ROI).
pXYCoordinateArraylist of NppiPoint64fs to sample in the image.
nCoordinateCountnumber of points in the pXYCoordinateArray.
pDstDataArrayoutput array for sampled pixel values.
nppStreamCtxApplication Managed Stream Context.
Returns
Image Data Related Error Codes, ROI Related Error Codes
NppStatus nppiSetImagePoints_32f_C1R_Ctx ( Npp32f pDst,
Npp32s  nDstStep,
NppiSize  oSizeROI,
NppiPoint64f pXYCoordinateArray,
Npp32s  nCoordinateCount,
Npp32f pSrcDataArray,
NppStreamContext  nppStreamCtx 
)

Single channel 32-bit pixel set function.

Parameters
pDstDestination-Image Pointer.
nDstStepDestination-Image Line Step.
oSizeROIRegion-of-Interest (ROI).
pXYCoordinateArraylist of NppiPoint64fs to set in the image.
nCoordinateCountnumber of points in the pXYCoordinateArray.
pSrcDataArraysource array for pixel values to be written
nppStreamCtxApplication Managed Stream Context.
Returns
Image Data Related Error Codes, ROI Related Error Codes

Copyright © 2009-2022 NVIDIA CORPORATION AND AFFILIATES