Filtrar imágenes
Convolución y correlación, filtros predefinidos y personalizados, filtros no lineales y filtros que mantienen los bordes
El filtrado es una técnica para modificar o mejorar una imagen. Por ejemplo, se puede filtrar una imagen para realzar ciertas características o eliminar otras. Algunas de las operaciones de procesamiento de imágenes que se implementan con filtros son el suavizado, el realce de la nitidez y la mejora de los bordes.
Apps
Image Region Analyzer | Browse and filter connected components in an image |
Funciones
Temas
Primeros pasos para el filtrado de imágenes del dominio espacial
- What Is Image Filtering in the Spatial Domain?
In a spatially filtered image, the value of each output pixel is the weighted sum of neighboring input pixels. The weights are provided by a matrix called the convolution kernel or filter. - Filter Grayscale and Truecolor (RGB) Images Using imfilter Function
Filter an image with a 5-by-5 averaging filter containing equal weights. - Filtrar imágenes usando un filtro predefinido
En este ejemplo se muestra cómo crear un tipo de filtro especial denominado filtro de máscara de baja nitidez, que hace que los bordes y los detalles de una imagen parezcan más nítidos. - Opciones de relleno de límites de imfilter
Cuando una parte del núcleo de convolución o correlación se extiende más allá del límite de una imagen, puede extrapolar los valores de la imagen rellenando de ceros la imagen o replicando los píxeles de límites.
Filtrar para eliminar el ruido
- Eliminación de ruido
Elimine el ruido de una imagen utilizando técnicas como el filtrado promediador, el filtrado de mediana y el filtrado adaptativo basado en la varianza local de la imagen. - Aplicar filtros de suavizado gaussiano a las imágenes
Este ejemplo muestra cómo desenfocar una imagen usando filtros de suavizado gaussiano de diferentes intensidades. El ejemplo incluye filtrado gaussiano isotrópico y anisotrópico. - Reduce Noise in Image Gradients
Reduce noise associated with computing image gradients so that features can be more accurately detected.
Filtrar manteniendo los bordes
- What is Guided Image Filtering?
Guided image filtering performs edge-preserving smoothing on an image. It uses the content of a second image, called a guidance image, to influence the filtering. - Perform Flash/No-flash Denoising with Guided Filter
Reduce noise in an image while using a guidance image to preserve the sharpness of edges. - Segment Thermographic Image After Edge-Preserving Filtering
Segment a hot object from the background in a thermographic image.
Filtrar integralmente en el dominio de la imagen
- Integral Image
Integral images are a quick way to represent images for filtering. In an integral image, the value of each pixel is the summation of the pixels above and to the left of it. - Apply Multiple Filters to Integral Image
Smooth an image by different amounts by applying box filters of varying sizes to the integral image.
Filtrar en el dominio frecuencial
- Design Linear Filters in the Frequency Domain
You can design filters that modify the frequency content of images. Filtering in the frequency domain is often faster than filtering in the spatial domain.