• 大小: 0.19M
    文件类型: .rar
    金币: 1
    下载: 0 次
    发布日期: 2020-12-26
  • 语言: C#
  • 标签: 图像  图像处理  

资源简介

去颜色的三种方法:内存法、指针法、像素提取法

资源截图

代码片段和文件信息

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using System.Diagnostics;

namespace ImageProcessing
{
    public partial class Form1 : Form
    {
        public Form1()
        {
            InitializeComponent();
        }
        Stopwatch sw = new Stopwatch();
        Bitmap bitmap;
        Bitmap newbitmap;

        private void button1_Click(object sender EventArgs e)
        {
            if (openFileDialog1.ShowDialog() == DialogResult.OK)
            {
                string path = openFileDialog1.FileName;
                bitmap = (Bitmap)Image.FromFile(path);
                pictureBox1.Image = bitmap.Clone() as Imag

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----

     文件      12800  2019-06-15 12:58  ImageProcessing\ImageProcessing\bin\Debug\ImageProcessing.exe

     文件      24064  2019-06-15 12:58  ImageProcessing\ImageProcessing\bin\Debug\ImageProcessing.pdb

     文件      11600  2014-01-27 17:37  ImageProcessing\ImageProcessing\bin\Debug\ImageProcessing.vshost.exe

     文件        490  2010-03-17 22:39  ImageProcessing\ImageProcessing\bin\Debug\ImageProcessing.vshost.exe.manifest

     文件       4539  2019-06-10 11:36  ImageProcessing\ImageProcessing\Form1.cs

     文件       8114  2019-06-10 11:36  ImageProcessing\ImageProcessing\Form1.Designer.cs

     文件       6224  2019-06-10 11:36  ImageProcessing\ImageProcessing\Form1.resx

     文件       3738  2014-01-27 12:58  ImageProcessing\ImageProcessing\ImageProcessing.csproj

     文件       5165  2019-06-15 12:57  ImageProcessing\ImageProcessing\obj\x86\Debug\DesignTimeResolveAssemblyReferences.cache

     文件       7180  2019-06-10 11:32  ImageProcessing\ImageProcessing\obj\x86\Debug\DesignTimeResolveAssemblyReferencesInput.cache

     文件        248  2014-01-27 18:22  ImageProcessing\ImageProcessing\obj\x86\Debug\GenerateResource.read.1.tlog

     文件        626  2014-01-27 18:22  ImageProcessing\ImageProcessing\obj\x86\Debug\GenerateResource.write.1.tlog

     文件       1854  2019-06-10 11:32  ImageProcessing\ImageProcessing\obj\x86\Debug\ImageProcessing.csproj.FileListAbsolute.txt

     文件      12800  2019-06-15 12:58  ImageProcessing\ImageProcessing\obj\x86\Debug\ImageProcessing.exe

     文件        180  2019-06-10 11:36  ImageProcessing\ImageProcessing\obj\x86\Debug\ImageProcessing.Form1.resources

     文件      24064  2019-06-15 12:58  ImageProcessing\ImageProcessing\obj\x86\Debug\ImageProcessing.pdb

     文件        180  2019-06-10 11:32  ImageProcessing\ImageProcessing\obj\x86\Debug\ImageProcessing.Properties.Resources.resources

     文件       8031  2014-01-27 18:18  ImageProcessing\ImageProcessing\obj\x86\Debug\ResolveAssemblyReference.cache

     文件        496  2014-01-27 11:35  ImageProcessing\ImageProcessing\Program.cs

     文件       1380  2014-01-27 11:35  ImageProcessing\ImageProcessing\Properties\AssemblyInfo.cs

     文件       2878  2014-01-27 11:35  ImageProcessing\ImageProcessing\Properties\Resources.Designer.cs

     文件       5612  2014-01-27 11:35  ImageProcessing\ImageProcessing\Properties\Resources.resx

     文件       1098  2014-01-27 11:35  ImageProcessing\ImageProcessing\Properties\Settings.Designer.cs

     文件        249  2014-01-27 11:35  ImageProcessing\ImageProcessing\Properties\Settings.settings

     文件        887  2014-01-27 11:35  ImageProcessing\ImageProcessing.sln

    ..A..H.     23040  2014-01-27 18:30  ImageProcessing\ImageProcessing.suo

     目录          0  2014-01-27 11:35  ImageProcessing\ImageProcessing\obj\x86\Debug\TempPE

     目录          0  2019-06-15 12:57  ImageProcessing\ImageProcessing\obj\x86\Debug

     目录          0  2014-01-27 11:42  ImageProcessing\ImageProcessing\bin\Debug

     目录          0  2014-01-27 11:35  ImageProcessing\ImageProcessing\obj\x86

............此处省略21个文件信息

评论

共有 条评论