ManagedCuda.NPP.NPPImage_8uC3.Scale C# (CSharp) Méthode

Scale() public méthode

image conversion.
public Scale ( NPPImage_32fC3 dst, float nMin, float nMax ) : void
dst NPPImage_32fC3 Destination-Image
nMin float specifies the minimum saturation value to which every output value will be clamped.
nMax float specifies the maximum saturation value to which every output value will be clamped.
Résultat void
        public void Scale(NPPImage_32fC3 dst, float nMin, float nMax)
        {
            NppiRect srcRect = new NppiRect(_pointRoi, _sizeRoi);
            status = NPPNativeMethods.NPPi.Scale.nppiScale_8u32f_C3R(_devPtrRoi, _pitch, dst.DevicePointerRoi, dst.Pitch, _sizeRoi, nMin, nMax);
            Debug.WriteLine(String.Format("{0:G}, {1}: {2}", DateTime.Now, "nppiScale_8u32f_C3R", status));
            NPPException.CheckNppStatus(status, this);
        }

Same methods

NPPImage_8uC3::Scale ( NPPImage_16sC3 dst ) : void
NPPImage_8uC3::Scale ( NPPImage_16uC3 dst ) : void
NPPImage_8uC3::Scale ( NPPImage_32sC3 dst ) : void
NPPImage_8uC3