- 26
- 0
- 约1.44万字
- 约 12页
- 2016-10-16 发布于四川
- 举报
图像增强与平滑验报告
实验一 图像增强与平滑
一.实验目的及要求
1.了解MATLAB的操作环境和基本功能。
2.掌握MATLAB中图像
3.加深理解图像增强与平滑的算法原理。
二、实验内容
(一)研究以下程序,分析程序功能;输入执行各命令行,认真观察命令执行的结果。熟悉程序中所使用函数的调用方法,改变有关参数,观察试验结果。(可将每段程序保存为一个.m文件)
1.直方图均衡clear all; close all % Clear the MATLAB workspace of any variables
% and close open figure windows。
I = imread(pout.tif); % Reads the sample images ‘ pout.tif’, and stores it in
imshow(I) % an array named I.display the image
figure, imhist(I) % Create a histogram of the image and display it in
% a new figure window.
[I2,T] = histeq(I); % Histogram equalization.
figure,
原创力文档

文档评论(0)