Class NPPNativeMethods.NPPi.Histogram
Histogram.
Inheritance
Inherited Members
Namespace: ManagedCuda.NPP
Assembly: NPP.dll
Syntax
public static class Histogram
Methods
nppiEvenLevelsHost_32s(Int32[], Int32, Int32, Int32)
Compute levels with even distribution.
Declaration
public static NppStatus nppiEvenLevelsHost_32s(int[] hpLevels, int nLevels, int nLowerLevel, int nUpperLevel)
Parameters
Type | Name | Description |
---|---|---|
System.Int32[] | hpLevels | A host pointer to array which receives the levels being |
System.Int32 | nLevels | The number of levels being computed. nLevels must be at least |
System.Int32 | nLowerLevel | Lower boundary value of the lowest level. |
System.Int32 | nUpperLevel | Upper boundary value of the greatest level. |
Returns
Type | Description |
---|---|
NppStatus | Error code. |
nppiHistogramEven_16s_AC4R(CUdeviceptr, Int32, NppiSize, CUdeviceptr[], Int32[], Int32[], Int32[], CUdeviceptr)
4 channel (alpha as the last channel) 16-bit signed histogram with evenly distributed bins. Alpha channel is ignored during histogram computation.
Declaration
public static NppStatus nppiHistogramEven_16s_AC4R(CUdeviceptr pSrc, int nSrcStep, NppiSize oSizeROI, CUdeviceptr[] pHist, int[] nLevels, int[] nLowerLevel, int[] nUpperLevel, CUdeviceptr pBuffer)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source-Image Pointer. |
System.Int32 | nSrcStep | Source-Image Line Step. |
NppiSize | oSizeROI | Region-of-Interest (ROI). |
CUdeviceptr[] | pHist | Array of pointers which are receiving computed histograms per color channel. |
System.Int32[] | nLevels | Array containing number of levels per color channel. |
System.Int32[] | nLowerLevel | Array containing lower-level of lowest bin per color channel. |
System.Int32[] | nUpperLevel | Array containing upper-level of highest bin per color channel. |
CUdeviceptr | pBuffer | Pointer to appropriately sized (nppiHistogramEvenGetBufferSize_16s_AC4R) |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError |
nppiHistogramEven_16s_C1R(CUdeviceptr, Int32, NppiSize, CUdeviceptr, Int32, Int32, Int32, CUdeviceptr)
16-bit signed histogram with evenly distributed bins.
Declaration
public static NppStatus nppiHistogramEven_16s_C1R(CUdeviceptr pSrc, int nSrcStep, NppiSize oSizeROI, CUdeviceptr pHist, int nLevels, int nLowerLevel, int nUpperLevel, CUdeviceptr pBuffer)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source-Image Pointer. |
System.Int32 | nSrcStep | Source-Image Line Step. |
NppiSize | oSizeROI | Region-of-Interest (ROI). |
CUdeviceptr | pHist | Pointer to array that receives the computed histogram. |
System.Int32 | nLevels | Number of levels. |
System.Int32 | nLowerLevel | Lower boundary of lowest level bin. |
System.Int32 | nUpperLevel | Upper boundary of highest level bin. |
CUdeviceptr | pBuffer | Pointer to appropriately sized (nppiHistogramEvenGetBufferSize_16s_C1R) |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError |
nppiHistogramEven_16s_C3R(CUdeviceptr, Int32, NppiSize, CUdeviceptr[], Int32[], Int32[], Int32[], CUdeviceptr)
3 channel 16-bit signed histogram with evenly distributed bins.
Declaration
public static NppStatus nppiHistogramEven_16s_C3R(CUdeviceptr pSrc, int nSrcStep, NppiSize oSizeROI, CUdeviceptr[] pHist, int[] nLevels, int[] nLowerLevel, int[] nUpperLevel, CUdeviceptr pBuffer)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source-Image Pointer. |
System.Int32 | nSrcStep | Source-Image Line Step. |
NppiSize | oSizeROI | Region-of-Interest (ROI). |
CUdeviceptr[] | pHist | Array of pointers which are receiving computed histograms per color channel. |
System.Int32[] | nLevels | Array containing number of levels per color channel. |
System.Int32[] | nLowerLevel | Array containing lower-level of lowest bin per color channel. |
System.Int32[] | nUpperLevel | Array containing upper-level of highest bin per color channel. |
CUdeviceptr | pBuffer | Pointer to appropriately sized (nppiHistogramEvenGetBufferSize_16s_C3R) |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError |
nppiHistogramEven_16s_C4R(CUdeviceptr, Int32, NppiSize, CUdeviceptr[], Int32[], Int32[], Int32[], CUdeviceptr)
4 channel 16-bit signed histogram with evenly distributed bins.
Declaration
public static NppStatus nppiHistogramEven_16s_C4R(CUdeviceptr pSrc, int nSrcStep, NppiSize oSizeROI, CUdeviceptr[] pHist, int[] nLevels, int[] nLowerLevel, int[] nUpperLevel, CUdeviceptr pBuffer)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source-Image Pointer. |
System.Int32 | nSrcStep | Source-Image Line Step. |
NppiSize | oSizeROI | Region-of-Interest (ROI). |
CUdeviceptr[] | pHist | Array of pointers which are receiving computed histograms per color channel. |
System.Int32[] | nLevels | Array containing number of levels per color channel. |
System.Int32[] | nLowerLevel | Array containing lower-level of lowest bin per color channel. |
System.Int32[] | nUpperLevel | Array containing upper-level of highest bin per color channel. |
CUdeviceptr | pBuffer | Pointer to appropriately sized (nppiHistogramEvenGetBufferSize_16s_C4R) |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError |
nppiHistogramEven_16u_AC4R(CUdeviceptr, Int32, NppiSize, CUdeviceptr[], Int32[], Int32[], Int32[], CUdeviceptr)
4 channel (alpha as the last channel) 16-bit unsigned histogram with evenly distributed bins. Alpha channel is ignored during histogram computation.
Declaration
public static NppStatus nppiHistogramEven_16u_AC4R(CUdeviceptr pSrc, int nSrcStep, NppiSize oSizeROI, CUdeviceptr[] pHist, int[] nLevels, int[] nLowerLevel, int[] nUpperLevel, CUdeviceptr pBuffer)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source-Image Pointer. |
System.Int32 | nSrcStep | Source-Image Line Step. |
NppiSize | oSizeROI | Region-of-Interest (ROI). |
CUdeviceptr[] | pHist | Array of pointers which are receiving computed histograms per color channel. |
System.Int32[] | nLevels | Array containing number of levels per color channel. |
System.Int32[] | nLowerLevel | Array containing lower-level of lowest bin per color channel. |
System.Int32[] | nUpperLevel | Array containing upper-level of highest bin per color channel. |
CUdeviceptr | pBuffer | Pointer to appropriately sized (nppiHistogramEvenGetBufferSize_16u_AC4R) |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError |
nppiHistogramEven_16u_C1R(CUdeviceptr, Int32, NppiSize, CUdeviceptr, Int32, Int32, Int32, CUdeviceptr)
16-bit unsigned histogram with evenly distributed bins.
Declaration
public static NppStatus nppiHistogramEven_16u_C1R(CUdeviceptr pSrc, int nSrcStep, NppiSize oSizeROI, CUdeviceptr pHist, int nLevels, int nLowerLevel, int nUpperLevel, CUdeviceptr pBuffer)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source-Image Pointer. |
System.Int32 | nSrcStep | Source-Image Line Step. |
NppiSize | oSizeROI | Region-of-Interest (ROI). |
CUdeviceptr | pHist | Pointer to array that receives the computed histogram. |
System.Int32 | nLevels | Number of levels. |
System.Int32 | nLowerLevel | Lower boundary of lowest level bin. |
System.Int32 | nUpperLevel | Upper boundary of highest level bin. |
CUdeviceptr | pBuffer | Pointer to appropriately sized (nppiHistogramEvenGetBufferSize_16u_C1R) |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError |
nppiHistogramEven_16u_C3R(CUdeviceptr, Int32, NppiSize, CUdeviceptr[], Int32[], Int32[], Int32[], CUdeviceptr)
3 channel 16-bit unsigned histogram with evenly distributed bins.
Declaration
public static NppStatus nppiHistogramEven_16u_C3R(CUdeviceptr pSrc, int nSrcStep, NppiSize oSizeROI, CUdeviceptr[] pHist, int[] nLevels, int[] nLowerLevel, int[] nUpperLevel, CUdeviceptr pBuffer)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source-Image Pointer. |
System.Int32 | nSrcStep | Source-Image Line Step. |
NppiSize | oSizeROI | Region-of-Interest (ROI). |
CUdeviceptr[] | pHist | Array of pointers which are receiving computed histograms per color channel. |
System.Int32[] | nLevels | Array containing number of levels per color channel. |
System.Int32[] | nLowerLevel | Array containing lower-level of lowest bin per color channel. |
System.Int32[] | nUpperLevel | Array containing upper-level of highest bin per color channel. |
CUdeviceptr | pBuffer | Pointer to appropriately sized (nppiHistogramEvenGetBufferSize_16u_C3R) |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError |
nppiHistogramEven_16u_C4R(CUdeviceptr, Int32, NppiSize, CUdeviceptr[], Int32[], Int32[], Int32[], CUdeviceptr)
4 channel 16-bit unsigned histogram with evenly distributed bins.
Declaration
public static NppStatus nppiHistogramEven_16u_C4R(CUdeviceptr pSrc, int nSrcStep, NppiSize oSizeROI, CUdeviceptr[] pHist, int[] nLevels, int[] nLowerLevel, int[] nUpperLevel, CUdeviceptr pBuffer)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source-Image Pointer. |
System.Int32 | nSrcStep | Source-Image Line Step. |
NppiSize | oSizeROI | Region-of-Interest (ROI). |
CUdeviceptr[] | pHist | Array of pointers which are receiving computed histograms per color channel. |
System.Int32[] | nLevels | Array containing number of levels per color channel. |
System.Int32[] | nLowerLevel | Array containing lower-level of lowest bin per color channel. |
System.Int32[] | nUpperLevel | Array containing upper-level of highest bin per color channel. |
CUdeviceptr | pBuffer | Pointer to appropriately sized (nppiHistogramEvenGetBufferSize_16u_C4R) |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError |
nppiHistogramEven_8u_AC4R(CUdeviceptr, Int32, NppiSize, CUdeviceptr[], Int32[], Int32[], Int32[], CUdeviceptr)
4 channel (alpha as the last channel) 8-bit unsigned histogram with evenly distributed bins. Alpha channel is ignored during histogram computation.
Declaration
public static NppStatus nppiHistogramEven_8u_AC4R(CUdeviceptr pSrc, int nSrcStep, NppiSize oSizeROI, CUdeviceptr[] pHist, int[] nLevels, int[] nLowerLevel, int[] nUpperLevel, CUdeviceptr pBuffer)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source-Image Pointer. |
System.Int32 | nSrcStep | Source-Image Line Step. |
NppiSize | oSizeROI | Region-of-Interest (ROI). |
CUdeviceptr[] | pHist | Array of pointers which are receiving computed histograms per color channel. |
System.Int32[] | nLevels | Array containing number of levels per color channel. |
System.Int32[] | nLowerLevel | Array containing lower-level of lowest bin per color channel. |
System.Int32[] | nUpperLevel | Array containing upper-level of highest bin per color channel. |
CUdeviceptr | pBuffer | Pointer to appropriately sized (nppiHistogramEvenGetBufferSize_8u_AC4R) |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError |
nppiHistogramEven_8u_C1R(CUdeviceptr, Int32, NppiSize, CUdeviceptr, Int32, Int32, Int32, CUdeviceptr)
8-bit unsigned histogram with evenly distributed bins.
Declaration
public static NppStatus nppiHistogramEven_8u_C1R(CUdeviceptr pSrc, int nSrcStep, NppiSize oSizeROI, CUdeviceptr pHist, int nLevels, int nLowerLevel, int nUpperLevel, CUdeviceptr pBuffer)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source-Image Pointer. |
System.Int32 | nSrcStep | Source-Image Line Step. |
NppiSize | oSizeROI | Region-of-Interest (ROI). |
CUdeviceptr | pHist | Pointer to array that receives the computed histogram. |
System.Int32 | nLevels | Number of levels. |
System.Int32 | nLowerLevel | Lower boundary of lowest level bin. |
System.Int32 | nUpperLevel | Upper boundary of highest level bin. |
CUdeviceptr | pBuffer | Pointer to appropriately sized (nppiHistogramEvenGetBufferSize_8u_C1R) |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError |
nppiHistogramEven_8u_C3R(CUdeviceptr, Int32, NppiSize, CUdeviceptr[], Int32[], Int32[], Int32[], CUdeviceptr)
3 channel 8-bit unsigned histogram with evenly distributed bins.
Declaration
public static NppStatus nppiHistogramEven_8u_C3R(CUdeviceptr pSrc, int nSrcStep, NppiSize oSizeROI, CUdeviceptr[] pHist, int[] nLevels, int[] nLowerLevel, int[] nUpperLevel, CUdeviceptr pBuffer)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source-Image Pointer. |
System.Int32 | nSrcStep | Source-Image Line Step. |
NppiSize | oSizeROI | Region-of-Interest (ROI). |
CUdeviceptr[] | pHist | Array of pointers which are receiving computed histograms per color channel. |
System.Int32[] | nLevels | Array containing number of levels per color channel. |
System.Int32[] | nLowerLevel | Array containing lower-level of lowest bin per color channel. |
System.Int32[] | nUpperLevel | Array containing upper-level of highest bin per color channel. |
CUdeviceptr | pBuffer | Pointer to appropriately sized (nppiHistogramEvenGetBufferSize_8u_C3R) |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError |
nppiHistogramEven_8u_C4R(CUdeviceptr, Int32, NppiSize, CUdeviceptr[], Int32[], Int32[], Int32[], CUdeviceptr)
4 channel 8-bit unsigned histogram with evenly distributed bins.
Declaration
public static NppStatus nppiHistogramEven_8u_C4R(CUdeviceptr pSrc, int nSrcStep, NppiSize oSizeROI, CUdeviceptr[] pHist, int[] nLevels, int[] nLowerLevel, int[] nUpperLevel, CUdeviceptr pBuffer)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source-Image Pointer. |
System.Int32 | nSrcStep | Source-Image Line Step. |
NppiSize | oSizeROI | Region-of-Interest (ROI). |
CUdeviceptr[] | pHist | Array of pointers which are receiving computed histograms per color channel. |
System.Int32[] | nLevels | Array containing number of levels per color channel. |
System.Int32[] | nLowerLevel | Array containing lower-level of lowest bin per color channel. |
System.Int32[] | nUpperLevel | Array containing upper-level of highest bin per color channel. |
CUdeviceptr | pBuffer | Pointer to appropriately sized (nppiHistogramEvenGetBufferSize_8u_C4R) |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError |
nppiHistogramEvenGetBufferSize_16s_AC4R(NppiSize, Int32[], ref Int32)
Scratch-buffer size for nppiHistogramEven_16s_AC4R.
Declaration
public static NppStatus nppiHistogramEvenGetBufferSize_16s_AC4R(NppiSize oSizeROI, int[] nLevels, ref int hpBufferSize)
Parameters
Type | Name | Description |
---|---|---|
NppiSize | oSizeROI | ROI size. |
System.Int32[] | nLevels | Array containing number of levels per color channel. |
System.Int32 | hpBufferSize | Host pointer where required buffer size is returned. |
Returns
Type | Description |
---|---|
NppStatus | Error Code. |
nppiHistogramEvenGetBufferSize_16s_C1R(NppiSize, Int32, ref Int32)
Scratch-buffer size for nppiHistogramEven_16s_C1R.
Declaration
public static NppStatus nppiHistogramEvenGetBufferSize_16s_C1R(NppiSize oSizeROI, int nLevels, ref int hpBufferSize)
Parameters
Type | Name | Description |
---|---|---|
NppiSize | oSizeROI | Region-of-Interest (ROI). |
System.Int32 | nLevels | Number of levels in the histogram. |
System.Int32 | hpBufferSize | Host pointer where required buffer size is returned. |
Returns
Type | Description |
---|---|
NppStatus | Error Code. |
nppiHistogramEvenGetBufferSize_16s_C3R(NppiSize, Int32[], ref Int32)
Scratch-buffer size for nppiHistogramEven_16s_C3R.
Declaration
public static NppStatus nppiHistogramEvenGetBufferSize_16s_C3R(NppiSize oSizeROI, int[] nLevels, ref int hpBufferSize)
Parameters
Type | Name | Description |
---|---|---|
NppiSize | oSizeROI | ROI size. |
System.Int32[] | nLevels | Array containing number of levels per color channel. |
System.Int32 | hpBufferSize | Host pointer where required buffer size is returned. |
Returns
Type | Description |
---|---|
NppStatus | Error Code. |
nppiHistogramEvenGetBufferSize_16s_C4R(NppiSize, Int32[], ref Int32)
Scratch-buffer size for nppiHistogramEven_16s_C4R.
Declaration
public static NppStatus nppiHistogramEvenGetBufferSize_16s_C4R(NppiSize oSizeROI, int[] nLevels, ref int hpBufferSize)
Parameters
Type | Name | Description |
---|---|---|
NppiSize | oSizeROI | ROI size. |
System.Int32[] | nLevels | Array containing number of levels per color channel. |
System.Int32 | hpBufferSize | Host pointer where required buffer size is returned. |
Returns
Type | Description |
---|---|
NppStatus | Error Code. |
nppiHistogramEvenGetBufferSize_16u_AC4R(NppiSize, Int32[], ref Int32)
Scratch-buffer size for nppiHistogramEven_16u_AC4R.
Declaration
public static NppStatus nppiHistogramEvenGetBufferSize_16u_AC4R(NppiSize oSizeROI, int[] nLevels, ref int hpBufferSize)
Parameters
Type | Name | Description |
---|---|---|
NppiSize | oSizeROI | ROI size. |
System.Int32[] | nLevels | Array containing number of levels per color channel. |
System.Int32 | hpBufferSize | Host pointer where required buffer size is returned. |
Returns
Type | Description |
---|---|
NppStatus | Error Code. |
nppiHistogramEvenGetBufferSize_16u_C1R(NppiSize, Int32, ref Int32)
Scratch-buffer size for nppiHistogramEven_16u_C1R.
Declaration
public static NppStatus nppiHistogramEvenGetBufferSize_16u_C1R(NppiSize oSizeROI, int nLevels, ref int hpBufferSize)
Parameters
Type | Name | Description |
---|---|---|
NppiSize | oSizeROI | Region-of-Interest (ROI). |
System.Int32 | nLevels | Number of levels in the histogram. |
System.Int32 | hpBufferSize | Host pointer where required buffer size is returned. |
Returns
Type | Description |
---|---|
NppStatus | Error Code. |
nppiHistogramEvenGetBufferSize_16u_C3R(NppiSize, Int32[], ref Int32)
Scratch-buffer size for nppiHistogramEven_16u_C3R.
Declaration
public static NppStatus nppiHistogramEvenGetBufferSize_16u_C3R(NppiSize oSizeROI, int[] nLevels, ref int hpBufferSize)
Parameters
Type | Name | Description |
---|---|---|
NppiSize | oSizeROI | ROI size. |
System.Int32[] | nLevels | Array containing number of levels per color channel. |
System.Int32 | hpBufferSize | Host pointer where required buffer size is returned. |
Returns
Type | Description |
---|---|
NppStatus | Error Code. |
nppiHistogramEvenGetBufferSize_16u_C4R(NppiSize, Int32[], ref Int32)
Scratch-buffer size for nppiHistogramEven_16u_C4R.
Declaration
public static NppStatus nppiHistogramEvenGetBufferSize_16u_C4R(NppiSize oSizeROI, int[] nLevels, ref int hpBufferSize)
Parameters
Type | Name | Description |
---|---|---|
NppiSize | oSizeROI | ROI size. |
System.Int32[] | nLevels | Array containing number of levels per color channel. |
System.Int32 | hpBufferSize | Host pointer where required buffer size is returned. |
Returns
Type | Description |
---|---|
NppStatus | Error Code. |
nppiHistogramEvenGetBufferSize_8u_AC4R(NppiSize, Int32[], ref Int32)
Scratch-buffer size for nppiHistogramEven_8u_AC4R.
Declaration
public static NppStatus nppiHistogramEvenGetBufferSize_8u_AC4R(NppiSize oSizeROI, int[] nLevels, ref int hpBufferSize)
Parameters
Type | Name | Description |
---|---|---|
NppiSize | oSizeROI | ROI size. |
System.Int32[] | nLevels | Array containing number of levels per color channel. |
System.Int32 | hpBufferSize | Host pointer where required buffer size is returned. |
Returns
Type | Description |
---|---|
NppStatus | Error Code. |
nppiHistogramEvenGetBufferSize_8u_C1R(NppiSize, Int32, ref Int32)
Scratch-buffer size for nppiHistogramEven_8u_C1R.
Declaration
public static NppStatus nppiHistogramEvenGetBufferSize_8u_C1R(NppiSize oSizeROI, int nLevels, ref int hpBufferSize)
Parameters
Type | Name | Description |
---|---|---|
NppiSize | oSizeROI | Region-of-Interest (ROI). |
System.Int32 | nLevels | Number of levels in the histogram. |
System.Int32 | hpBufferSize | Host pointer where required buffer size is returned. |
Returns
Type | Description |
---|---|
NppStatus | Error Code. |
nppiHistogramEvenGetBufferSize_8u_C3R(NppiSize, Int32[], ref Int32)
Scratch-buffer size for nppiHistogramEven_8u_C3R.
Declaration
public static NppStatus nppiHistogramEvenGetBufferSize_8u_C3R(NppiSize oSizeROI, int[] nLevels, ref int hpBufferSize)
Parameters
Type | Name | Description |
---|---|---|
NppiSize | oSizeROI | ROI size. |
System.Int32[] | nLevels | Array containing number of levels per color channel. |
System.Int32 | hpBufferSize | Host pointer where required buffer size is returned. |
Returns
Type | Description |
---|---|
NppStatus | Error Code. |
nppiHistogramEvenGetBufferSize_8u_C4R(NppiSize, Int32[], ref Int32)
Scratch-buffer size for nppiHistogramEven_8u_C4R.
Declaration
public static NppStatus nppiHistogramEvenGetBufferSize_8u_C4R(NppiSize oSizeROI, int[] nLevels, ref int hpBufferSize)
Parameters
Type | Name | Description |
---|---|---|
NppiSize | oSizeROI | ROI size. |
System.Int32[] | nLevels | Array containing number of levels per color channel. |
System.Int32 | hpBufferSize | Host pointer where required buffer size is returned. |
Returns
Type | Description |
---|---|
NppStatus | Error Code. |
nppiHistogramRange_16s_AC4R(CUdeviceptr, Int32, NppiSize, CUdeviceptr[], CUdeviceptr[], Int32[], CUdeviceptr)
4 channel (alpha as a last channel) 16-bit signed histogram with bins determined by pLevels. Alpha channel is ignored during the histograms computations.
Declaration
public static NppStatus nppiHistogramRange_16s_AC4R(CUdeviceptr pSrc, int nSrcStep, NppiSize oSizeROI, CUdeviceptr[] pHist, CUdeviceptr[] pLevels, int[] nLevels, CUdeviceptr pBuffer)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source-Image Pointer. |
System.Int32 | nSrcStep | Source-Image Line Step. |
NppiSize | oSizeROI | Region-of-Interest (ROI). |
CUdeviceptr[] | pHist | Array of pointers which are receiving the computed histograms per color channel. |
CUdeviceptr[] | pLevels | Array containing pointers to level-arrays per color channel. |
System.Int32[] | nLevels | Array containing number of levels per color channel. |
CUdeviceptr | pBuffer | Pointer to appropriately sized (nppiHistogramRangeGetBufferSize_16_AC4R) |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError |
nppiHistogramRange_16s_C1R(CUdeviceptr, Int32, NppiSize, CUdeviceptr, CUdeviceptr, Int32, CUdeviceptr)
16-bit signed histogram with bins determined by pLevels array.
Declaration
public static NppStatus nppiHistogramRange_16s_C1R(CUdeviceptr pSrc, int nSrcStep, NppiSize oSizeROI, CUdeviceptr pHist, CUdeviceptr pLevels, int nLevels, CUdeviceptr pBuffer)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source-Image Pointer. |
System.Int32 | nSrcStep | Source-Image Line Step. |
NppiSize | oSizeROI | Region-of-Interest (ROI). |
CUdeviceptr | pHist | Pointer to array that receives the computed histogram. |
CUdeviceptr | pLevels | Pointer to array containing the level sizes of the bins. |
System.Int32 | nLevels | Number of levels in histogram. |
CUdeviceptr | pBuffer | Pointer to appropriately sized (nppiHistogramRangeGetBufferSize_16_C1R) |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError |
nppiHistogramRange_16s_C3R(CUdeviceptr, Int32, NppiSize, CUdeviceptr[], CUdeviceptr[], Int32[], CUdeviceptr)
4 channel 16-bit signed histogram with bins determined by pLevels.
Declaration
public static NppStatus nppiHistogramRange_16s_C3R(CUdeviceptr pSrc, int nSrcStep, NppiSize oSizeROI, CUdeviceptr[] pHist, CUdeviceptr[] pLevels, int[] nLevels, CUdeviceptr pBuffer)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source-Image Pointer. |
System.Int32 | nSrcStep | Source-Image Line Step. |
NppiSize | oSizeROI | Region-of-Interest (ROI). |
CUdeviceptr[] | pHist | Array of pointers which are receiving the computed histograms per color channel. |
CUdeviceptr[] | pLevels | Array containing pointers to level-arrays per color channel. |
System.Int32[] | nLevels | Array containing number of levels per color channel. |
CUdeviceptr | pBuffer | Pointer to appropriately sized (nppiHistogramRangeGetBufferSize_16s_C3R) |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError |
nppiHistogramRange_16s_C4R(CUdeviceptr, Int32, NppiSize, CUdeviceptr[], CUdeviceptr[], Int32[], CUdeviceptr)
4 channel 16-bit signed histogram with bins determined by pLevels.
Declaration
public static NppStatus nppiHistogramRange_16s_C4R(CUdeviceptr pSrc, int nSrcStep, NppiSize oSizeROI, CUdeviceptr[] pHist, CUdeviceptr[] pLevels, int[] nLevels, CUdeviceptr pBuffer)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source-Image Pointer. |
System.Int32 | nSrcStep | Source-Image Line Step. |
NppiSize | oSizeROI | Region-of-Interest (ROI). |
CUdeviceptr[] | pHist | Array of pointers which are receiving the computed histograms per color channel. |
CUdeviceptr[] | pLevels | Array containing pointers to level-arrays per color channel. |
System.Int32[] | nLevels | Array containing number of levels per color channel. |
CUdeviceptr | pBuffer | Pointer to appropriately sized (nppiHistogramRangeGetBufferSize_16s_C4R) |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError |
nppiHistogramRange_16u_AC4R(CUdeviceptr, Int32, NppiSize, CUdeviceptr[], CUdeviceptr[], Int32[], CUdeviceptr)
4 channel (alpha as a last channel) 16-bit unsigned histogram with bins determined by pLevels. Alpha channel is ignored during the histograms computations.
Declaration
public static NppStatus nppiHistogramRange_16u_AC4R(CUdeviceptr pSrc, int nSrcStep, NppiSize oSizeROI, CUdeviceptr[] pHist, CUdeviceptr[] pLevels, int[] nLevels, CUdeviceptr pBuffer)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source-Image Pointer. |
System.Int32 | nSrcStep | Source-Image Line Step. |
NppiSize | oSizeROI | Region-of-Interest (ROI). |
CUdeviceptr[] | pHist | Array of pointers which are receiving the computed histograms per color channel. |
CUdeviceptr[] | pLevels | Array containing pointers to level-arrays per color channel. |
System.Int32[] | nLevels | Array containing number of levels per color channel. |
CUdeviceptr | pBuffer | Pointer to appropriately sized (nppiHistogramRangeGetBufferSize_16u_AC4R) |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError |
nppiHistogramRange_16u_C1R(CUdeviceptr, Int32, NppiSize, CUdeviceptr, CUdeviceptr, Int32, CUdeviceptr)
16-bit unsigned histogram with bins determined by pLevels array.
Declaration
public static NppStatus nppiHistogramRange_16u_C1R(CUdeviceptr pSrc, int nSrcStep, NppiSize oSizeROI, CUdeviceptr pHist, CUdeviceptr pLevels, int nLevels, CUdeviceptr pBuffer)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source-Image Pointer. |
System.Int32 | nSrcStep | Source-Image Line Step. |
NppiSize | oSizeROI | Region-of-Interest (ROI). |
CUdeviceptr | pHist | Pointer to array that receives the computed histogram. |
CUdeviceptr | pLevels | Pointer to array containing the level sizes of the bins. |
System.Int32 | nLevels | Number of levels in histogram. |
CUdeviceptr | pBuffer | Pointer to appropriately sized (nppiHistogramRangeGetBufferSize_16u_C1R) |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError |
nppiHistogramRange_16u_C3R(CUdeviceptr, Int32, NppiSize, CUdeviceptr[], CUdeviceptr[], Int32[], CUdeviceptr)
4 channel 16-bit unsigned histogram with bins determined by pLevels.
Declaration
public static NppStatus nppiHistogramRange_16u_C3R(CUdeviceptr pSrc, int nSrcStep, NppiSize oSizeROI, CUdeviceptr[] pHist, CUdeviceptr[] pLevels, int[] nLevels, CUdeviceptr pBuffer)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source-Image Pointer. |
System.Int32 | nSrcStep | Source-Image Line Step. |
NppiSize | oSizeROI | Region-of-Interest (ROI). |
CUdeviceptr[] | pHist | Array of pointers which are receiving the computed histograms per color channel. |
CUdeviceptr[] | pLevels | Array containing pointers to level-arrays per color channel. |
System.Int32[] | nLevels | Array containing number of levels per color channel. |
CUdeviceptr | pBuffer | Pointer to appropriately sized (nppiHistogramRangeGetBufferSize_16u_C3R) |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError |
nppiHistogramRange_16u_C4R(CUdeviceptr, Int32, NppiSize, CUdeviceptr[], CUdeviceptr[], Int32[], CUdeviceptr)
4 channel 16-bit unsigned histogram with bins determined by pLevels.
Declaration
public static NppStatus nppiHistogramRange_16u_C4R(CUdeviceptr pSrc, int nSrcStep, NppiSize oSizeROI, CUdeviceptr[] pHist, CUdeviceptr[] pLevels, int[] nLevels, CUdeviceptr pBuffer)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source-Image Pointer. |
System.Int32 | nSrcStep | Source-Image Line Step. |
NppiSize | oSizeROI | Region-of-Interest (ROI). |
CUdeviceptr[] | pHist | Array of pointers which are receiving the computed histograms per color channel. |
CUdeviceptr[] | pLevels | Array containing pointers to level-arrays per color channel. |
System.Int32[] | nLevels | Array containing number of levels per color channel. |
CUdeviceptr | pBuffer | Pointer to appropriately sized (nppiHistogramRangeGetBufferSize_16u_C4R) |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError |
nppiHistogramRange_32f_AC4R(CUdeviceptr, Int32, NppiSize, CUdeviceptr[], CUdeviceptr[], Int32[], CUdeviceptr)
4 channel (alpha as a last channel) 32-bit float histogram with bins determined by pLevels. Alpha channel is ignored during the histograms computations.
Declaration
public static NppStatus nppiHistogramRange_32f_AC4R(CUdeviceptr pSrc, int nSrcStep, NppiSize oSizeROI, CUdeviceptr[] pHist, CUdeviceptr[] pLevels, int[] nLevels, CUdeviceptr pBuffer)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source-Image Pointer. |
System.Int32 | nSrcStep | Source-Image Line Step. |
NppiSize | oSizeROI | Region-of-Interest (ROI). |
CUdeviceptr[] | pHist | Array of pointers which are receiving the computed histograms per color channel. |
CUdeviceptr[] | pLevels | Array containing pointers to level-arrays per color channel. |
System.Int32[] | nLevels | Array containing number of levels per color channel. |
CUdeviceptr | pBuffer | Pointer to appropriately sized (nppiHistogramRangeGetBufferSize_32f_AC4R) |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError |
nppiHistogramRange_32f_C1R(CUdeviceptr, Int32, NppiSize, CUdeviceptr, CUdeviceptr, Int32, CUdeviceptr)
32-bit float histogram with bins determined by pLevels array.
Declaration
public static NppStatus nppiHistogramRange_32f_C1R(CUdeviceptr pSrc, int nSrcStep, NppiSize oSizeROI, CUdeviceptr pHist, CUdeviceptr pLevels, int nLevels, CUdeviceptr pBuffer)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source-Image Pointer. |
System.Int32 | nSrcStep | Source-Image Line Step. |
NppiSize | oSizeROI | Region-of-Interest (ROI). |
CUdeviceptr | pHist | Pointer to array that receives the computed histogram. |
CUdeviceptr | pLevels | Pointer to array containing the level sizes of the bins. |
System.Int32 | nLevels | Number of levels in histogram. |
CUdeviceptr | pBuffer | Pointer to appropriately sized (nppiHistogramRangeGetBufferSize_32f_C1R) |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError |
nppiHistogramRange_32f_C3R(CUdeviceptr, Int32, NppiSize, CUdeviceptr[], CUdeviceptr[], Int32[], CUdeviceptr)
4 channel 32-bit float histogram with bins determined by pLevels.
Declaration
public static NppStatus nppiHistogramRange_32f_C3R(CUdeviceptr pSrc, int nSrcStep, NppiSize oSizeROI, CUdeviceptr[] pHist, CUdeviceptr[] pLevels, int[] nLevels, CUdeviceptr pBuffer)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source-Image Pointer. |
System.Int32 | nSrcStep | Source-Image Line Step. |
NppiSize | oSizeROI | Region-of-Interest (ROI). |
CUdeviceptr[] | pHist | Array of pointers which are receiving the computed histograms per color channel. |
CUdeviceptr[] | pLevels | Array containing pointers to level-arrays per color channel. |
System.Int32[] | nLevels | Array containing number of levels per color channel. |
CUdeviceptr | pBuffer | Pointer to appropriately sized (nppiHistogramRangeGetBufferSize_32f_C3R) |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError |
nppiHistogramRange_32f_C4R(CUdeviceptr, Int32, NppiSize, CUdeviceptr[], CUdeviceptr[], Int32[], CUdeviceptr)
4 channel 32-bit float histogram with bins determined by pLevels.
Declaration
public static NppStatus nppiHistogramRange_32f_C4R(CUdeviceptr pSrc, int nSrcStep, NppiSize oSizeROI, CUdeviceptr[] pHist, CUdeviceptr[] pLevels, int[] nLevels, CUdeviceptr pBuffer)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source-Image Pointer. |
System.Int32 | nSrcStep | Source-Image Line Step. |
NppiSize | oSizeROI | Region-of-Interest (ROI). |
CUdeviceptr[] | pHist | Array of pointers which are receiving the computed histograms per color channel. |
CUdeviceptr[] | pLevels | Array containing pointers to level-arrays per color channel. |
System.Int32[] | nLevels | Array containing number of levels per color channel. |
CUdeviceptr | pBuffer | Pointer to appropriately sized (nppiHistogramRangeGetBufferSize_32f_C4R) |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError |
nppiHistogramRange_8u_AC4R(CUdeviceptr, Int32, NppiSize, CUdeviceptr[], CUdeviceptr[], Int32[], CUdeviceptr)
4 channel (alpha as a last channel) 8-bit unsigned histogram with bins determined by pLevels. Alpha channel is ignored during the histograms computations.
Declaration
public static NppStatus nppiHistogramRange_8u_AC4R(CUdeviceptr pSrc, int nSrcStep, NppiSize oSizeROI, CUdeviceptr[] pHist, CUdeviceptr[] pLevels, int[] nLevels, CUdeviceptr pBuffer)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source-Image Pointer. |
System.Int32 | nSrcStep | Source-Image Line Step. |
NppiSize | oSizeROI | Region-of-Interest (ROI). |
CUdeviceptr[] | pHist | Array of pointers which are receiving the computed histograms per color channel. |
CUdeviceptr[] | pLevels | Array containing pointers to level-arrays per color channel. |
System.Int32[] | nLevels | Array containing number of levels per color channel. |
CUdeviceptr | pBuffer | Pointer to appropriately sized (nppiHistogramRangeGetBufferSize_8u_AC4R) |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError |
nppiHistogramRange_8u_C1R(CUdeviceptr, Int32, NppiSize, CUdeviceptr, CUdeviceptr, Int32, CUdeviceptr)
8-bit unsigned histogram with bins determined by pLevels array.
Declaration
public static NppStatus nppiHistogramRange_8u_C1R(CUdeviceptr pSrc, int nSrcStep, NppiSize oSizeROI, CUdeviceptr pHist, CUdeviceptr pLevels, int nLevels, CUdeviceptr pBuffer)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source-Image Pointer. |
System.Int32 | nSrcStep | Source-Image Line Step. |
NppiSize | oSizeROI | Region-of-Interest (ROI). |
CUdeviceptr | pHist | Pointer to array that receives the computed histogram. |
CUdeviceptr | pLevels | Pointer to array containing the level sizes of the bins. |
System.Int32 | nLevels | Number of levels in histogram. |
CUdeviceptr | pBuffer | Pointer to appropriately sized (nppiHistogramRangeGetBufferSize_8u_C1R) |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError |
nppiHistogramRange_8u_C3R(CUdeviceptr, Int32, NppiSize, CUdeviceptr[], CUdeviceptr[], Int32[], CUdeviceptr)
4 channel 8-bit unsigned histogram with bins determined by pLevels.
Declaration
public static NppStatus nppiHistogramRange_8u_C3R(CUdeviceptr pSrc, int nSrcStep, NppiSize oSizeROI, CUdeviceptr[] pHist, CUdeviceptr[] pLevels, int[] nLevels, CUdeviceptr pBuffer)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source-Image Pointer. |
System.Int32 | nSrcStep | Source-Image Line Step. |
NppiSize | oSizeROI | Region-of-Interest (ROI). |
CUdeviceptr[] | pHist | Array of pointers which are receiving the computed histograms per color channel. |
CUdeviceptr[] | pLevels | Array containing pointers to level-arrays per color channel. |
System.Int32[] | nLevels | Array containing number of levels per color channel. |
CUdeviceptr | pBuffer | Pointer to appropriately sized (nppiHistogramRangeGetBufferSize_8u_C3R) |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError |
nppiHistogramRange_8u_C4R(CUdeviceptr, Int32, NppiSize, CUdeviceptr[], CUdeviceptr[], Int32[], CUdeviceptr)
4 channel 8-bit unsigned histogram with bins determined by pLevels.
Declaration
public static NppStatus nppiHistogramRange_8u_C4R(CUdeviceptr pSrc, int nSrcStep, NppiSize oSizeROI, CUdeviceptr[] pHist, CUdeviceptr[] pLevels, int[] nLevels, CUdeviceptr pBuffer)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source-Image Pointer. |
System.Int32 | nSrcStep | Source-Image Line Step. |
NppiSize | oSizeROI | Region-of-Interest (ROI). |
CUdeviceptr[] | pHist | Array of pointers which are receiving the computed histograms per color channel. |
CUdeviceptr[] | pLevels | Array containing pointers to level-arrays per color channel. |
System.Int32[] | nLevels | Array containing number of levels per color channel. |
CUdeviceptr | pBuffer | Pointer to appropriately sized (nppiHistogramRangeGetBufferSize_8u_C4R) |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError |
nppiHistogramRangeGetBufferSize_16s_AC4R(NppiSize, Int32[], ref Int32)
Scratch-buffer size for nppiHistogramRange_16s_AC4R.
Declaration
public static NppStatus nppiHistogramRangeGetBufferSize_16s_AC4R(NppiSize oSizeROI, int[] nLevels, ref int hpBufferSize)
Parameters
Type | Name | Description |
---|---|---|
NppiSize | oSizeROI | ROI size. |
System.Int32[] | nLevels | Array containing number of levels per color channel. |
System.Int32 | hpBufferSize | Host pointer where required buffer size is returned. |
Returns
Type | Description |
---|---|
NppStatus | Error Code. |
nppiHistogramRangeGetBufferSize_16s_C1R(NppiSize, Int32, ref Int32)
Scratch-buffer size for nppiHistogramRange_16s_C1R.
Declaration
public static NppStatus nppiHistogramRangeGetBufferSize_16s_C1R(NppiSize oSizeROI, int nLevels, ref int hpBufferSize)
Parameters
Type | Name | Description |
---|---|---|
NppiSize | oSizeROI | Region-of-Interest (ROI). |
System.Int32 | nLevels | Number of levels in the histogram. |
System.Int32 | hpBufferSize | Host pointer where required buffer size is returned. |
Returns
Type | Description |
---|---|
NppStatus | Error Code. |
nppiHistogramRangeGetBufferSize_16s_C3R(NppiSize, Int32[], ref Int32)
Scratch-buffer size for nppiHistogramRange_16s_C3R.
Declaration
public static NppStatus nppiHistogramRangeGetBufferSize_16s_C3R(NppiSize oSizeROI, int[] nLevels, ref int hpBufferSize)
Parameters
Type | Name | Description |
---|---|---|
NppiSize | oSizeROI | ROI size. |
System.Int32[] | nLevels | Array containing number of levels per color channel. |
System.Int32 | hpBufferSize | Host pointer where required buffer size is returned. |
Returns
Type | Description |
---|---|
NppStatus | Error Code. |
nppiHistogramRangeGetBufferSize_16s_C4R(NppiSize, Int32[], ref Int32)
Scratch-buffer size for nppiHistogramRange_16s_C4R.
Declaration
public static NppStatus nppiHistogramRangeGetBufferSize_16s_C4R(NppiSize oSizeROI, int[] nLevels, ref int hpBufferSize)
Parameters
Type | Name | Description |
---|---|---|
NppiSize | oSizeROI | ROI size. |
System.Int32[] | nLevels | Array containing number of levels per color channel. |
System.Int32 | hpBufferSize | Host pointer where required buffer size is returned. |
Returns
Type | Description |
---|---|
NppStatus | Error Code. |
nppiHistogramRangeGetBufferSize_16u_AC4R(NppiSize, Int32[], ref Int32)
Scratch-buffer size for nppiHistogramRange_16u_AC4R.
Declaration
public static NppStatus nppiHistogramRangeGetBufferSize_16u_AC4R(NppiSize oSizeROI, int[] nLevels, ref int hpBufferSize)
Parameters
Type | Name | Description |
---|---|---|
NppiSize | oSizeROI | ROI size. |
System.Int32[] | nLevels | Array containing number of levels per color channel. |
System.Int32 | hpBufferSize | Host pointer where required buffer size is returned. |
Returns
Type | Description |
---|---|
NppStatus | Error Code. |
nppiHistogramRangeGetBufferSize_16u_C1R(NppiSize, Int32, ref Int32)
Scratch-buffer size for nppiHistogramRange_16u_C1R.
Declaration
public static NppStatus nppiHistogramRangeGetBufferSize_16u_C1R(NppiSize oSizeROI, int nLevels, ref int hpBufferSize)
Parameters
Type | Name | Description |
---|---|---|
NppiSize | oSizeROI | Region-of-Interest (ROI). |
System.Int32 | nLevels | Number of levels in the histogram. |
System.Int32 | hpBufferSize | Host pointer where required buffer size is returned. |
Returns
Type | Description |
---|---|
NppStatus | Error Code. |
nppiHistogramRangeGetBufferSize_16u_C3R(NppiSize, Int32[], ref Int32)
Scratch-buffer size for nppiHistogramRange_16u_C3R.
Declaration
public static NppStatus nppiHistogramRangeGetBufferSize_16u_C3R(NppiSize oSizeROI, int[] nLevels, ref int hpBufferSize)
Parameters
Type | Name | Description |
---|---|---|
NppiSize | oSizeROI | ROI size. |
System.Int32[] | nLevels | Array containing number of levels per color channel. |
System.Int32 | hpBufferSize | Host pointer where required buffer size is returned. |
Returns
Type | Description |
---|---|
NppStatus | Error Code. |
nppiHistogramRangeGetBufferSize_16u_C4R(NppiSize, Int32[], ref Int32)
Scratch-buffer size for nppiHistogramRange_16u_C4R.
Declaration
public static NppStatus nppiHistogramRangeGetBufferSize_16u_C4R(NppiSize oSizeROI, int[] nLevels, ref int hpBufferSize)
Parameters
Type | Name | Description |
---|---|---|
NppiSize | oSizeROI | ROI size. |
System.Int32[] | nLevels | Array containing number of levels per color channel. |
System.Int32 | hpBufferSize | Host pointer where required buffer size is returned. |
Returns
Type | Description |
---|---|
NppStatus | Error Code. |
nppiHistogramRangeGetBufferSize_32f_AC4R(NppiSize, Int32[], ref Int32)
Scratch-buffer size for nppiHistogramRange_32f_AC4R.
Declaration
public static NppStatus nppiHistogramRangeGetBufferSize_32f_AC4R(NppiSize oSizeROI, int[] nLevels, ref int hpBufferSize)
Parameters
Type | Name | Description |
---|---|---|
NppiSize | oSizeROI | ROI size. |
System.Int32[] | nLevels | Array containing number of levels per color channel. |
System.Int32 | hpBufferSize | Host pointer where required buffer size is returned. |
Returns
Type | Description |
---|---|
NppStatus | Error Code. |
nppiHistogramRangeGetBufferSize_32f_C1R(NppiSize, Int32, ref Int32)
Scratch-buffer size for nppiHistogramRange_32f_C1R.
Declaration
public static NppStatus nppiHistogramRangeGetBufferSize_32f_C1R(NppiSize oSizeROI, int nLevels, ref int hpBufferSize)
Parameters
Type | Name | Description |
---|---|---|
NppiSize | oSizeROI | Region-of-Interest (ROI). |
System.Int32 | nLevels | Number of levels in the histogram. |
System.Int32 | hpBufferSize | Host pointer where required buffer size is returned. |
Returns
Type | Description |
---|---|
NppStatus | Error Code. |
nppiHistogramRangeGetBufferSize_32f_C3R(NppiSize, Int32[], ref Int32)
Scratch-buffer size for nppiHistogramRange_32f_C3R.
Declaration
public static NppStatus nppiHistogramRangeGetBufferSize_32f_C3R(NppiSize oSizeROI, int[] nLevels, ref int hpBufferSize)
Parameters
Type | Name | Description |
---|---|---|
NppiSize | oSizeROI | ROI size. |
System.Int32[] | nLevels | Array containing number of levels per color channel. |
System.Int32 | hpBufferSize | Host pointer where required buffer size is returned. |
Returns
Type | Description |
---|---|
NppStatus | Error Code. |
nppiHistogramRangeGetBufferSize_32f_C4R(NppiSize, Int32[], ref Int32)
Scratch-buffer size for nppiHistogramRange_32f_C4R.
Declaration
public static NppStatus nppiHistogramRangeGetBufferSize_32f_C4R(NppiSize oSizeROI, int[] nLevels, ref int hpBufferSize)
Parameters
Type | Name | Description |
---|---|---|
NppiSize | oSizeROI | ROI size. |
System.Int32[] | nLevels | Array containing number of levels per color channel. |
System.Int32 | hpBufferSize | Host pointer where required buffer size is returned. |
Returns
Type | Description |
---|---|
NppStatus | Error Code. |
nppiHistogramRangeGetBufferSize_8u_AC4R(NppiSize, Int32[], ref Int32)
Scratch-buffer size for nppiHistogramRange_8u_AC4R.
Declaration
public static NppStatus nppiHistogramRangeGetBufferSize_8u_AC4R(NppiSize oSizeROI, int[] nLevels, ref int hpBufferSize)
Parameters
Type | Name | Description |
---|---|---|
NppiSize | oSizeROI | ROI size. |
System.Int32[] | nLevels | Array containing number of levels per color channel. |
System.Int32 | hpBufferSize | Host pointer where required buffer size is returned. |
Returns
Type | Description |
---|---|
NppStatus | Error Code. |
nppiHistogramRangeGetBufferSize_8u_C1R(NppiSize, Int32, ref Int32)
Scratch-buffer size for nppiHistogramRange_8u_C1R.
Declaration
public static NppStatus nppiHistogramRangeGetBufferSize_8u_C1R(NppiSize oSizeROI, int nLevels, ref int hpBufferSize)
Parameters
Type | Name | Description |
---|---|---|
NppiSize | oSizeROI | Region-of-Interest (ROI). |
System.Int32 | nLevels | Number of levels in the histogram. |
System.Int32 | hpBufferSize | Host pointer where required buffer size is returned. |
Returns
Type | Description |
---|---|
NppStatus | Error Code. |
nppiHistogramRangeGetBufferSize_8u_C3R(NppiSize, Int32[], ref Int32)
Scratch-buffer size for nppiHistogramRange_8u_C3R.
Declaration
public static NppStatus nppiHistogramRangeGetBufferSize_8u_C3R(NppiSize oSizeROI, int[] nLevels, ref int hpBufferSize)
Parameters
Type | Name | Description |
---|---|---|
NppiSize | oSizeROI | ROI size. |
System.Int32[] | nLevels | Array containing number of levels per color channel. |
System.Int32 | hpBufferSize | Host pointer where required buffer size is returned. |
Returns
Type | Description |
---|---|
NppStatus | Error Code. |
nppiHistogramRangeGetBufferSize_8u_C4R(NppiSize, Int32[], ref Int32)
Scratch-buffer size for nppiHistogramRange_8u_C4R.
Declaration
public static NppStatus nppiHistogramRangeGetBufferSize_8u_C4R(NppiSize oSizeROI, int[] nLevels, ref int hpBufferSize)
Parameters
Type | Name | Description |
---|---|---|
NppiSize | oSizeROI | ROI size. |
System.Int32[] | nLevels | Array containing number of levels per color channel. |
System.Int32 | hpBufferSize | Host pointer where required buffer size is returned. |
Returns
Type | Description |
---|---|
NppStatus | Error Code. |