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

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.

主站蜘蛛池模板: 建始县| 韩城市| 开江县| 岑溪市| 济南市| 东乡| 镇远县| 婺源县| 秦安县| 东山县| 拉萨市| 大关县| 沧州市| 陆良县| 桑植县| 乌拉特前旗| 湖南省| 同德县| 汶川县| 航空| 临江市| 连平县| 海淀区| 江源县| 张家口市| 大英县| 玛纳斯县| 石狮市| 汾阳市| 松滋市| 射洪县| 青川县| 普定县| 彭阳县| 广东省| 沁阳市| 庐江县| 大余县| 奉新县| 磐石市| 阜新|