⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 chp10.htm

📁 数字图象处理入门,非常好的书!!!!推荐!
💻 HTM
📖 第 1 页 / 共 5 页
字号:
style='font-family:"Times New Roman"'>Lead Technologies</span><span lang=ZH-CN>公司出品的一款功能强大的图象处理编程工具,目前的最新版本是</span><span
style='font-family:"Times New Roman"'>Lead8.0(1997.7.25)</span><span
lang=ZH-CN>。</span><span style='font-family:"Times New Roman"'>LeadTools</span><span
lang=ZH-CN>实质上是一个</span><span style='font-family:"Times New Roman"'>OCX</span><span
lang=ZH-CN>控件。先来说说什么是</span><span style='font-family:"Times New Roman"'>OCX</span><span
lang=ZH-CN>控件?</span><span style='font-family:"Times New Roman"'><o:p></o:p></span></p>

<p style='margin:0cm;margin-bottom:.0001pt;text-align:justify;text-justify:
inter-ideograph;text-indent:24.95pt;line-height:18.0pt'><span lang=ZH-CN>如果你用过</span><span
style='font-family:"Times New Roman"'>Visual Basic</span><span lang=ZH-CN>或者</span><span
style='font-family:"Times New Roman"'>Delphi</span><span lang=ZH-CN>一类的可视化编程工具,那么对控件这个概念一定不会陌生,就是那些工具条上的小按钮,如</span><span
style='font-family:"Times New Roman"'>EditBox</span><span lang=ZH-CN>,</span><span
style='font-family:"Times New Roman"'>Grid</span><span lang=ZH-CN>,</span><span
style='font-family:"Times New Roman"'>ImageBox</span><span lang=ZH-CN>,</span><span
style='font-family:"Times New Roman"'>Timer</span><span lang=ZH-CN>等等。每个控件都有自己的事件</span><span
style='font-family:"Times New Roman"'>(</span><span lang=ZH-CN>事件</span><span
style='font-family:"Times New Roman"'>) </span><span lang=ZH-CN>、方法</span><span
style='font-family:"Times New Roman"'>(</span><span lang=ZH-CN>方法</span><span
style='font-family:"Times New Roman"'>)</span><span lang=ZH-CN>和属性</span><span
style='font-family:"Times New Roman"'>(</span><span lang=ZH-CN>属性</span><span
style='font-family:"Times New Roman"'>)</span><span lang=ZH-CN>。使用了控件的编程非常容易。首先,在程序的设计阶段可以设置一些属性,如大小,位置,标题</span><span
style='font-family:"Times New Roman"'>(caption)</span><span lang=ZH-CN>等等;在程序运行阶段,可以更改这些属性,还可以针对不同的事件,调用不同的方法来实现对该控件的控制。控件就好象一块块的积木,程序要做的事只是将这些积木搭起来。控件的最大好处是可以重复使用,甚至可以在不同的编程语言之间使用,例如你可以在</span><span
style='font-family:"Times New Roman"'>VB</span><span lang=ZH-CN>中嵌入用</span><span
style='font-family:"Times New Roman"'>VC</span><span lang=ZH-CN>开发的控件。</span><span
style='font-family:"Times New Roman"'><o:p></o:p></span></p>

<p style='margin:0cm;margin-bottom:.0001pt;text-align:justify;text-justify:
inter-ideograph;text-indent:24.95pt;line-height:18.0pt'><span lang=ZH-CN>控件的本质是微软公司的对象链接和嵌入</span><span
style='font-family:"Times New Roman"'>(OLE)</span><span lang=ZH-CN>标准。由于它充分利用了面向对象的优点,使得程序效率得到了很大的提高,从而得到了广泛的应用。国外有很多公司就是专门制作各种各样控件的。控件的最早形式是以</span><span
style='font-family:"Times New Roman"'>.VBX</span><span lang=ZH-CN>的格式出现的,后来变成了</span><span
style='font-family:"Times New Roman"'>.OCX</span><span lang=ZH-CN>。由于</span><span
style='font-family:"Times New Roman"'>Internet</span><span lang=ZH-CN>的广泛流行,微软公司推出了</span><span
style='font-family:"Times New Roman"'>ActiveX</span><span lang=ZH-CN>技术,就是从</span><span
style='font-family:"Times New Roman"'>OLE</span><span lang=ZH-CN>发展起来的,加入了</span><span
style='font-family:"Times New Roman"'>WWW</span><span lang=ZH-CN>上的功能。所以目前最流行的是</span><span
style='font-family:"Times New Roman"'>ActiveX</span><span lang=ZH-CN>控件。</span><span
style='font-family:"Times New Roman"'><o:p></o:p></span></p>

