对比度拉伸实验(遥感导论)

  1. 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
  2. 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
  3. 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。

对比度拉伸实验

通常直接获得的遥感影像,其数字矩阵的数值分布范围过小;对应的遥感影像显示出的对比度不大,使得影像整体偏暗或者偏亮,势必会影响有用信息的提取。

因此需要一种数学方法,来合理的扩大信息差异,即改变像元的数值大小。方法有多种:–使大数值更大,小数值更小,扩大差异。

–使过小的数值变大,过大的数值变小,缩小没有必要的距离。

–……

这些方法均对应了不同的对比度拉伸功能。

改变方法:–线性变换(全局线性变换、分段线性变换)

–非线性变换

简单线性变换是按比例拉伸原始图像灰度等级范围,一般为了充分利用显示设备的显示范围,使输出直方图的两端达到饱和。变换前后图像每一个像元呈一对一关系,因此像元总数不变,亦即直方图包含面积不变。

线性变换是通过一个线性函数实现变换的。在实际计算时,一般先建立一个查找表(Lookup Table,即LUT表),即建立原始图像灰度和变换后图像灰度之间的对应值,在变换时只需使用查找表进行变换即可,这样计算速度将极大提高。

由于遥感图像的复杂性,线性变换往往难以满足要求,因此在实际应用中更多地采用分段线性变换,可以拉伸感兴趣目标与其他目标之间的反差。

ERDAS软件提供了一个默认设置,即Raster Option中的No stretch。打开遥感影像时,–对Raster Option中的No stretch,

•选中代表打开影像时,不对影像进行默认拉伸

•不选中代表打开影像时,对影像进行默认拉伸。ERDAS默认的拉伸方法是2倍标准差的拉伸,目的使得影像数字矩阵分布直方图符合高斯分布。

1.打开影像时,不对影像进行默认拉伸。

在视窗(Viewer)中打开实验影像,并且对Raster Option中的No Stretch打勾。

2.以默认的拉伸方式打开影像。

ERDAS 默认的拉伸方法是2倍标准差的拉伸,目的使得影像数字矩阵分布直方图符合高斯分布。

打开实验影像,并且对Raster Option 中的No Stretch 不打勾。

在视窗中打开遥感影像数据后,菜单条上会增加栅格菜单(Raster)。视窗下Raster/contrast

3.直方图均衡化处理(Histogram Equalize)

4.标准差拉伸处理(Standard Deviation Stretch)

5.通用对比度调整(General Contrast)

弹出如下所示对比度调整对话框,

这里提供了更多的数学拉伸方法,

如Histogram Equalization直方图均衡化、Standard Deviations标准差拉伸、Gaussian高斯拉伸、Linear线性拉伸、Gamma非线性拉伸、Invert亮度反转等。

重点是Linear线性拉伸,根据图像信息提供的最小值和最大值,计算线性变换方程的

斜率(slope)与截距(shift)。

6.亮度/对比度调整(Brightness/Contrast)

7.分段对比度调整(Piecewise Contrast)(分段线性拉伸)

分段线性拉伸用于对图像局部区域通过分割LUT表进行增强,通常将LUT表分为低、中、高三段,然后分段调整其亮度和对比度,可增强阴影区等。

在Contrast Tool对话框中:Range Specification栏目下的Low、Middle、High分别对应于低中高三段不同的亮度值范围,而Select Color 栏目下的Red、Green、Blue则分别对应于图像的红绿蓝三个波段。通过波段与亮度范围的选择组合,达到调整图像亮度与对比度的目的。

该命令常常与查询光标(Inquire Cursor)一同使用,首先查询特定区域各波段的灰度值,然后设置Range Specification分段值。

The brightness value for each range represents the midpoint of the total range of brightness

values occupied by that range.

The contrast value for each range represents the percent of the available output range that

particular range occupies.

As one slider bar is moved, the other is automatically adjusted, so that there is no gap in the

lookup table. This tool is set up so that there are always pixels in each data file value from 0

to 255. You can manipulate the percentage of pixels in a particular range, but you cannot

eliminate a range of data file values.

2. With your pointer over the image in the Viewer, right-hold Quick View | Inquire Cursor. The Inquire Cursor dialog opens and an Inquire Cursor is placed in the Viewer.

3. In the Viewer, drag the intersection of the Inquire Cursor to the lake. Move the Inquire Cursor over the water while keeping an eye on the lookup table values in the blue color gun, as reported in the Inquire Cursor dialog.

This gives you an idea of the range of data file values in the water. You can stretch this range

to bring out more detail in the water.

4. In the Contrast Tool dialog, click Blue under Select Color.

5. Under Range Specifications, set the Low range From 34 To 55 and press Return on your keyboard.

6. Drag the Brightness slider bar (the top slider bar) to 50.

7. Click Apply in the Contrast Tool dialog.

The water now has more contrast and shows more detail.

If your image is at a magnification of 1, this new detail may be difficult to see. You can zoom

in to a magnification of 2 using the Quick View menu in the Viewer.

8. In the Contrast Tool dialog, click Reset and then Apply to return the image to the original lookup table values.

9. Click Close in the Contrast Tool dialog.

10. Click Close in the Inquire Cursor dialog.

8.直方图断点操作(Breakpoints)

Manipulate Histogram

1. In the Viewer menu bar, select Raster | Contrast | Breakpoints.

The Breakpoint Editor opens.

2. Click on the popup list at the top of the Breakpoint Editor and select Red.

相关文档
最新文档