コード例 #1
0
        private void FloyedBtn_Click(object sender, EventArgs e)
        {
            int factor = (int)FloyedFactorNum.Value;                             // -> O(1)

            RGBPixel[,] ImageFilltered;                                          // -> O(1)
            ImageFilltered = FloyedDither.Floyed_Dithering(factor, ImageMatrix); // ->>O(H * W)
            ImageOperations.DisplayImage(ImageFilltered, pictureBox2, 0);        // ->>O(H * W)
        }
コード例 #2
0
        private void FloyedBtn_Click(object sender, EventArgs e)
        {
            int factor_ = (int)factor.Value;                                      // -> O(1)

            RGBPixel[,] ImageFilltered;                                           // -> O(1)
            ImageFilltered = FloyedDither.Floyed_Dithering(factor_, ImageMatrix); // ->>O(H * W)
            ImageOperations.DisplayImage(ImageFilltered, PostImage, 0);           // ->>O(H * W)
        }