Documente Academic
Documente Profesional
Documente Cultură
Chapter 3
Intensity Transformations
and Spatial Filtering
www.imageprocessingbook.com
www.imageprocessingbook.com
Funo imadjust
A funo imadjust uma ferramenta bsica em IPT para transformaes de
imagens em escala de cinza.
Sintaxe:
g = imadjust (f, [low_in high_in], [low_out high_out], gamma)
www.imageprocessingbook.com
Chapter 3
Intensity Transformations
and Spatial Filtering
www.imageprocessingbook.com
www.imageprocessingbook.com
www.imageprocessingbook.com
Chapter 3
Intensity Transformations
and Spatial Filtering
www.imageprocessingbook.com
onde c = constante.
www.imageprocessingbook.com
Nota-se o uso do eps (ver Tabela 2.10) que corresponde preciso relativa da
representao ponto-flutuante, para prevenir o overflow se f for zero.
Como valor limite de T(r) 1, os valores de sada esto mapeados no intervalo
[0,1]. A forma da Fig. 3.4a foi obtido com E = 20.
www.imageprocessingbook.com
Chapter 3
Intensity Transformations
and Spatial Filtering
www.imageprocessingbook.com
EXEMPLO
www.imageprocessingbook.com
Chapter 3
Intensity Transformations
and Spatial Filtering
www.imageprocessingbook.com
www.imageprocessingbook.com
www.imageprocessingbook.com
www.imageprocessingbook.com
www.imageprocessingbook.com
www.imageprocessingbook.com
Function g = intrans(f,varargin)
(ver o cdigo no livro)
www.imageprocessingbook.com
Chapter 3
Intensity Transformations
and Spatial Filtering
www.imageprocessingbook.com
www.imageprocessingbook.com
www.imageprocessingbook.com
www.imageprocessingbook.com
www.imageprocessingbook.com
www.imageprocessingbook.com
Chapter 3
Intensity Transformations
and Spatial Filtering
www.imageprocessingbook.com
Chapter 3
Intensity Transformations
and Spatial Filtering
www.imageprocessingbook.com
EQUALIZAO DE HISTOGRAMA
www.imageprocessingbook.com
www.imageprocessingbook.com
Chapter 3
Intensity Transformations
and Spatial Filtering
www.imageprocessingbook.com
Chapter 3
Intensity Transformations
and Spatial Filtering
www.imageprocessingbook.com
ESPECIFICAO DE HISTOGRAMA
g = histeq(f, hspec)
onde hspec o histograma especificado ( um vetor linha de valores
especificados).
www.imageprocessingbook.com
Chapter 3
Intensity Transformations
and Spatial Filtering
www.imageprocessingbook.com
Chapter 3
Intensity Transformations
and Spatial Filtering
www.imageprocessingbook.com
FILTRAGEM ESPACIAL
www.imageprocessingbook.com
Chapter 3
Intensity Transformations
and Spatial Filtering
www.imageprocessingbook.com
Chapter 3
Intensity Transformations
and Spatial Filtering
www.imageprocessingbook.com
Chapter 3
Intensity Transformations
and Spatial Filtering
www.imageprocessingbook.com
Chapter 3
Intensity Transformations
and Spatial Filtering
www.imageprocessingbook.com
Chapter 3
Intensity Transformations
and Spatial Filtering
www.imageprocessingbook.com
Chapter 3
Intensity Transformations
and Spatial Filtering
www.imageprocessingbook.com
Chapter 3
Intensity Transformations
and Spatial Filtering
www.imageprocessingbook.com
Chapter 3
Intensity Transformations
and Spatial Filtering
www.imageprocessingbook.com
Chapter 3
Intensity Transformations
and Spatial Filtering
www.imageprocessingbook.com
Chapter 3
Intensity Transformations
and Spatial Filtering
www.imageprocessingbook.com