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

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.

主站蜘蛛池模板: 定南县| 乌鲁木齐县| 吉隆县| 上栗县| 博兴县| 固始县| 南溪县| 永定县| 宁安市| 壶关县| 新疆| 舞钢市| 区。| 剑阁县| 云梦县| 绥棱县| 苗栗县| 布拖县| 新干县| 台南市| 广宗县| 文昌市| 育儿| 苍梧县| 兴隆县| 阳朔县| 庄浪县| 通江县| 包头市| 三亚市| 荃湾区| 泽州县| 淮北市| 江源县| 尤溪县| 万安县| 广安市| 雷波县| 恭城| 孙吴县| 龙井市|