Bacharelado em Engenharia de Computação CEFET/RJ - campus Petrópolis - Avenida do Imperador, 971 e-mail do aluno
This algorithm can readily be adapted to other granulome-
Abstract Figure 2: Opening transform with {αr } as in Fig. 1: (left) tries, simply by computing the appropriate opening trans- original image; (right) opening transform (contrast stretched form. No modelo que a Danielle postou não tinha resumo, então for clarity). confirmem para saber se precisa ou não. Morphologi- cal pattern spectra computed from granulometries are fre- Figure 3: The opening transform using city-block metric: quently used to classify the size classes of details in tex- (a) opening transform of Fig. 1(c); (b) pattern spectrum; (c) tures and images. An extension of this technique, which 3. Metodologia pattern variance-x; (d) variance-y spectra. retains information on the spatial distribution of the details in each size class is developed. Algorithms for computa- Dar uma ideia compacta da metodologia ou forma de abor- tion of these spatial pattern spectra for a large number of dagem da pesquisa, bem como o projeto foi desenvolvido. granulometries on binary images are presented. Pattern spectra only retain the amount of detail present Figure 4: Pattern mean-x (top) and variance-x (bottom) at scale r. This can be amended by computing some spectra: the three collumns show spectra for Fig. 1(a), (b) parameterization of the spatial distribution in an image and (c) from left to right respectively. Unlike the standard 1. Introducão αr (X) \ αr+(X) as a function of r. pattern spectra, these spatial pattern spectra can distin- Definition 3 Let M (X) be some parameterization of the guish the three images. A importância do assunto deve ser destacada resumida- mente. spatial distribution of detail in the image X. The spatial RANULOMETRIES are ordered sets of morphological pattern spectrum SM,α is then defined as G openings or closings, each of which removes image details below a certain size. These can be used for texture (SM,α(X))(r) = M (αr (X) \ αr+(X)). (8) 5. Conclusão analysis through the use of pattern spectra, which show An obvious parameterization of the spatial distribution is how the number of foreground pixels in the image changes Sitting on a corner all alone, staring from the bottom of his through the use of moments. Focusing on the case of 2- soul, watching the night come in from the window as a function of the size parameter [3]. A drawback of the D binary images, the moment mij of order ij of an image classical definition of pattern spectra is that spatial informa- It’ll all collapse tonight, the fullmoon is here again In sick- X is given by ness and in health, understanding so demanding It has no tion is not included in a pattern spectrum as shown below. xi y j . X mij (X) = (9) name, there’s one for every season Makes him insane to In this paper, spatial pattern spectra are developed which (x,y)∈X know retain information on the distribution of these details at dif- ferent scales. The spatial moment spectrum Smij ,α of order ij is Running away from it all ”I’ll be safe in the cornfields”, he thinks Hunted by his own, again he feels the moon rising on (Smij ,α(X))(r) = mi,j (αr (X) \ αr+ (X)). (10) the sky Figure 1: Parts (a) through (c) show three images con- Find a barn which to sleep in, but can he hide anymore sisting of squares of different sizes; (d) shows the pattern For i = 0 and j = 0 we obtain the standard pattern spec- Someone’s at the door, understanding too demanding Can spectra, denoting the number of foreground pixels removed trum. For each r, (Smij ,α(X))(r) is just the moment of an im- this be wrong, it’s love that is not ending Makes him insane by openings by reconstruction by λ × λ squares. No granu- age, therefore, derived parameters such as coordinates of to know lometry is capable of separating the patterns, because the the centre of mass, (co-)variances, skewness and kurtosis She should not lock the open door (Run away, run away, run only differences between the images lie in the distributions of the distribution of details at each scale can be computed away) Fullmoon is on the sky and He’s not a man anymore of the connected components. easily. We can then define pattern mean spectra, pattern sees the change in him but can’t (Run away, run away, run (co-)variance spectra, pattern kurtosis spectra, etc. The away) See what became out of her man Fullmoon pattern mean-x and variance-x spectra (Sx̄,α and Sσ(x),α) Swimming across the bay, the night is gray, so calm today 2. Objetivos are defined as: She doesn’t wanna wait. ”We’ve gotta make the love com- Sm10,α plete tonight...” Dar uma ideia compacta da metodologia ou forma de abor- Sx̄,α = (11) In the mist of the morning he cannot fight anymore Hundred Sm00,α dagem da pesquisa, bem como o projeto foi desenvolvido. moons or more, he’s been howling Knock on the door, and and scream that is soon ending Mess on the floor again Let binary images X and Y be defined as a subset of the She should not lock the open door (Run away, run away, image domain M ⊂ Zn or Rn (usually n = 2). s Sm20,α run away) Fullmoon is on the sky and he’s not a man any- Definition 1 A binary granulometry is a set of operators Sσ(x),α = − Sx̄,α. (12) more She sees the changes in him but can’t (Run away, run Sm00,α {αr } with r from some ordered set Λ (usually Λ ⊂ R or away, run away) See what became out of her man Z), with the following three properties These two are shown in Figures 3 and 4. Note that these She should not lock the open door (Run away, run away, run definitions hold only where (Sm00,α(f ))(r) 6= 0. For all other away) Fullmoon is on the sky and he’s not a man anymore αr (X) ⊂ X (1) sees the changes in him but can’t (Run away, run away, run values of r they will be defined as zero. Further post- X ⊂ Y ⇒ αr (X) ⊂ αr (Y ) (2) processing can be done to compute central moments and away) See what became out of her darling man αr (αs(X)) = αmax(r,s)(X), (3) moment invariant from pattern moment spectra [1, 2]. She should not lock the open door (Run away, run away, run away) Fullmoon is on the sky and he’s not a man anymore for all r, s ∈ Λ. See what became out of her man Definition 2 The pattern spectrum sα(X) obtained by ap- 4. Resultados e Discussão plying granulometry {αr } to a binary image X is defined as Verificar os principais resultados obtidos de acordo com os References ∂A(αr (X)) objetivos propostos. (sα(X))(u) = − (4) ∂r r=u [1] J. Flusser and T. Suk. Pattern recognition by affine in which A(X) is a function denoting the Lebesgue measure Nacken [5] derived an algorithm for computation of pat- moment invariants. Pattern Recognition, 26:167–174, in Rn. tern spectra for granulometries based on openings by discs 1993. of increasing radius for various metrics, using the opening In the case of discrete images, and with r ∈ Λ ⊂ Z, this transform. After the opening transform has been computed, [2] M. K. Hu. Visual pattern recognition by moment invari- differentiation reduces to it is straightforward to compute the pattern spectrum: ants. IRE Transactions on Information Theory, IT-8:179– (sα(X))(r) = #(αr (X) \ αr+ (X)) (5) • Set all elements of array S to zero 187, 1962. = #(αr (X)) − #(αr+ (X)), (6) • For all x ∈ X increment S[ΩX (x)] by one. [3] P. Maragos. Pattern spectrum and multiscale shape representation. IEEE Trans. Patt. Anal. Mach. Intell., with r+ = min{r0 ∈ Λ|r0 > r}, and #(X) the numnber of To compute the pattern moment spectrum, the only thing 11:701–715, 1989. elements of X. that needs to be changed is the way S[ΩX (x)] is incre- The opening transform [5] ΩX of a binary image X for a mented. As shown in Algorithm 1. [4] A. Meijster and M. H. F. Wilkinson. A comparison of al- granulometry αr is gorithms for connected set openings and closings. IEEE • Set all elements of array S to zero Trans. Patt. Anal. Mach. Intell., 24(4):484–494, 2002. ΩX (x) = max{r ∈ Λ|x ∈ αr (X)} (7) • For all (x, y) ∈ X increment S[ΩX (x, y)] by xiy j . [5] P. F. M. Nacken. Image Analysis Methods Based on Hi- The pattern spectrum of a binary image X using granulom- Algorithm 1: Algorithm for computation of pattern mo- erarchies of Graphs and Multi-Scale Mathematical Mor- etry {αr } is the histogram of ΩX obtained with the same ment spectrum of order ij. phology. PhD thesis, University of Amsterdam, Amster- size distribution [5], disregarding the bin for grey level 0. dam, The Netherlands, 1994.
SEPEX 2017, Semana de Ensino, Pesquisa & Extensão
Evaluation of Green Building in The Existing Building of The Department of The Environment of DKI Jakarta Province in The Order of Reducing Greenhouse Gas Emissions
International Journal of Innovative Science and Research Technology