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

The importance of binary images

To understand the notion of morphological operations, we will have to revisit the thresholding techniques presented in the previous chapter. We have already mentioned that thresholding an image leads to binary images, which are defined by their two possible pixel values; 0 (for black) and 1 (for white). The way to convert a grayscale image to binary is through thresholding; that is, setting the pixels above a certain value to 1 and the rest to 0. Let's now explain the basic reasons for binarizing an image. The purpose of image binarization can be split into two levels. At a first level, it is used to pinpoint the pixels of an image that interest us (usually called regions of interest or simply, ROIs), thus giving us a quick and easy overview of the image content. The binary images derived, are often called masks. At a second level, it can be used for processing only the selected ROIs (with pixel values equal to 1) defined by the mask, leaving the rest of the image unaffected. Let's see the difference using, an example that covers both the functionalities.

主站蜘蛛池模板: 永州市| 宁都县| 菏泽市| 勐海县| 上杭县| 西吉县| 大姚县| 刚察县| 汾西县| 乃东县| 黎平县| 邵东县| 鱼台县| 紫阳县| 定西市| 衡山县| 晋州市| 太白县| 南安市| 怀仁县| 花垣县| 四子王旗| 漾濞| 钟山县| 安龙县| 绥中县| 娄烦县| 武穴市| 墨江| 桦南县| 新乡市| 贺兰县| 永修县| 武山县| 阳信县| 聂拉木县| 齐河县| 太保市| 宁国市| 余干县| 上杭县|