<p style='margin:0cm;margin-bottom:.0001pt;text-align:justify;text-justify:
inter-ideograph;text-indent:24.95pt;line-height:18.0pt'><span lang=ZH-CN>介绍完了</span><span
style='font-family:"Times New Roman"'>OCX</span><span lang=ZH-CN>控件的概念,下面我们以</span><span
style='font-family:"Times New Roman"'>Lead Version5.1</span><span lang=ZH-CN>为例,来看看</span><span
style='font-family:"Times New Roman"'>LeadTools</span><span lang=ZH-CN>究竟有哪些功能?</span><span
style='font-family:"Times New Roman"'>Lead Version5.1</span><span lang=ZH-CN>可以在正版</span><span
style='font-family:"Times New Roman"'>MicroSoft Visual C++4.1</span><span
lang=ZH-CN>安装光盘中</span><span style='font-family:"Times New Roman"'>Msdev\samples\ocx\leadtools</span><span
lang=ZH-CN>和</span><span style='font-family:"Times New Roman"'>Msdev\redist\redist</span><span
lang=ZH-CN>下找到,主要是</span><span style='font-family:"Times New Roman"'>4</span><span
lang=ZH-CN>个文件,</span><span style='font-family:"Times New Roman"'> Lead51n.dll</span><span
lang=ZH-CN>,</span><span style='font-family:"Times New Roman"'>Lead32.ocx</span><span
lang=ZH-CN>,</span><span style='font-family:"Times New Roman"'>Lead.lic</span><span
lang=ZH-CN>,</span><span style='font-family:"Times New Roman"'>Ltocx.hlp</span><span
lang=ZH-CN>。如果你想了解</span><span style='font-family:"Times New Roman"'>LeadTools</span><span
lang=ZH-CN>的最新信息,可以访问以下</span><span style='font-family:"Times New Roman"'>www</span><span
lang=ZH-CN>网址:</span><span style='font-family:"Times New Roman"'><a
href="http://www.leadtools.com/"><span style='color:windowtext;text-decoration:
none;text-underline:none'>http://www.leadtools.com/</span></a></span><span
lang=ZH-CN>。</span><span style='font-family:"Times New Roman"'><o:p></o:p></span></p>

<p style='margin:0cm;margin-bottom:.0001pt;text-align:justify;text-justify:
inter-ideograph;text-indent:24.95pt;line-height:18.0pt'><span style='font-family:
"Times New Roman"'>LeadTools</span><span lang=ZH-CN>主要有以下几大功能:</span><span
style='font-family:"Times New Roman"'><o:p></o:p></span></p>

<p style='margin:0cm;margin-bottom:.0001pt;text-align:justify;text-justify:
inter-ideograph;text-indent:24.95pt;line-height:18.0pt'><span style='font-family:
"Times New Roman"'>(1)</span><span style='font-size:7.0pt;font-family:"Times New Roman"'>
</span><span lang=ZH-CN>对显示设备的全面支持:在显示时,你的程序中无需考虑是哪种显示模式,如</span><span
style='font-family:"Times New Roman"'>16</span><span lang=ZH-CN>色还是真彩色。</span><span
style='font-family:"Times New Roman"'>LeadTools</span><span lang=ZH-CN>为你做了所有的事。当然你也可以通过设置参数获得对显示设备更多的控制。你还可以实现自己的调色板。</span><span
style='font-family:"Times New Roman"'><o:p></o:p></span></p>

