示例#1
0
 /// <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));
 }
示例#2
0
 /// <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));
 }
示例#3
0
 /// <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));
 }
示例#4
0
 /// <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));
 }