Melhoramento de Imagens Paulo Sérgio Rodrigues PEL205
Image Enhancement in the Chapter 3 Image Enhancement in the Spatial Domain
Image Enhancement in the Chapter 3 Image Enhancement in the Spatial Domain
Melhoramento no Domínio Espacial Alguns tipos simples de transformações de intensidade Negativo Stretching Compressão Slicing Uma maneira de realizar algumas dessas operações é através da função de transformação g(x,y) = c f(x,y)y
Image Enhancement in the Chapter 3 Image Enhancement in the Spatial Domain
Image Enhancement in the Chapter 3 Image Enhancement in the Spatial Domain
Image Enhancement in the Chapter 3 Image Enhancement in the Spatial Domain
Image Enhancement in the Chapter 3 Image Enhancement in the Spatial Domain
Image Enhancement in the Chapter 3 Image Enhancement in the Spatial Domain
Image Enhancement in the Chapter 3 Image Enhancement in the Spatial Domain
Image Enhancement in the Chapter 3 Image Enhancement in the Spatial Domain
Image Enhancement in the Chapter 3 Image Enhancement in the Spatial Domain
Image Enhancement in the Chapter 3 Image Enhancement in the Spatial Domain
Image Enhancement in the Spatial Domain: Bit-Plane Slicing Chapter 3 Image Enhancement in the Spatial Domain: Bit-Plane Slicing
Image Enhancement in the Spatial Domain: Bit-Plane Slicing Chapter 3 Image Enhancement in the Spatial Domain: Bit-Plane Slicing
Image Enhancement in the Spatial Domain: Bit-Plane Slicing Chapter 3 Image Enhancement in the Spatial Domain: Bit-Plane Slicing
Melhoramento no Domínio Espacial Processamento Baseado em Histograma: Equalização O objetivo é usar uma função de transformação que torne o histograma o mais uniforme possível, criando uma imagem com maior contraste. Se usarmos como função de transformação o histograma cumulativo o resultado será uma distribuição mais uniforme (equalizada) Calcular o Histograma original Calcular o Histograma cumulativo Equalizar a imagem com o Histograma cumulativo
Melhoramento no Domínio Espacial Processamento Baseado em Histograma: Equalização onde: pr(rk) é a probabilidade da intensidade rk nk é o número de ocorrências de rk n é o número total de ocorrências
Melhoramento no Domínio Espacial Processamento Baseado em Histograma: Equalização A função cumulativa é calculada como:
Melhoramento no Domínio Espacial Processamento Baseado em Histograma: Equalização r s
Image Enhancement in the Chapter 3 Image Enhancement in the Spatial Domain
Image Enhancement in the Chapter 3 Image Enhancement in the Spatial Domain: Enhancing with Arithmetic/Logic Operations
Image Enhancement in the Spatial Domain: Image Averaging Chapter 3 Image Enhancement in the Spatial Domain: Image Averaging (a) (b) Original Original + ruído Média de 8 imagens Média de 16 imagens Média de 32 imagens Média de 64 imagens (c) (d) (e) (f)
Image Enhancement in the Spatial Domain: Image Averaging Chapter 3 Image Enhancement in the Spatial Domain: Image Averaging (a) Diferença de imagens a) Original slide 23 – (c) slide 24 b) Original slide 23 – (d) slide 24 (c) Original slide 23 – (e) slide 24 (d) Original slide 23 – (f) slide 24 (b) (c) (d)
Image Enhancement in the Spatial Domain: Filtering Chapter 3 Image Enhancement in the Spatial Domain: Filtering Mecanismo para filtragem no domínio espacial
Image Enhancement in the Spatial Domain: Filtering Chapter 3 Image Enhancement in the Spatial Domain: Filtering Representação da máscara de convolução
Image Enhancement in the Spatial Domain: Filtering Chapter 3 Image Enhancement in the Spatial Domain: Filtering Exemplo de máscaras de suavização
Image Enhancement in the Spatial Domain: Filtering Chapter 3 Image Enhancement in the Spatial Domain: Filtering (a) (b) Exemplo de suavização Imagem original (b) a (f) Resultados de suavização com máscaras de tamanho 3, 5, 9,15 e 35 (c) (d) (e) (f)
Image Enhancement in the Spatial Domain: Filtering Chapter 3 Image Enhancement in the Spatial Domain: Filtering (a) (b) (c) Imagem do telescópio Hubble; b) suavização com máscara 15 x 15; c) Limiarização de (b)
Image Enhancement in the Spatial Domain: Edge Detection Chapter 3 Image Enhancement in the Spatial Domain: Edge Detection Máscara para o Laplaciano; Extensão incluindo as diagonais; Outra implementação para (a) Outra implementação para (b) (a) (b) (c) (d)
Image Enhancement in the Spatial Domain: Edge Detection/Filtering Chapter 3 Image Enhancement in the Spatial Domain: Edge Detection/Filtering Imagem original; Laplaciano; (b) escalonado; Melhoramento usando a equação abaixo (a) (b) (c) (d)
Image Enhancement in the Spatial Domain: Edge Detection/Filtering Chapter 3 Image Enhancement in the Spatial Domain: Edge Detection/Filtering (a) (b) Filtros Laplacianos; Imagem microscópica Filtragem com (a) superior Filtragem com (a) inferior (d) (c)
Image Enhancement in the Spatial Domain: Popular Masks Chapter 3 Image Enhancement in the Spatial Domain: Popular Masks (a) Máscara 3 x 3; Máscara 2 x 2 sensível a diagonal; Filtro Sobel horizontal Filtro Sobel Vertical (b) (c) (d)
Image Enhancement in the Spatial Domain: Edge with Sobel Chapter 3 Image Enhancement in the Spatial Domain: Edge with Sobel (a) (b) Imagem de Lentes de Contato; (b) Aplicação do Gradiente Sobel
Melhoramento no Domínio Espacial Filtragem com função Sigmoid Se uma escala de reflectância das regiões de interesse são conhecidas, pode-se usar uma função que se adapte aos valores conhecidos para direcionar a suavização. Exemplo: região em torno da mama
Melhoramento no Domínio Espacial Filtragem com função Sigmoid Em caso de tumores de mama, um estudo de tais regiões, produz a seguinte escala:
Melhoramento no Domínio Espacial Filtragem com função Sigmoid Tal escala, pode ser utilizada em uma função sigmoid como a seguinte: onde ....
Melhoramento no Domínio Espacial Filtragem com função Sigmoid