<p style='margin:0cm;margin-bottom:.0001pt;text-align:justify;text-justify:
inter-ideograph;text-indent:24.95pt;line-height:18.0pt'><span style='font-family:
"Times New Roman"'>(2)</span><span style='font-size:7.0pt;font-family:"Times New Roman"'>
</span><span lang=ZH-CN>支持多种文件格式:表</span><span style='font-family:"Times New Roman"'>10.1</span><span
lang=ZH-CN>是</span><span style='font-family:"Times New Roman"'>LeadTools</span><span
lang=ZH-CN>所支持的常用文件格式,其中读表示用</span><span style='font-family:"Times New Roman"'>LeadTools</span><span
lang=ZH-CN>能打开的文件格式,写表示</span><span style='font-family:"Times New Roman"'>LeatTools</span><span
lang=ZH-CN>能存成的文件格式:</span><span style='font-family:"Times New Roman"'><o:p></o:p></span></p>

<p align=center style='margin:0cm;margin-bottom:.0001pt;text-align:center;
text-indent:24.95pt;line-height:18.0pt'><b><span lang=ZH-CN>表</span></b><b><span
style='font-family:"Times New Roman"'>10.1&nbsp; LeadTools</span><span
lang=ZH-CN>支持的常用文件格式</span></b><span style='font-family:"Times New Roman"'><o:p></o:p></span></p>

<div>

