/// <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> /// 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)); }
/// <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)); }