Exemplo n.º 1
0
        /// <summary>
        /// I1(u,v)<-(I1(u,v)+I2(u,v))/2
        /// </summary>
        public void Average(ImageProcessor ip)
        {
            CopyBits(ip, 0, 0, Blitter.Average);

            //TODO: add copy, difference, divide, max, min, mulitply, subtract
        }
Exemplo n.º 2
0
 /// <summary>
 /// Applies the binary operation specified by the <paramref name="mode"/> to all
 /// pixel pairs taken from the source image <paramref name="ip"/> and the target image
 /// (the image on which this method is invoked) and stores the result in the targtet
 /// image. <paramref name="u"/> and <paramref name="v"/> are the coordinates where the source
 /// image is inserted into the target image (usually they are 0).
 /// </summary>
 public void CopyBits(ImageProcessor ip, int u, int v, Blitter mode)
 {
 }
Exemplo n.º 3
0
 /// <summary>
 /// I1(u,v)<-I1(u,v)+I2(u,v)
 /// </summary>
 public void Add(ImageProcessor ip)
 {
     CopyBits(ip, 0, 0, Blitter.Add);
 }