/// <summary>
 /// </summary>
 /// <param name="bitmap"></param>
 private Bitmap Emboss(Bitmap bitmap)
 {
     TransformMatrix m = new TransformMatrix(-1, -1, 8, 1, 127);
     return m.Conv3x3(bitmap);
 }
示例#2
0
        /// <summary>
        /// </summary>
        /// <param name="bitmap"></param>
        private Bitmap Emboss(Bitmap bitmap)
        {
            TransformMatrix m = new TransformMatrix(-1, -1, 8, 1, 127);

            return(m.Conv3x3(bitmap));
        }
 /// <summary>
 /// </summary>
 /// <param name="bitmap"></param>
 private Bitmap Sharpen(Bitmap bitmap)
 {
     TransformMatrix m = new TransformMatrix(0, -2, 11, 3, 0);
     return m.Conv3x3(bitmap);
 }
示例#4
0
        /// <summary>
        /// </summary>
        /// <param name="bitmap"></param>
        private Bitmap Sharpen(Bitmap bitmap)
        {
            TransformMatrix m = new TransformMatrix(0, -2, 11, 3, 0);

            return(m.Conv3x3(bitmap));
        }
 /// <summary>
 /// </summary>
 /// <param name="bitmap"></param>
 private Bitmap Blur(Bitmap bitmap)
 {
     TransformMatrix m = new TransformMatrix(1, 2, 6, 18, 0);
     return m.Conv3x3(bitmap);
 }
示例#6
0
        /// <summary>
        /// </summary>
        /// <param name="bitmap"></param>
        private Bitmap Blur(Bitmap bitmap)
        {
            TransformMatrix m = new TransformMatrix(1, 2, 6, 18, 0);

            return(m.Conv3x3(bitmap));
        }