Show / Hide Table of Contents

    Class NPPNativeMethods.NPPi.GetResizeRect

    Returns NppiRect which represents the offset and size of the destination rectangle that would be generated by resizing the source NppiRect by the requested scale factors and shifts.

    Inheritance
    System.Object
    NPPNativeMethods.NPPi.GetResizeRect
    Inherited Members
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.ToString()
    Namespace: ManagedCuda.NPP
    Assembly: NPP.dll
    Syntax
    public static class GetResizeRect

    Methods

    nppiGetResizeRect(NppiRect, ref NppiRect, Double, Double, Double, Double, InterpolationMode)

    Returns NppiRect which represents the offset and size of the destination rectangle that would be generated by resizing the source NppiRect by the requested scale factors and shifts.

    Declaration
    public static NppStatus nppiGetResizeRect(NppiRect oSrcROI, ref NppiRect pDstRect, double nXFactor, double nYFactor, double nXShift, double nYShift, InterpolationMode eInterpolation)
    Parameters
    Type Name Description
    NppiRect oSrcROI

    Region of interest in the source image.

    NppiRect pDstRect

    User supplied host memory pointer to an NppiRect structure that will be filled in by this function with the region of interest in the destination image.

    System.Double nXFactor

    Factor by which x dimension is changed.

    System.Double nYFactor

    Factor by which y dimension is changed.

    System.Double nXShift

    Source pixel shift in x-direction.

    System.Double nYShift

    Source pixel shift in y-direction.

    InterpolationMode eInterpolation

    The type of eInterpolation to perform resampling.

    Returns
    Type Description
    NppStatus

    \ref image_data_error_codes, \ref roi_error_codes, \ref resize_error_codes

    • Improve this Doc
    • View Source
    Back to top Generated by DocFX