public static QImage UnbalancedGradient(QSize size, QColor ca, QColor cb, Blitz.GradientType type) { return (QImage) staticInterceptor.Invoke("unbalancedGradient###$", "unbalancedGradient(const QSize&, const QColor&, const QColor&, Blitz::GradientType)", typeof(QImage), typeof(QSize), size, typeof(QColor), ca, typeof(QColor), cb, typeof(Blitz.GradientType), type); }
/// <remarks> /// Thresholds an image based on a given channel and threshold value. /// <param> name="img" The image to process. /// </param><param> name="thresholdValue" The value that separates "on" colors from "off" /// ones. /// </param><param> name="channel" The channel to use when thresholding. /// </param><param> name="aboveColor" The color to use for values at or above the threshold. /// </param><param> name="belowColor" The color to use for values below the threshold. /// </param></remarks> <return> The processed image. The original is not changed. /// </return> /// <author> Daniel M. Duley (mosfet) /// </author> /// <short> Thresholds an image based on a given channel and threshold value.</short> public static QImage Threshold(QImage img, ushort thresholdValue, Blitz.RGBChannel channel, uint aboveColor, uint belowColor) { return (QImage) staticInterceptor.Invoke("threshold#$$$$", "threshold(QImage&, unsigned char, Blitz::RGBChannel, unsigned int, unsigned int)", typeof(QImage), typeof(QImage), img, typeof(ushort), thresholdValue, typeof(Blitz.RGBChannel), channel, typeof(uint), aboveColor, typeof(uint), belowColor); }
public static QImage Threshold(QImage img, ushort thresholdValue, Blitz.RGBChannel channel) { return (QImage) staticInterceptor.Invoke("threshold#$$", "threshold(QImage&, unsigned char, Blitz::RGBChannel)", typeof(QImage), typeof(QImage), img, typeof(ushort), thresholdValue, typeof(Blitz.RGBChannel), channel); }
public static QImage SmoothScaleFilter(QImage img, QSize sz, float blur, Blitz.ScaleFilterType filter) { return (QImage) staticInterceptor.Invoke("smoothScaleFilter##$$", "smoothScaleFilter(QImage&, const QSize&, float, Blitz::ScaleFilterType)", typeof(QImage), typeof(QImage), img, typeof(QSize), sz, typeof(float), blur, typeof(Blitz.ScaleFilterType), filter); }
public static QImage SmoothScaleFilter(QImage img, int dwX, int dwY, float blur, Blitz.ScaleFilterType filter) { return (QImage) staticInterceptor.Invoke("smoothScaleFilter#$$$$", "smoothScaleFilter(QImage&, int, int, float, Blitz::ScaleFilterType)", typeof(QImage), typeof(QImage), img, typeof(int), dwX, typeof(int), dwY, typeof(float), blur, typeof(Blitz.ScaleFilterType), filter); }
/// <remarks> /// Modulate the image with a color channel of another image. /// <param> name="img" The QImage to modulate and result. /// </param><param> name="modImg" The QImage to use for modulation. /// </param><param> name="reverse" Invert the meaning of image/modImage; result is image! /// </param><param> name="type" The modulation Type to use. /// </param><param> name="factor" The modulation amplitude; with 0 no effect [-200;200]. /// </param><param> name="channel" The RBG channel of image2 to use for modulation. /// </param></remarks> <return> Returns the image(), provided for convenience. /// </return> /// <short> Modulate the image with a color channel of another image.</short> public static QImage Modulate(QImage img, QImage modImg, bool reverse, Blitz.ModulationType type, int factor, Blitz.RGBChannel channel) { return (QImage) staticInterceptor.Invoke("modulate##$$$$", "modulate(QImage&, QImage&, bool, Blitz::ModulationType, int, Blitz::RGBChannel)", typeof(QImage), typeof(QImage), img, typeof(QImage), modImg, typeof(bool), reverse, typeof(Blitz.ModulationType), type, typeof(int), factor, typeof(Blitz.RGBChannel), channel); }
/// <remarks> /// Produces an oil painting effect. /// <param> name="img" The image to process. /// </param><param> name="radius" The radius of the gaussian, not counting the center /// pixel. Use 0, (recommended), and an appropriate one will be used. /// </param><param> name="quality" Determines if to use a small or large convolution matrix. /// </param></remarks> <return> The processed image. The original is not changed. /// </return> /// <author> Daniel M. Duley (mosfet) /// </author> /// <short> Produces an oil painting effect.</short> public static QImage OilPaint(QImage img, float radius, Blitz.EffectQuality quality) { return (QImage) staticInterceptor.Invoke("oilPaint#$$", "oilPaint(QImage&, float, Blitz::EffectQuality)", typeof(QImage), typeof(QImage), img, typeof(float), radius, typeof(Blitz.EffectQuality), quality); }
public static QImage GrayUnbalancedGradient(QSize size, ushort ca, ushort cb, Blitz.GradientType type) { return (QImage) staticInterceptor.Invoke("grayUnbalancedGradient#$$$", "grayUnbalancedGradient(const QSize&, unsigned char, unsigned char, Blitz::GradientType)", typeof(QImage), typeof(QSize), size, typeof(ushort), ca, typeof(ushort), cb, typeof(Blitz.GradientType), type); }
/// <remarks> /// Sharpens an image. /// <param> name="img" The image to process. /// </param><param> name="radius" The radius of the gaussian, not counting the center /// pixel. Use 0, (recommended), and an appropriate one will be used. /// </param><param> name="sigma" The standard deviation of the gaussian in pixels. Use /// 1.0, (recommended), for the default value. /// </param><param> name="quality" Determines if to use a small or large convolution matrix. /// </param></remarks> <return> The processed image. The original is not changed. /// </return> /// <author> Daniel M. Duley (mosfet) /// </author> /// <short> Sharpens an image.</short> public static QImage GaussianSharpen(QImage img, float radius, float sigma, Blitz.EffectQuality quality) { return (QImage) staticInterceptor.Invoke("gaussianSharpen#$$$", "gaussianSharpen(QImage&, float, float, Blitz::EffectQuality)", typeof(QImage), typeof(QImage), img, typeof(float), radius, typeof(float), sigma, typeof(Blitz.EffectQuality), quality); }
/// <remarks> /// Embosses an image. /// <param> name="img" The image to process. /// </param><param> name="radius" The radius of the gaussian, not counting the center /// pixel. Use 0, (recommended), and an appropriate one will be used. /// </param><param> name="sigma" The standard deviation of the gaussian in pixels. Use /// 1.0, (recommended), for the default value. /// </param><param> name="quality" Determines if to use a small or large convolution matrix. /// </param></remarks> <return> The processed image. The original is not changed. /// </return> /// <author> Daniel M. Duley (mosfet) /// </author> /// <short> Embosses an image.</short> public static QImage Emboss(QImage img, float radius, float sigma, Blitz.EffectQuality quality) { return (QImage) staticInterceptor.Invoke("emboss#$$$", "emboss(QImage&, float, float, Blitz::EffectQuality)", typeof(QImage), typeof(QImage), img, typeof(float), radius, typeof(float), sigma, typeof(Blitz.EffectQuality), quality); }
/// <remarks> /// Detects edges in an image using a convolution matrix. /// <param> name="img" The image to process. /// </param><param> name="radius" The radius of the gaussian, not counting the center /// pixel. Use 0, (recommended), and an appropriate one will be used. /// </param><param> name="quality" Determines if to use a small or large convolution matrix. /// </param></remarks> <return> The processed image. The original is not changed. /// </return> /// <author> Daniel M. Duley (mosfet) /// </author> /// <short> Detects edges in an image using a convolution matrix.</short> public static QImage ConvolveEdge(QImage img, float radius, Blitz.EffectQuality quality) { return (QImage) staticInterceptor.Invoke("convolveEdge#$$", "convolveEdge(QImage&, float, Blitz::EffectQuality)", typeof(QImage), typeof(QImage), img, typeof(float), radius, typeof(Blitz.EffectQuality), quality); }
/// <remarks> /// Modifies the intensity of an image's RGB channel. /// <param> name="img" The image to process. /// </param><param> name="percent" Percent value. Use a negative value to dim. /// </param><param> name="channel" Which channel(s) should be modified. Only Red, Green, /// and Blue are valid. /// </param></remarks> <return> A reference to the image for convenience. /// </return> /// <author> Daniel M. Duley (mosfet) /// </author> /// <short> Modifies the intensity of an image's RGB channel.</short> public static QImage ChannelIntensity(QImage img, float percent, Blitz.RGBChannel channel) { return (QImage) staticInterceptor.Invoke("channelIntensity#$$", "channelIntensity(QImage&, float, Blitz::RGBChannel)", typeof(QImage), typeof(QImage), img, typeof(float), percent, typeof(Blitz.RGBChannel), channel); }