Class NPPNativeMethods.NPPi.NormL2
L2 Norm
Inheritance
Inherited Members
Namespace: ManagedCuda.NPP
Assembly: NPP.dll
Syntax
public static class NormL2
Methods
nppiNorm_L2_16s_AC4R(CUdeviceptr, Int32, NppiSize, CUdeviceptr, CUdeviceptr)
4-channel 16-bit signed short image L2 norm (alpha channel is not computed).
Declaration
public static NppStatus nppiNorm_L2_16s_AC4R(CUdeviceptr pSrc, int nSrcStep, NppiSize oSizeROI, CUdeviceptr aNorm, CUdeviceptr pDeviceBuffer)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source-Image Pointer. |
System.Int32 | nSrcStep | Source-Image Line Step. |
NppiSize | oSizeROI | Region-of-Interest (ROI). |
CUdeviceptr | aNorm | Array that contains the norm values of three channels. |
CUdeviceptr | pDeviceBuffer | Pointer to the required device memory allocation. |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError. |
nppiNorm_L2_16s_C1R(CUdeviceptr, Int32, NppiSize, CUdeviceptr, CUdeviceptr)
1-channel 16-bit signed short image L2 norm.
Declaration
public static NppStatus nppiNorm_L2_16s_C1R(CUdeviceptr pSrc, int nSrcStep, NppiSize oSizeROI, CUdeviceptr pNorm, CUdeviceptr pDeviceBuffer)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source-Image Pointer. |
System.Int32 | nSrcStep | Source-Image Line Step. |
NppiSize | oSizeROI | Region-of-Interest (ROI). |
CUdeviceptr | pNorm | Pointer to the norm value. |
CUdeviceptr | pDeviceBuffer | Pointer to the required device memory allocation. |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError. |
nppiNorm_L2_16s_C3R(CUdeviceptr, Int32, NppiSize, CUdeviceptr, CUdeviceptr)
3-channel 16-bit signed short image L2 norm.
Declaration
public static NppStatus nppiNorm_L2_16s_C3R(CUdeviceptr pSrc, int nSrcStep, NppiSize oSizeROI, CUdeviceptr aNorm, CUdeviceptr pDeviceBuffer)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source-Image Pointer. |
System.Int32 | nSrcStep | Source-Image Line Step. |
NppiSize | oSizeROI | Region-of-Interest (ROI). |
CUdeviceptr | aNorm | Array that contains the norm values of three channels. |
CUdeviceptr | pDeviceBuffer | Pointer to the required device memory allocation. |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError. |
nppiNorm_L2_16s_C4R(CUdeviceptr, Int32, NppiSize, CUdeviceptr, CUdeviceptr)
4-channel 16-bit signed short image L2 norm.
Declaration
public static NppStatus nppiNorm_L2_16s_C4R(CUdeviceptr pSrc, int nSrcStep, NppiSize oSizeROI, CUdeviceptr aNorm, CUdeviceptr pDeviceBuffer)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source-Image Pointer. |
System.Int32 | nSrcStep | Source-Image Line Step. |
NppiSize | oSizeROI | Region-of-Interest (ROI). |
CUdeviceptr | aNorm | Array that contains the norm values of four channels. |
CUdeviceptr | pDeviceBuffer | Pointer to the required device memory allocation. |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError. |
nppiNorm_L2_16u_AC4R(CUdeviceptr, Int32, NppiSize, CUdeviceptr, CUdeviceptr)
4-channel 16-bit unsigned short image L2 norm (alpha channel is not computed).
Declaration
public static NppStatus nppiNorm_L2_16u_AC4R(CUdeviceptr pSrc, int nSrcStep, NppiSize oSizeROI, CUdeviceptr aNorm, CUdeviceptr pDeviceBuffer)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source-Image Pointer. |
System.Int32 | nSrcStep | Source-Image Line Step. |
NppiSize | oSizeROI | Region-of-Interest (ROI). |
CUdeviceptr | aNorm | Array that contains the norm values of three channels. |
CUdeviceptr | pDeviceBuffer | Pointer to the required device memory allocation. |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError. |
nppiNorm_L2_16u_C1MR(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, CUdeviceptr, CUdeviceptr)
\ref masked_operation 1-channel 16-bit unsigned short image L2 norm.
Declaration
public static NppStatus nppiNorm_L2_16u_C1MR(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pMask, int nMaskStep, NppiSize oSizeROI, CUdeviceptr pNorm, CUdeviceptr pDeviceBuffer)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source-Image Pointer. |
System.Int32 | nSrcStep | Source-Image Line Step. |
CUdeviceptr | pMask | \ref mask_image_pointer. |
System.Int32 | nMaskStep | \ref mask_image_line_step. |
NppiSize | oSizeROI | Region-of-Interest (ROI). |
CUdeviceptr | pNorm | Pointer to the norm value. |
CUdeviceptr | pDeviceBuffer | Pointer to the required device memory allocation. |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError. |
nppiNorm_L2_16u_C1R(CUdeviceptr, Int32, NppiSize, CUdeviceptr, CUdeviceptr)
1-channel 16-bit unsigned short image L2 norm.
Declaration
public static NppStatus nppiNorm_L2_16u_C1R(CUdeviceptr pSrc, int nSrcStep, NppiSize oSizeROI, CUdeviceptr pNorm, CUdeviceptr pDeviceBuffer)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source-Image Pointer. |
System.Int32 | nSrcStep | Source-Image Line Step. |
NppiSize | oSizeROI | Region-of-Interest (ROI). |
CUdeviceptr | pNorm | Pointer to the norm value. |
CUdeviceptr | pDeviceBuffer | Pointer to the required device memory allocation. |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError. |
nppiNorm_L2_16u_C3CMR(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, Int32, CUdeviceptr, CUdeviceptr)
3-channel 16-bit unsigned short image L2 norm, \ref masked_operation, \ref channel_of_interest.
Declaration
public static NppStatus nppiNorm_L2_16u_C3CMR(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pMask, int nMaskStep, NppiSize oSizeROI, int nCOI, CUdeviceptr pNorm, CUdeviceptr pDeviceBuffer)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source-Image Pointer. |
System.Int32 | nSrcStep | Source-Image Line Step. |
CUdeviceptr | pMask | \ref mask_image_pointer. |
System.Int32 | nMaskStep | \ref mask_image_line_step. |
NppiSize | oSizeROI | Region-of-Interest (ROI). |
System.Int32 | nCOI | \ref channel_of_interest_number. |
CUdeviceptr | pNorm | Pointer to the norm value. |
CUdeviceptr | pDeviceBuffer | Pointer to the required device memory allocation. |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError, or NPP_COI_ERROR if an invalid channel of interest is specified. |
nppiNorm_L2_16u_C3R(CUdeviceptr, Int32, NppiSize, CUdeviceptr, CUdeviceptr)
3-channel 16-bit unsigned short image L2 norm.
Declaration
public static NppStatus nppiNorm_L2_16u_C3R(CUdeviceptr pSrc, int nSrcStep, NppiSize oSizeROI, CUdeviceptr aNorm, CUdeviceptr pDeviceBuffer)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source-Image Pointer. |
System.Int32 | nSrcStep | Source-Image Line Step. |
NppiSize | oSizeROI | Region-of-Interest (ROI). |
CUdeviceptr | aNorm | Array that contains the norm values of three channels. |
CUdeviceptr | pDeviceBuffer | Pointer to the required device memory allocation. |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError. |
nppiNorm_L2_16u_C4R(CUdeviceptr, Int32, NppiSize, CUdeviceptr, CUdeviceptr)
4-channel 16-bit unsigned short image L2 norm.
Declaration
public static NppStatus nppiNorm_L2_16u_C4R(CUdeviceptr pSrc, int nSrcStep, NppiSize oSizeROI, CUdeviceptr aNorm, CUdeviceptr pDeviceBuffer)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source-Image Pointer. |
System.Int32 | nSrcStep | Source-Image Line Step. |
NppiSize | oSizeROI | Region-of-Interest (ROI). |
CUdeviceptr | aNorm | Array that contains the norm values of four channels. |
CUdeviceptr | pDeviceBuffer | Pointer to the required device memory allocation. |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError. |
nppiNorm_L2_32f_AC4R(CUdeviceptr, Int32, NppiSize, CUdeviceptr, CUdeviceptr)
4-channel 32-bit floating-point image L2 norm (alpha channel is not computed).
Declaration
public static NppStatus nppiNorm_L2_32f_AC4R(CUdeviceptr pSrc, int nSrcStep, NppiSize oSizeROI, CUdeviceptr aNorm, CUdeviceptr pDeviceBuffer)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source-Image Pointer. |
System.Int32 | nSrcStep | Source-Image Line Step. |
NppiSize | oSizeROI | Region-of-Interest (ROI). |
CUdeviceptr | aNorm | Array that contains the norm values of three channels. |
CUdeviceptr | pDeviceBuffer | Pointer to the required device memory allocation. |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError. |
nppiNorm_L2_32f_C1MR(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, CUdeviceptr, CUdeviceptr)
\ref masked_operation 1-channel 32-bit floating-point image L2 norm.
Declaration
public static NppStatus nppiNorm_L2_32f_C1MR(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pMask, int nMaskStep, NppiSize oSizeROI, CUdeviceptr pNorm, CUdeviceptr pDeviceBuffer)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source-Image Pointer. |
System.Int32 | nSrcStep | Source-Image Line Step. |
CUdeviceptr | pMask | \ref mask_image_pointer. |
System.Int32 | nMaskStep | \ref mask_image_line_step. |
NppiSize | oSizeROI | Region-of-Interest (ROI). |
CUdeviceptr | pNorm | Pointer to the norm value. |
CUdeviceptr | pDeviceBuffer | Pointer to the required device memory allocation. |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError, or NPP_NOT_EVEN_STEP_ERROR if the step of the source image cannot be divided by 4. |
nppiNorm_L2_32f_C1R(CUdeviceptr, Int32, NppiSize, CUdeviceptr, CUdeviceptr)
1-channel 32-bit floating-point image L2 norm.
Declaration
public static NppStatus nppiNorm_L2_32f_C1R(CUdeviceptr pSrc, int nSrcStep, NppiSize oSizeROI, CUdeviceptr pNorm, CUdeviceptr pDeviceBuffer)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source-Image Pointer. |
System.Int32 | nSrcStep | Source-Image Line Step. |
NppiSize | oSizeROI | Region-of-Interest (ROI). |
CUdeviceptr | pNorm | Pointer to the norm value. |
CUdeviceptr | pDeviceBuffer | Pointer to the required device memory allocation. |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError. |
nppiNorm_L2_32f_C3CMR(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, Int32, CUdeviceptr, CUdeviceptr)
3-channel 32-bit floating-point image L2 norm, \ref masked_operation, \ref channel_of_interest.
Declaration
public static NppStatus nppiNorm_L2_32f_C3CMR(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pMask, int nMaskStep, NppiSize oSizeROI, int nCOI, CUdeviceptr pNorm, CUdeviceptr pDeviceBuffer)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source-Image Pointer. |
System.Int32 | nSrcStep | Source-Image Line Step. |
CUdeviceptr | pMask | \ref mask_image_pointer. |
System.Int32 | nMaskStep | \ref mask_image_line_step. |
NppiSize | oSizeROI | Region-of-Interest (ROI). |
System.Int32 | nCOI | \ref channel_of_interest_number. |
CUdeviceptr | pNorm | Pointer to the norm value. |
CUdeviceptr | pDeviceBuffer | Pointer to the required device memory allocation. |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError, NPP_NOT_EVEN_STEP_ERROR if the step of the source image cannot be divided by 4, or NPP_COI_ERROR if an invalid channel of interest is specified. |
nppiNorm_L2_32f_C3R(CUdeviceptr, Int32, NppiSize, CUdeviceptr, CUdeviceptr)
3-channel 32-bit floating-point image L2 norm.
Declaration
public static NppStatus nppiNorm_L2_32f_C3R(CUdeviceptr pSrc, int nSrcStep, NppiSize oSizeROI, CUdeviceptr aNorm, CUdeviceptr pDeviceBuffer)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source-Image Pointer. |
System.Int32 | nSrcStep | Source-Image Line Step. |
NppiSize | oSizeROI | Region-of-Interest (ROI). |
CUdeviceptr | aNorm | Array that contains the norm values of three channels. |
CUdeviceptr | pDeviceBuffer | Pointer to the required device memory allocation. |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError. |
nppiNorm_L2_32f_C4R(CUdeviceptr, Int32, NppiSize, CUdeviceptr, CUdeviceptr)
4-channel 32-bit floating-point image L2 norm.
Declaration
public static NppStatus nppiNorm_L2_32f_C4R(CUdeviceptr pSrc, int nSrcStep, NppiSize oSizeROI, CUdeviceptr aNorm, CUdeviceptr pDeviceBuffer)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source-Image Pointer. |
System.Int32 | nSrcStep | Source-Image Line Step. |
NppiSize | oSizeROI | Region-of-Interest (ROI). |
CUdeviceptr | aNorm | Array that contains the norm values of four channels. |
CUdeviceptr | pDeviceBuffer | Pointer to the required device memory allocation. |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError. |
nppiNorm_L2_8s_C1MR(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, CUdeviceptr, CUdeviceptr)
\ref masked_operation 1-channel 8-bit signed char image L2 norm.
Declaration
public static NppStatus nppiNorm_L2_8s_C1MR(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pMask, int nMaskStep, NppiSize oSizeROI, CUdeviceptr pNorm, CUdeviceptr pDeviceBuffer)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source-Image Pointer. |
System.Int32 | nSrcStep | Source-Image Line Step. |
CUdeviceptr | pMask | \ref mask_image_pointer. |
System.Int32 | nMaskStep | \ref mask_image_line_step. |
NppiSize | oSizeROI | Region-of-Interest (ROI). |
CUdeviceptr | pNorm | Pointer to the norm value. |
CUdeviceptr | pDeviceBuffer | Pointer to the required device memory allocation. |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError. |
nppiNorm_L2_8s_C3CMR(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, Int32, CUdeviceptr, CUdeviceptr)
3-channel 8-bit signed char image L2 norm, \ref masked_operation, \ref channel_of_interest.
Declaration
public static NppStatus nppiNorm_L2_8s_C3CMR(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pMask, int nMaskStep, NppiSize oSizeROI, int nCOI, CUdeviceptr pNorm, CUdeviceptr pDeviceBuffer)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source-Image Pointer. |
System.Int32 | nSrcStep | Source-Image Line Step. |
CUdeviceptr | pMask | \ref mask_image_pointer. |
System.Int32 | nMaskStep | \ref mask_image_line_step. |
NppiSize | oSizeROI | Region-of-Interest (ROI). |
System.Int32 | nCOI | \ref channel_of_interest_number. |
CUdeviceptr | pNorm | Pointer to the norm value. |
CUdeviceptr | pDeviceBuffer | Pointer to the required device memory allocation. |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError, or NPP_COI_ERROR if an invalid channel of interest is specified. |
nppiNorm_L2_8u_AC4R(CUdeviceptr, Int32, NppiSize, CUdeviceptr, CUdeviceptr)
4-channel 8-bit unsigned char image L2 norm (alpha channel is not computed).
Declaration
public static NppStatus nppiNorm_L2_8u_AC4R(CUdeviceptr pSrc, int nSrcStep, NppiSize oSizeROI, CUdeviceptr aNorm, CUdeviceptr pDeviceBuffer)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source-Image Pointer. |
System.Int32 | nSrcStep | Source-Image Line Step. |
NppiSize | oSizeROI | Region-of-Interest (ROI). |
CUdeviceptr | aNorm | Array that contains the norm values of three channels. |
CUdeviceptr | pDeviceBuffer | Pointer to the required device memory allocation. |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError. |
nppiNorm_L2_8u_C1MR(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, CUdeviceptr, CUdeviceptr)
\ref masked_operation 1-channel 8-bit unsigned char image L2 norm.
Declaration
public static NppStatus nppiNorm_L2_8u_C1MR(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pMask, int nMaskStep, NppiSize oSizeROI, CUdeviceptr pNorm, CUdeviceptr pDeviceBuffer)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source-Image Pointer. |
System.Int32 | nSrcStep | Source-Image Line Step. |
CUdeviceptr | pMask | \ref mask_image_pointer. |
System.Int32 | nMaskStep | \ref mask_image_line_step. |
NppiSize | oSizeROI | Region-of-Interest (ROI). |
CUdeviceptr | pNorm | Pointer to the norm value. |
CUdeviceptr | pDeviceBuffer | Pointer to the required device memory allocation. |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError. |
nppiNorm_L2_8u_C1R(CUdeviceptr, Int32, NppiSize, CUdeviceptr, CUdeviceptr)
1-channel 8-bit unsigned char image L2 norm.
Declaration
public static NppStatus nppiNorm_L2_8u_C1R(CUdeviceptr pSrc, int nSrcStep, NppiSize oSizeROI, CUdeviceptr pNorm, CUdeviceptr pDeviceBuffer)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source-Image Pointer. |
System.Int32 | nSrcStep | Source-Image Line Step. |
NppiSize | oSizeROI | Region-of-Interest (ROI). |
CUdeviceptr | pNorm | Pointer to the norm value. |
CUdeviceptr | pDeviceBuffer | Pointer to the required device memory allocation. |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError. |
nppiNorm_L2_8u_C3CMR(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, Int32, CUdeviceptr, CUdeviceptr)
3-channel 8-bit unsigned char image L2 norm, \ref masked_operation, \ref channel_of_interest.
Declaration
public static NppStatus nppiNorm_L2_8u_C3CMR(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pMask, int nMaskStep, NppiSize oSizeROI, int nCOI, CUdeviceptr pNorm, CUdeviceptr pDeviceBuffer)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source-Image Pointer. |
System.Int32 | nSrcStep | Source-Image Line Step. |
CUdeviceptr | pMask | \ref mask_image_pointer. |
System.Int32 | nMaskStep | \ref mask_image_line_step. |
NppiSize | oSizeROI | Region-of-Interest (ROI). |
System.Int32 | nCOI | \ref channel_of_interest_number. |
CUdeviceptr | pNorm | Pointer to the norm value. |
CUdeviceptr | pDeviceBuffer | Pointer to the required device memory allocation. |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError, or NPP_COI_ERROR if an invalid channel of interest is specified. |
nppiNorm_L2_8u_C3R(CUdeviceptr, Int32, NppiSize, CUdeviceptr, CUdeviceptr)
3-channel 8-bit unsigned char image L2 norm.
Declaration
public static NppStatus nppiNorm_L2_8u_C3R(CUdeviceptr pSrc, int nSrcStep, NppiSize oSizeROI, CUdeviceptr aNorm, CUdeviceptr pDeviceBuffer)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source-Image Pointer. |
System.Int32 | nSrcStep | Source-Image Line Step. |
NppiSize | oSizeROI | Region-of-Interest (ROI). |
CUdeviceptr | aNorm | Array that contains the norm values of three channels. |
CUdeviceptr | pDeviceBuffer | Pointer to the required device memory allocation. |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError. |
nppiNorm_L2_8u_C4R(CUdeviceptr, Int32, NppiSize, CUdeviceptr, CUdeviceptr)
4-channel 8-bit unsigned char image L2 norm.
Declaration
public static NppStatus nppiNorm_L2_8u_C4R(CUdeviceptr pSrc, int nSrcStep, NppiSize oSizeROI, CUdeviceptr aNorm, CUdeviceptr pDeviceBuffer)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source-Image Pointer. |
System.Int32 | nSrcStep | Source-Image Line Step. |
NppiSize | oSizeROI | Region-of-Interest (ROI). |
CUdeviceptr | aNorm | Array that contains the norm values of four channels. |
CUdeviceptr | pDeviceBuffer | Pointer to the required device memory allocation. |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError. |
nppiNormL2GetBufferHostSize_16s_AC4R(NppiSize, ref Int32)
Device scratch buffer size (in bytes) for nppiNormL2_16s_AC4R.
Declaration
public static NppStatus nppiNormL2GetBufferHostSize_16s_AC4R(NppiSize oSizeROI, ref int hpBufferSize)
Parameters
Type | Name | Description |
---|---|---|
NppiSize | oSizeROI | Region-of-Interest (ROI). |
System.Int32 | hpBufferSize | Required buffer size. Important: hpBufferSize is a |
Returns
Type | Description |
---|---|
NppStatus | NPP_SUCCESS |
nppiNormL2GetBufferHostSize_16s_C1R(NppiSize, ref Int32)
Device scratch buffer size (in bytes) for nppiNormL2_16s_C1R.
Declaration
public static NppStatus nppiNormL2GetBufferHostSize_16s_C1R(NppiSize oSizeROI, ref int hpBufferSize)
Parameters
Type | Name | Description |
---|---|---|
NppiSize | oSizeROI | Region-of-Interest (ROI). |
System.Int32 | hpBufferSize | Required buffer size. Important: hpBufferSize is a |
Returns
Type | Description |
---|---|
NppStatus | NPP_SUCCESS |
nppiNormL2GetBufferHostSize_16s_C3R(NppiSize, ref Int32)
Device scratch buffer size (in bytes) for nppiNormL2_16s_C3R.
Declaration
public static NppStatus nppiNormL2GetBufferHostSize_16s_C3R(NppiSize oSizeROI, ref int hpBufferSize)
Parameters
Type | Name | Description |
---|---|---|
NppiSize | oSizeROI | Region-of-Interest (ROI). |
System.Int32 | hpBufferSize | Required buffer size. Important: hpBufferSize is a |
Returns
Type | Description |
---|---|
NppStatus | NPP_SUCCESS |
nppiNormL2GetBufferHostSize_16s_C4R(NppiSize, ref Int32)
Device scratch buffer size (in bytes) for nppiNormL2_16s_C4R.
Declaration
public static NppStatus nppiNormL2GetBufferHostSize_16s_C4R(NppiSize oSizeROI, ref int hpBufferSize)
Parameters
Type | Name | Description |
---|---|---|
NppiSize | oSizeROI | Region-of-Interest (ROI). |
System.Int32 | hpBufferSize | Required buffer size. Important: hpBufferSize is a |
Returns
Type | Description |
---|---|
NppStatus | NPP_SUCCESS |
nppiNormL2GetBufferHostSize_16u_AC4R(NppiSize, ref Int32)
Device scratch buffer size (in bytes) for nppiNormL2_16u_AC4R.
Declaration
public static NppStatus nppiNormL2GetBufferHostSize_16u_AC4R(NppiSize oSizeROI, ref int hpBufferSize)
Parameters
Type | Name | Description |
---|---|---|
NppiSize | oSizeROI | Region-of-Interest (ROI). |
System.Int32 | hpBufferSize | Required buffer size. Important: hpBufferSize is a |
Returns
Type | Description |
---|---|
NppStatus | NPP_SUCCESS |
nppiNormL2GetBufferHostSize_16u_C1MR(NppiSize, ref Int32)
Device scratch buffer size (in bytes) for nppiNormL2_16u_C1MR.
Declaration
public static NppStatus nppiNormL2GetBufferHostSize_16u_C1MR(NppiSize oSizeROI, ref int hpBufferSize)
Parameters
Type | Name | Description |
---|---|---|
NppiSize | oSizeROI | Region-of-Interest (ROI). |
System.Int32 | hpBufferSize | Required buffer size. Important: hpBufferSize is a |
Returns
Type | Description |
---|---|
NppStatus | NPP_SUCCESS |
nppiNormL2GetBufferHostSize_16u_C1R(NppiSize, ref Int32)
Device scratch buffer size (in bytes) for nppiNormL2_16u_C1R.
Declaration
public static NppStatus nppiNormL2GetBufferHostSize_16u_C1R(NppiSize oSizeROI, ref int hpBufferSize)
Parameters
Type | Name | Description |
---|---|---|
NppiSize | oSizeROI | Region-of-Interest (ROI). |
System.Int32 | hpBufferSize | Required buffer size. Important: hpBufferSize is a |
Returns
Type | Description |
---|---|
NppStatus | NPP_SUCCESS |
nppiNormL2GetBufferHostSize_16u_C3CMR(NppiSize, ref Int32)
Device scratch buffer size (in bytes) for nppiNormL2_16u_C3CMR.
Declaration
public static NppStatus nppiNormL2GetBufferHostSize_16u_C3CMR(NppiSize oSizeROI, ref int hpBufferSize)
Parameters
Type | Name | Description |
---|---|---|
NppiSize | oSizeROI | Region-of-Interest (ROI). |
System.Int32 | hpBufferSize | Required buffer size. Important: hpBufferSize is a |
Returns
Type | Description |
---|---|
NppStatus | NPP_SUCCESS |
nppiNormL2GetBufferHostSize_16u_C3R(NppiSize, ref Int32)
Device scratch buffer size (in bytes) for nppiNormL2_16u_C3R.
Declaration
public static NppStatus nppiNormL2GetBufferHostSize_16u_C3R(NppiSize oSizeROI, ref int hpBufferSize)
Parameters
Type | Name | Description |
---|---|---|
NppiSize | oSizeROI | Region-of-Interest (ROI). |
System.Int32 | hpBufferSize | Required buffer size. Important: hpBufferSize is a |
Returns
Type | Description |
---|---|
NppStatus | NPP_SUCCESS |
nppiNormL2GetBufferHostSize_16u_C4R(NppiSize, ref Int32)
Device scratch buffer size (in bytes) for nppiNormL2_16u_C4R.
Declaration
public static NppStatus nppiNormL2GetBufferHostSize_16u_C4R(NppiSize oSizeROI, ref int hpBufferSize)
Parameters
Type | Name | Description |
---|---|---|
NppiSize | oSizeROI | Region-of-Interest (ROI). |
System.Int32 | hpBufferSize | Required buffer size. Important: hpBufferSize is a |
Returns
Type | Description |
---|---|
NppStatus | NPP_SUCCESS |
nppiNormL2GetBufferHostSize_32f_AC4R(NppiSize, ref Int32)
Device scratch buffer size (in bytes) for nppiNormL2_32f_AC4R.
Declaration
public static NppStatus nppiNormL2GetBufferHostSize_32f_AC4R(NppiSize oSizeROI, ref int hpBufferSize)
Parameters
Type | Name | Description |
---|---|---|
NppiSize | oSizeROI | Region-of-Interest (ROI). |
System.Int32 | hpBufferSize | Required buffer size. Important: hpBufferSize is a |
Returns
Type | Description |
---|---|
NppStatus | NPP_SUCCESS |
nppiNormL2GetBufferHostSize_32f_C1MR(NppiSize, ref Int32)
Device scratch buffer size (in bytes) for nppiNormL2_32f_C1MR.
Declaration
public static NppStatus nppiNormL2GetBufferHostSize_32f_C1MR(NppiSize oSizeROI, ref int hpBufferSize)
Parameters
Type | Name | Description |
---|---|---|
NppiSize | oSizeROI | Region-of-Interest (ROI). |
System.Int32 | hpBufferSize | Required buffer size. Important: hpBufferSize is a |
Returns
Type | Description |
---|---|
NppStatus | NPP_SUCCESS |
nppiNormL2GetBufferHostSize_32f_C1R(NppiSize, ref Int32)
Device scratch buffer size (in bytes) for nppiNormL2_32f_C1R.
Declaration
public static NppStatus nppiNormL2GetBufferHostSize_32f_C1R(NppiSize oSizeROI, ref int hpBufferSize)
Parameters
Type | Name | Description |
---|---|---|
NppiSize | oSizeROI | Region-of-Interest (ROI). |
System.Int32 | hpBufferSize | Required buffer size. Important: hpBufferSize is a |
Returns
Type | Description |
---|---|
NppStatus | NPP_SUCCESS |
nppiNormL2GetBufferHostSize_32f_C3CMR(NppiSize, ref Int32)
Device scratch buffer size (in bytes) for nppiNormL2_32f_C3CMR.
Declaration
public static NppStatus nppiNormL2GetBufferHostSize_32f_C3CMR(NppiSize oSizeROI, ref int hpBufferSize)
Parameters
Type | Name | Description |
---|---|---|
NppiSize | oSizeROI | Region-of-Interest (ROI). |
System.Int32 | hpBufferSize | Required buffer size. Important: hpBufferSize is a |
Returns
Type | Description |
---|---|
NppStatus | NPP_SUCCESS |
nppiNormL2GetBufferHostSize_32f_C3R(NppiSize, ref Int32)
Device scratch buffer size (in bytes) for nppiNormL2_32f_C3R.
Declaration
public static NppStatus nppiNormL2GetBufferHostSize_32f_C3R(NppiSize oSizeROI, ref int hpBufferSize)
Parameters
Type | Name | Description |
---|---|---|
NppiSize | oSizeROI | Region-of-Interest (ROI). |
System.Int32 | hpBufferSize | Required buffer size. Important: hpBufferSize is a |
Returns
Type | Description |
---|---|
NppStatus | NPP_SUCCESS |
nppiNormL2GetBufferHostSize_32f_C4R(NppiSize, ref Int32)
Device scratch buffer size (in bytes) for nppiNormL2_32f_C4R.
Declaration
public static NppStatus nppiNormL2GetBufferHostSize_32f_C4R(NppiSize oSizeROI, ref int hpBufferSize)
Parameters
Type | Name | Description |
---|---|---|
NppiSize | oSizeROI | Region-of-Interest (ROI). |
System.Int32 | hpBufferSize | Required buffer size. Important: hpBufferSize is a |
Returns
Type | Description |
---|---|
NppStatus | NPP_SUCCESS |
nppiNormL2GetBufferHostSize_8s_C1MR(NppiSize, ref Int32)
Device scratch buffer size (in bytes) for nppiNormL2_8s_C1MR.
Declaration
public static NppStatus nppiNormL2GetBufferHostSize_8s_C1MR(NppiSize oSizeROI, ref int hpBufferSize)
Parameters
Type | Name | Description |
---|---|---|
NppiSize | oSizeROI | Region-of-Interest (ROI). |
System.Int32 | hpBufferSize | Required buffer size. Important: hpBufferSize is a |
Returns
Type | Description |
---|---|
NppStatus | NPP_SUCCESS |
nppiNormL2GetBufferHostSize_8s_C3CMR(NppiSize, ref Int32)
Device scratch buffer size (in bytes) for nppiNormL2_8s_C3CMR.
Declaration
public static NppStatus nppiNormL2GetBufferHostSize_8s_C3CMR(NppiSize oSizeROI, ref int hpBufferSize)
Parameters
Type | Name | Description |
---|---|---|
NppiSize | oSizeROI | Region-of-Interest (ROI). |
System.Int32 | hpBufferSize | Required buffer size. Important: hpBufferSize is a |
Returns
Type | Description |
---|---|
NppStatus | NPP_SUCCESS |
nppiNormL2GetBufferHostSize_8u_AC4R(NppiSize, ref Int32)
Device scratch buffer size (in bytes) for nppiNormL2_8u_AC4R.
Declaration
public static NppStatus nppiNormL2GetBufferHostSize_8u_AC4R(NppiSize oSizeROI, ref int hpBufferSize)
Parameters
Type | Name | Description |
---|---|---|
NppiSize | oSizeROI | Region-of-Interest (ROI). |
System.Int32 | hpBufferSize | Required buffer size. Important: hpBufferSize is a |
Returns
Type | Description |
---|---|
NppStatus | NPP_SUCCESS |
nppiNormL2GetBufferHostSize_8u_C1MR(NppiSize, ref Int32)
Device scratch buffer size (in bytes) for nppiNormL2_8u_C1MR.
Declaration
public static NppStatus nppiNormL2GetBufferHostSize_8u_C1MR(NppiSize oSizeROI, ref int hpBufferSize)
Parameters
Type | Name | Description |
---|---|---|
NppiSize | oSizeROI | Region-of-Interest (ROI). |
System.Int32 | hpBufferSize | Required buffer size. Important: hpBufferSize is a |
Returns
Type | Description |
---|---|
NppStatus | NPP_SUCCESS |
nppiNormL2GetBufferHostSize_8u_C1R(NppiSize, ref Int32)
Device scratch buffer size (in bytes) for nppiNormL2_8u_C1R.
Declaration
public static NppStatus nppiNormL2GetBufferHostSize_8u_C1R(NppiSize oSizeROI, ref int hpBufferSize)
Parameters
Type | Name | Description |
---|---|---|
NppiSize | oSizeROI | Region-of-Interest (ROI). |
System.Int32 | hpBufferSize | Required buffer size. Important: hpBufferSize is a |
Returns
Type | Description |
---|---|
NppStatus | NPP_SUCCESS |
nppiNormL2GetBufferHostSize_8u_C3CMR(NppiSize, ref Int32)
Device scratch buffer size (in bytes) for nppiNormL2_8u_C3CMR.
Declaration
public static NppStatus nppiNormL2GetBufferHostSize_8u_C3CMR(NppiSize oSizeROI, ref int hpBufferSize)
Parameters
Type | Name | Description |
---|---|---|
NppiSize | oSizeROI | Region-of-Interest (ROI). |
System.Int32 | hpBufferSize | Required buffer size. Important: hpBufferSize is a |
Returns
Type | Description |
---|---|
NppStatus | NPP_SUCCESS |
nppiNormL2GetBufferHostSize_8u_C3R(NppiSize, ref Int32)
Device scratch buffer size (in bytes) for nppiNormL2_8u_C3R.
Declaration
public static NppStatus nppiNormL2GetBufferHostSize_8u_C3R(NppiSize oSizeROI, ref int hpBufferSize)
Parameters
Type | Name | Description |
---|---|---|
NppiSize | oSizeROI | Region-of-Interest (ROI). |
System.Int32 | hpBufferSize | Required buffer size. Important: hpBufferSize is a |
Returns
Type | Description |
---|---|
NppStatus | NPP_SUCCESS |
nppiNormL2GetBufferHostSize_8u_C4R(NppiSize, ref Int32)
Device scratch buffer size (in bytes) for nppiNormL2_8u_C4R.
Declaration
public static NppStatus nppiNormL2GetBufferHostSize_8u_C4R(NppiSize oSizeROI, ref int hpBufferSize)
Parameters
Type | Name | Description |
---|---|---|
NppiSize | oSizeROI | Region-of-Interest (ROI). |
System.Int32 | hpBufferSize | Required buffer size. Important: hpBufferSize is a |
Returns
Type | Description |
---|---|
NppStatus | NPP_SUCCESS |