<table border=1 cellspacing=0 cellpadding=0 style='mso-cellspacing:0cm;
 mso-padding-alt:0cm 0cm 0cm 0cm'>
 <tr>
  <td width=189 valign=top style='width:5.0cm;padding:0cm 0cm 0cm 0cm'>
  <p align=center style='text-align:center;text-indent:24.95pt;line-height:
  18.0pt'><span lang=ZH-CN style='font-size:10.5pt'>文件格式</span><span
  style='font-family:"Times New Roman"'><o:p></o:p></span></p>
  </td>
  <td width=189 valign=top style='width:5.0cm;padding:0cm 0cm 0cm 0cm'>
  <p align=center style='text-align:center;text-indent:24.95pt;line-height:
  18.0pt'><span lang=ZH-CN style='font-size:10.5pt'>读</span><span
  style='font-size:10.5pt;font-family:"Times New Roman"'>(</span><span
  lang=ZH-CN style='font-size:10.5pt'>位</span><span style='font-size:10.5pt;
  font-family:"Times New Roman"'>/</span><span lang=ZH-CN style='font-size:
  10.5pt'>象素</span><span style='font-size:10.5pt;font-family:"Times New Roman"'>)</span><span
  style='font-family:"Times New Roman"'><o:p></o:p></span></p>
  </td>
  <td width=189 valign=top style='width:5.0cm;padding:0cm 0cm 0cm 0cm'>
  <p align=center style='text-align:center;text-indent:24.95pt;line-height:
  18.0pt'><span lang=ZH-CN style='font-size:10.5pt'>写</span><span
  style='font-size:10.5pt;font-family:"Times New Roman"'>(</span><span
  lang=ZH-CN style='font-size:10.5pt'>位</span><span style='font-size:10.5pt;
  font-family:"Times New Roman"'>/</span><span lang=ZH-CN style='font-size:
  10.5pt'>象素</span><span style='font-size:10.5pt;font-family:"Times New Roman"'>)</span><span
  style='font-family:"Times New Roman"'><o:p></o:p></span></p>
  </td>
 </tr>
 <tr>
  <td width=189 valign=top style='width:5.0cm;padding:0cm 0cm 0cm 0cm'>
  <p style='text-align:justify;text-justify:inter-ideograph;text-indent:24.95pt;
  line-height:18.0pt'><span style='font-size:10.5pt;font-family:"Times New Roman"'>JFIF</span><span
  lang=ZH-CN style='font-size:10.5pt'>:一种常用的</span><span style='font-size:10.5pt;
  font-family:"Times New Roman"'>Jpeg</span><span lang=ZH-CN style='font-size:
  10.5pt'>文件格式,</span><span style='font-size:10.5pt;font-family:"Times New Roman"'>LeadTools</span><span
  lang=ZH-CN style='font-size:10.5pt'>支持</span><span style='font-size:10.5pt;
  font-family:"Times New Roman"'>YUV 4:4:4, 4:2:2, 4:1:1(</span><span
  lang=ZH-CN style='font-size:10.5pt'>彩色</span><span style='font-size:10.5pt;
  font-family:"Times New Roman"'>)YUV 4:0:0(</span><span lang=ZH-CN
  style='font-size:10.5pt'>灰度</span><span style='font-size:10.5pt;font-family:
  "Times New Roman"'>)</span><span style='font-family:"Times New Roman"'><o:p></o:p></span></p>
  </td>
  <td width=189 valign=top style='width:5.0cm;padding:0cm 0cm 0cm 0cm'>
  <p style='text-align:justify;text-justify:inter-ideograph;text-indent:24.95pt;
  line-height:18.0pt'><span style='font-size:10.5pt;font-family:"Times New Roman"'>8
  (</span><span lang=ZH-CN style='font-size:10.5pt'>灰度</span><span
  style='font-size:10.5pt;font-family:"Times New Roman"'>)</span><span
  style='font-family:"Times New Roman"'><o:p></o:p></span></p>
  <p style='text-align:justify;text-justify:inter-ideograph;text-indent:24.95pt;
  line-height:18.0pt'><span style='font-size:10.5pt;font-family:"Times New Roman"'>24(</span><span
  lang=ZH-CN style='font-size:10.5pt'>彩色</span><span style='font-size:10.5pt;
  font-family:"Times New Roman"'>)</span><span style='font-family:"Times New Roman"'><o:p></o:p></span></p>
  </td>
  <td width=189 valign=top style='width:5.0cm;padding:0cm 0cm 0cm 0cm'>
  <p style='text-align:justify;text-justify:inter-ideograph;text-indent:24.95pt;
  line-height:18.0pt'><span style='font-size:10.5pt;font-family:"Times New Roman"'>8
  (</span><span lang=ZH-CN style='font-size:10.5pt'>灰度</span><span
  style='font-size:10.5pt;font-family:"Times New Roman"'>)</span><span
  style='font-family:"Times New Roman"'><o:p></o:p></span></p>
  <p style='text-align:justify;text-justify:inter-ideograph;text-indent:24.95pt;
  line-height:18.0pt'><span style='font-size:10.5pt;font-family:"Times New Roman"'>24(</span><span
  lang=ZH-CN style='font-size:10.5pt'>彩色</span><span style='font-size:10.5pt;
  font-family:"Times New Roman"'>)</span><span style='font-family:"Times New Roman"'><o:p></o:p></span></p>
  </td>
 </tr>
 <tr>
  <td width=189 valign=top style='width:5.0cm;padding:0cm 0cm 0cm 0cm'>
  <p style='text-align:justify;text-justify:inter-ideograph;text-indent:24.95pt;
  line-height:18.0pt'><span style='font-size:10.5pt;font-family:"Times New Roman"'>JFIF</span><span
  lang=ZH-CN style='font-size:10.5pt'>:另一种常用的</span><span style='font-size:
  10.5pt;font-family:"Times New Roman"'>Jpeg</span><span lang=ZH-CN
  style='font-size:10.5pt'>文件格式,</span><span style='font-size:10.5pt;
  font-family:"Times New Roman"'>LeadTools</span><span lang=ZH-CN
  style='font-size:10.5pt'>支持</span><span style='font-size:10.5pt;font-family:
  "Times New Roman"'>YUV 4:4:4, 4:2:2, 4:1:1(</span><span lang=ZH-CN
  style='font-size:10.5pt'>彩色</span><span style='font-size:10.5pt;font-family:
  "Times New Roman"'>)YUV 4:0:0(</span><span lang=ZH-CN style='font-size:10.5pt'>灰度</span><span
  style='font-size:10.5pt;font-family:"Times New Roman"'>)</span><span
  style='font-family:"Times New Roman"'><o:p></o:p></span></p>
  </td>
  <td width=189 valign=top style='width:5.0cm;padding:0cm 0cm 0cm 0cm'>
  <p style='text-align:justify;text-justify:inter-ideograph;text-indent:24.95pt;
  line-height:18.0pt'><span style='font-size:10.5pt;font-family:"Times New Roman"'>8
  (</span><span lang=ZH-CN style='font-size:10.5pt'>灰度</span><span
  style='font-size:10.5pt;font-family:"Times New Roman"'>)</span><span
  style='font-family:"Times New Roman"'><o:p></o:p></span></p>
  <p style='text-align:justify;text-justify:inter-ideograph;text-indent:24.95pt;
  line-height:18.0pt'><span style='font-size:10.5pt;font-family:"Times New Roman"'>24(</span><span
  lang=ZH-CN style='font-size:10.5pt'>彩色</span><span style='font-size:10.5pt;
  font-family:"Times New Roman"'>)</span><span style='font-family:"Times New Roman"'><o:p></o:p></span></p>
  </td>
  <td width=189 valign=top style='width:5.0cm;padding:0cm 0cm 0cm 0cm'>
  <p style='text-align:justify;text-justify:inter-ideograph;text-indent:24.95pt;
  line-height:18.0pt'><span style='font-size:10.5pt;font-family:"Times New Roman"'>8
  (</span><span lang=ZH-CN style='font-size:10.5pt'>灰度</span><span
  style='font-size:10.5pt;font-family:"Times New Roman"'>)</span><span
  style='font-family:"Times New Roman"'><o:p></o:p></span></p>
  <p style='text-align:justify;text-justify:inter-ideograph;text-indent:24.95pt;
  line-height:18.0pt'><span style='font-size:10.5pt;font-family:"Times New Roman"'>24(</span><span
  lang=ZH-CN style='font-size:10.5pt'>彩色</span><span style='font-size:10.5pt;
  font-family:"Times New Roman"'>)</span><span style='font-family:"Times New Roman"'><o:p></o:p></span></p>
  </td>
 </tr>
 <tr>
  <td width=189 valign=top style='width:5.0cm;padding:0cm 0cm 0cm 0cm'>
  <p style='text-align:justify;text-justify:inter-ideograph;text-indent:24.95pt;
  line-height:18.0pt'><span style='font-size:10.5pt;font-family:"Times New Roman"'>TIFF</span><span
  lang=ZH-CN style='font-size:10.5pt'>:</span><span style='font-size:10.5pt;
  font-family:"Times New Roman"'>Tiff</span><span lang=ZH-CN style='font-size:
  10.5pt'>文件有很多种,</span><span style='font-size:10.5pt;font-family:"Times New Roman"'>LeadTools</span><span
  lang=ZH-CN style='font-size:10.5pt'>支持常用的几种</span><span style='font-family:
  "Times New Roman"'><o:p></o:p></span></p>
  </td>
  <td width=189 valign=top style='width:5.0cm;padding:0cm 0cm 0cm 0cm'>
  <p style='text-align:justify;text-justify:inter-ideograph;text-indent:24.95pt;
  line-height:18.0pt'><span style='font-size:10.5pt;font-family:"Times New Roman"'>1</span><span
  lang=ZH-CN style='font-size:10.5pt'>,</span><span style='font-size:10.5pt;
  font-family:"Times New Roman"'>4</span><span lang=ZH-CN style='font-size:
  10.5pt'>,</span><span style='font-size:10.5pt;font-family:"Times New Roman"'>8</span><span
  lang=ZH-CN style='font-size:10.5pt'>,</span><span style='font-size:10.5pt;
  font-family:"Times New Roman"'>16</span><span lang=ZH-CN style='font-size:
  10.5pt'>,</span><span style='font-size:10.5pt;font-family:"Times New Roman"'>24</span><span
  lang=ZH-CN style='font-size:10.5pt'>,</span><span style='font-size:10.5pt;
  font-family:"Times New Roman"'>32</span><span lang=ZH-CN style='font-size:
  10.5pt'>,还包括另一种颜色表示方法</span><span style='font-size:10.5pt;font-family:"Times New Roman"'>CMYK
  (LZW</span><span lang=ZH-CN style='font-size:10.5pt'>压缩</span><span

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -