• Aucun résultat trouvé

What is an Histogram ? Example for a gray-level image

N/A
N/A
Protected

Academic year: 2022

Partager "What is an Histogram ? Example for a gray-level image"

Copied!
3
0
0

Texte intégral

(1)

What is an Histogram ? Example for a gray-level image

Size : 256  256 pixels, 8-bit pixel coding

Distribution of gray levels in image [0 ; 255]

 for each gray level, count the number of pixels having that level

 for each level, a stick represent the number of pixels

(can group nearby levels to form a bin and count number of pixels in it)

(2)

8 8 Grayscale image « A »

Matrix of gray levels of image « A »

Histogram of image « A »

2 2 2 2 2 2 2 2 2 0 0 0 0 0 0 2 2 0 1 1 1 1 0 2 3 0 1 0 0 1 0 2 2 0 1 1 1 1 0 2 2 0 1 0 0 1 0 2 2 0 0 0 0 0 0 2 2 2 2 2 2 2 2 2

 There are respectively 24, 12 and 28 pixels for the levels 0, 1 and 2

 Histogram of image “A”

Example: compute histogram of an image

 Image « A » has 3 different gray levels : 0, 1 and 2.

 Count the number of pixels for each gray level.

(3)

Image « A » Intensity values of

« A »

Cumulated histogram of « A »

2 2 2 2 2 2 2 2 2 0 0 0 0 0 0 2 2 0 1 1 1 1 0 2 2 0 1 0 0 1 0 2 2 0 1 1 1 1 0 2 2 0 1 0 0 1 0 2 2 0 0 0 0 0 0 2 2 2 2 2 2 2 2 2

Cumulated histogram of an image

 compute a special histogram thanks to the cumulative sum of

histogram elements  cumulated histogram.

 the cumulated histogram is useful to a lot of image processing such as

histogram equalization ( contrast enhancement).

 for each gray level “L”, the stick represents the cumulative sum of pixel

number for all the gray levels lower or equal than L:

levels 0, 1, 2 are

thus represented by 24, 36 and 64 pixels.

Références

Documents relatifs

1 The problem of identifying logics is not only of interest for proof theory, but for the whole area of logic, including mathematical logic as well as philosophical logic.. This

Figure 5.b is the difference image between the indexed image and the indexed and marked one and shows insertion sites (white pixels) of the color palette. The PSNR computed

We show, using Monte Carlo simulations and electronic structure calculations based on density functional theory, that the Heisenberg model on a geometrically nonfrustrated lattice

In order to deduce Theorem 1 from this equirepartition result, we observe that the total Betti number of real loci of hypersurfaces is bounded from above by the number of

If the project of media theory is to matter, it cannot restrict the object of the study of media to technologically produced, transmitted and consumed media, still less to

within the monitoring programme (excluding species whose larvae feed on woody plants) the adult butterfly and the larval food plant were observed along transects in wildflower strips

Breast Ultra-Sound image segmentation: an optimization approach based on super-pixels and..

(To the best of our knowledge, such a hierarchical approach has been considered only once [14], but for a distance devoted to ordinal histogram comparison.) The purpose of the