Library/ManagedCuda/NPP/NPPImage_8uC1.cs
/// <summary>
/// Calculate scratch buffer size needed for 1 channel 8-bit unsigned integer CompressMarkerLabels function based on the number returned in pNumber from a previous nppiLabelMarkers call.
/// </summary>
/// <param name="nStartingNumber">The value returned from a previous call to the nppiLabelMarkers_8u function.</param>
/// <returns>Required buffer size in bytes.</returns>
Calculate scratch buffer size needed for 1 channel 8-bit unsigned integer CompressMarkerLabels function based on the number returned in pNumber from a previous nppiLabelMarkers call.
Calculate scratch buffer size needed for 1 channel 8 - bit unsigned integer CompressMarkerLabels function based on the number returned in pNumber from a previous nppiLabelMarkers call .
public int CompressMarkerLabelsGetBufferSize(int nStartingNumber)
        {
            int ret = 0;
            status = NPPNativeMethods.NPPi.LabelMarkers.nppiCompressMarkerLabelsGetBufferSize_8u_C1R(nStartingNumber, ref ret);
            Debug.WriteLine(String.Format("{0:G}, {1}: {2}", DateTime.Now, "nppiCompressMarkerLabelsGetBufferSize_8u_C1R", status));
            NPPException.CheckNppStatus(status, this);
            return ret;
        }
public int CompressMarkerLabelsGetBufferSize ( int nStartingNumber ) { int ret = 0 ; status = NPPNativeMethods . NPPi . LabelMarkers . nppiCompressMarkerLabelsGetBufferSize_8u_C1R ( nStartingNumber , ref ret ) ; Debug . WriteLine ( String . Format ( " " , DateTime . Now , " " , status ) ) ; NPPException . CheckNppStatus ( status , this ) ; return ret ; }
Calculate scratch buffer size needed for 1 channel 8-bit unsigned integer CompressMarkerLabels function based on the number returned in pNumber from a previous nppiLabelMarkers call.
Calculate scratch buffer size needed for 1 channel 8 - bit unsigned integer CompressMarkerLabels function based on the number returned in pNumber from a previous nppiLabelMarkers call .
Required buffer size in bytes.
Required buffer size in bytes .
nStartingNumber
int
The value returned from a previous call to the nppiLabelMarkers_8u function.
The value returned from a previous call to the nppiLabelMarkers_8u function .