필터링은 영상을 수정하거나 향상시키기 위한 기법입니다. 예를 들어, 영상을 필터링하여 특정 특징을 강조하거나 다른 특징을 제거할 수 있습니다. 필터링으로 구현되는 영상 처리 연산에는 평활화, 선명화, 경계 향상이 포함됩니다.
영상 영역 분석기 | 영상의 연결성분 찾기 및 필터링 |
공간적으로 필터링된 영상에서 각 출력 픽셀의 값은 이웃 입력 픽셀들에 가중치를 적용한 합입니다. 가중치는 컨벌루션 커널 또는 필터라 불리는 행렬에 의해 제공됩니다.
Filter Grayscale and Truecolor (RGB) Images using imfilter Function
This example shows how to filter an image with a 5-by-5 averaging filter containing equal weights.
Filter Images Using Predefined Filter
This example shows how to create a type of special filter called an unsharp masking filter, which makes edges and detail in an image appear sharper.
컨벌루션 또는 상관 커널의 일부가 영상 경계를 벗어나는 경우 영상을 0으로 채우거나 경계선 픽셀을 복제하여 영상 값을 외삽할 수 있습니다.
잡음은 영상 수집 또는 영상 전송 중 획득한 픽셀 값의 랜덤 오차를 말합니다. 잡음을 제거하면 영상 품질이 개선될 수 있습니다.
이 예제에서는 여러 강도의 가우스 평활화 필터를 사용하여 영상을 흐릿하게 만드는 방법을 보여줍니다. 이 예제에서는 등방성 및 비등방성 가우스 필터링을 모두 다룹니다.
Reduce Noise in Image Gradients
This example shows how to reduce noise associated with computing image gradients.
가이드 영상 필터링은 영상에 경계 보존 평활화를 수행합니다. 이 필터링은 가이드 영상이라고 하는 두 번째 영상의 내용을 사용하여 필터링에 영향을 줍니다.
Perform Flash/No-flash Denoising with Guided Filter
This example shows how to reduce noise from an image while using a guidance image to preserve the sharpness of edges.
Segment Thermographic Image after Edge-Preserving Filtering
This example shows how to segment a hot object from the background in a thermographic 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
This example shows how to smooth an image by different amounts by applying box filters of varying sizes to the integral image.
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.