图像处理软件源码C#
图像处理软件源码(C#),完整的图像处理系统,供参考
代码片段和文件信息
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 54 2006-03-29 03:01 txbcPSPhotoSprite_Demo_3.0.0.0FilterKirsch-1.ACF
文件 54 2006-03-29 03:01 txbcPSPhotoSprite_Demo_3.0.0.0FilterKirsch-2.ACF
文件 54 2006-03-29 03:02 txbcPSPhotoSprite_Demo_3.0.0.0FilterKirsch-3.ACF
文件 54 2006-03-29 03:02 txbcPSPhotoSprite_Demo_3.0.0.0FilterKirsch-4.ACF
文件 54 2006-03-29 03:02 txbcPSPhotoSprite_Demo_3.0.0.0FilterKirsch-5.ACF
文件 54 2006-03-29 03:02 txbcPSPhotoSprite_Demo_3.0.0.0FilterKirsch-6.ACF
文件 54 2006-03-29 03:02 txbcPSPhotoSprite_Demo_3.0.0.0FilterKirsch-7.ACF
文件 54 2006-03-29 03:02 txbcPSPhotoSprite_Demo_3.0.0.0FilterKirsch-8.ACF
文件 54 2006-03-29 03:00 txbcPSPhotoSprite_Demo_3.0.0.0FilterPrewitt-1.ACF
文件 54 2006-03-29 03:00 txbcPSPhotoSprite_Demo_3.0.0.0FilterPrewitt-2.ACF
文件 54 2006-03-29 02:59 txbcPSPhotoSprite_Demo_3.0.0.0FilterPrewitt-3.ACF
文件 54 2006-03-29 03:00 txbcPSPhotoSprite_Demo_3.0.0.0FilterPrewitt-4.ACF
文件 54 2006-03-08 08:33 txbcPSPhotoSprite_Demo_3.0.0.0FilterSobel-1.ACF
文件 54 2006-03-08 08:34 txbcPSPhotoSprite_Demo_3.0.0.0FilterSobel-2.ACF
文件 54 2006-03-29 02:57 txbcPSPhotoSprite_Demo_3.0.0.0FilterSobel-3.ACF
文件 54 2006-03-29 02:58 txbcPSPhotoSprite_Demo_3.0.0.0FilterSobel-4.ACF
文件 54 2006-01-06 17:44 txbcPSPhotoSprite_Demo_3.0.0.0FilterT-1 Smooth.ACF
文件 54 2006-02-16 05:28 txbcPSPhotoSprite_Demo_3.0.0.0FilterT-10 EdgeDetectHorizontal.ACF
文件 54 2006-01-10 14:07 txbcPSPhotoSprite_Demo_3.0.0.0FilterT-11 EdgeDetectVertical.ACF
文件 54 2006-01-07 09:37 txbcPSPhotoSprite_Demo_3.0.0.0FilterT-12 Emboss.ACF
文件 54 2006-02-16 03:16 txbcPSPhotoSprite_Demo_3.0.0.0FilterT-13.ACF
文件 54 2006-02-16 17:17 txbcPSPhotoSprite_Demo_3.0.0.0FilterT-14.ACF
文件 54 2006-02-16 03:25 txbcPSPhotoSprite_Demo_3.0.0.0FilterT-15.ACF
文件 54 2006-03-29 03:04 txbcPSPhotoSprite_Demo_3.0.0.0FilterT-16.ACF
文件 54 2006-03-29 03:04 txbcPSPhotoSprite_Demo_3.0.0.0FilterT-17.ACF
文件 54 2006-03-29 03:04 txbcPSPhotoSprite_Demo_3.0.0.0FilterT-18.ACF
文件 54 2006-03-29 03:04 txbcPSPhotoSprite_Demo_3.0.0.0FilterT-19.ACF
文件 54 2006-03-29 02:46 txbcPSPhotoSprite_Demo_3.0.0.0FilterT-2.ACF
文件 54 2006-03-29 03:05 txbcPSPhotoSprite_Demo_3.0.0.0FilterT-20.ACF
文件 54 2006-03-29 03:05 txbcPSPhotoSprite_Demo_3.0.0.0FilterT-21.ACF
............此处省略580个文件信息
using System;
using System.Collections.Generic;
using System.Text;
namespace PhotoSprite
{
///
/// 图像处理历史记录
///
public class HistoryImage
{
private int current = -1;
private string [] History;
private string initDirectory = ““;
private int max = 0;
private int count = 0;
private int save = -1;
///
/// 获取或设置初始化文件目录
///
public string InitDirectory
{
get
{
return initDirectory;
}
set
{
initDirectory = value;
}
}
///
/// 获取 bool 值,指示是否可以撤消
///
public bool CanUndo
{
get
{
if (current > 0)
return true;
else
return false;
}
}
///
/// 获取 bool 值,指示是否可以重复
///
public bool CanRedo
{
get
{
if (current < count - 1 && count != 0)
return true;
else
return false;
}
}
///
/// 获取 bool 值,指示图像是否已经修改过
///
public bool IsDirty
{
get
{
if (current != save)
return true;
else
return false;
}
}
///
/// 获取最大历史记录数
///
public int Max
{
get
{
return max;
}
}
///
/// 获取当前已记录的最大历史记录数
///
public int Count
{
get
{
return count;
}
}
///
/// 获取或设置当前图像文件
///
public int Current
{
get
{
return current;
}
set
{
current = value;
// 队列循环
if (current < 0)
{
if (count < max)
current = 0;
else
current = max - 1;
}
else if (current >= max)
{
current = 0;
count = max;
}
if (current >= count)
count = current + 1;
OnHistoryChanged();
}
}
///
/// 获取当前图像文件名
///
public string CurrentImage
{
get
{
if (current >= 0)
return History[current];
else
return ““;
}
}
///
/// 获取下一个图像文件名
///
public string NextImage
{
get
{
int next = (current + 1) % max;
return History[next];
}
}
///
/// 建立历史记录类
///
/// 初始化文件目录
/// 统计次数
public HistoryImage(string initDirectory int max)
{
this.initDirectory = initDirectory;
this.max = max;
History = new string[max];
for (int i = 0; i < max; i++)
{
History
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 54 2006-03-29 03:01 txbcPSPhotoSprite_Demo_3.0.0.0FilterKirsch-1.ACF
文件 54 2006-03-29 03:01 txbcPSPhotoSprite_Demo_3.0.0.0FilterKirsch-2.ACF
文件 54 2006-03-29 03:02 txbcPSPhotoSprite_Demo_3.0.0.0FilterKirsch-3.ACF
文件 54 2006-03-29 03:02 txbcPSPhotoSprite_Demo_3.0.0.0FilterKirsch-4.ACF
文件 54 2006-03-29 03:02 txbcPSPhotoSprite_Demo_3.0.0.0FilterKirsch-5.ACF
文件 54 2006-03-29 03:02 txbcPSPhotoSprite_Demo_3.0.0.0FilterKirsch-6.ACF
文件 54 2006-03-29 03:02 txbcPSPhotoSprite_Demo_3.0.0.0FilterKirsch-7.ACF
文件 54 2006-03-29 03:02 txbcPSPhotoSprite_Demo_3.0.0.0FilterKirsch-8.ACF
文件 54 2006-03-29 03:00 txbcPSPhotoSprite_Demo_3.0.0.0FilterPrewitt-1.ACF
文件 54 2006-03-29 03:00 txbcPSPhotoSprite_Demo_3.0.0.0FilterPrewitt-2.ACF
文件 54 2006-03-29 02:59 txbcPSPhotoSprite_Demo_3.0.0.0FilterPrewitt-3.ACF
文件 54 2006-03-29 03:00 txbcPSPhotoSprite_Demo_3.0.0.0FilterPrewitt-4.ACF
文件 54 2006-03-08 08:33 txbcPSPhotoSprite_Demo_3.0.0.0FilterSobel-1.ACF
文件 54 2006-03-08 08:34 txbcPSPhotoSprite_Demo_3.0.0.0FilterSobel-2.ACF
文件 54 2006-03-29 02:57 txbcPSPhotoSprite_Demo_3.0.0.0FilterSobel-3.ACF
文件 54 2006-03-29 02:58 txbcPSPhotoSprite_Demo_3.0.0.0FilterSobel-4.ACF
文件 54 2006-01-06 17:44 txbcPSPhotoSprite_Demo_3.0.0.0FilterT-1 Smooth.ACF
文件 54 2006-02-16 05:28 txbcPSPhotoSprite_Demo_3.0.0.0FilterT-10 EdgeDetectHorizontal.ACF
文件 54 2006-01-10 14:07 txbcPSPhotoSprite_Demo_3.0.0.0FilterT-11 EdgeDetectVertical.ACF
文件 54 2006-01-07 09:37 txbcPSPhotoSprite_Demo_3.0.0.0FilterT-12 Emboss.ACF
文件 54 2006-02-16 03:16 txbcPSPhotoSprite_Demo_3.0.0.0FilterT-13.ACF
文件 54 2006-02-16 17:17 txbcPSPhotoSprite_Demo_3.0.0.0FilterT-14.ACF
文件 54 2006-02-16 03:25 txbcPSPhotoSprite_Demo_3.0.0.0FilterT-15.ACF
文件 54 2006-03-29 03:04 txbcPSPhotoSprite_Demo_3.0.0.0FilterT-16.ACF
文件 54 2006-03-29 03:04 txbcPSPhotoSprite_Demo_3.0.0.0FilterT-17.ACF
文件 54 2006-03-29 03:04 txbcPSPhotoSprite_Demo_3.0.0.0FilterT-18.ACF
文件 54 2006-03-29 03:04 txbcPSPhotoSprite_Demo_3.0.0.0FilterT-19.ACF
文件 54 2006-03-29 02:46 txbcPSPhotoSprite_Demo_3.0.0.0FilterT-2.ACF
文件 54 2006-03-29 03:05 txbcPSPhotoSprite_Demo_3.0.0.0FilterT-20.ACF
文件 54 2006-03-29 03:05 txbcPSPhotoSprite_Demo_3.0.0.0FilterT-21.ACF
............此处省略580个文件信息
版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容, 请发送邮件举报,一经查实,本站将立刻删除。
评论列表(条)