官术网_书友最值得收藏!

Summary

This chapter included several useful techniques to manipulate the values of grayscale image pixels. At the same time, it provided a first, hopefully gentle, introduction to writing and running your own scripts and functions in MATLAB. More specifically, you have been taught:

  • How to change pixel values in a rectangular area using for loops, or indexing
  • How to write and execute a script that alters the brightness in specified rectangular areas of an image
  • How to threshold an image using for loops
  • How to threshold an image using indexing
  • How to threshold an image using im2bw
  • How to perform thresholding using an automatically derived threshold
  • How to calculate and display the histogram of a grayscale image
  • How to perform histogram equalization using histeq
  • How to perform contrast enhancement using imadjust
  • How to perform contrast enhancement using imcontrast
  • How to perform adaptive histogram equalization using adapthisteq
  • How to write functions that use all the methods described in this chapter on practical examples

The next chapter will introduce you to morphological operations and their importance in image processing. Some methods already presented will be combined with the morphological operations to enhance images, or segment useful areas. Once finishing it, you will be able to perform extremely useful tasks that are applied both in computational photography and in machine vision applications.

主站蜘蛛池模板: 安仁县| 峡江县| 红河县| 板桥市| 武威市| 云龙县| 大埔县| 滦南县| 淳安县| 都兰县| 大渡口区| 浦城县| 内丘县| 余干县| 来安县| 贵州省| 乌苏市| 瓮安县| 陇南市| 平昌县| 汉寿县| 河间市| 连南| 岫岩| 宜川县| 汝阳县| 平阳县| 都安| 葫芦岛市| 随州市| 道真| 海宁市| 大悟县| 芮城县| 肥乡县| 将乐县| 尉氏县| 轮台县| 拉孜县| 左权县| 成安县|