Image processing system - histogram, filtering, wavelet transform and segmentation processing

Image processing system - histogram, filtering, wavelet transform and segmentation processing

This article will introduce an image processing system based on Matlab, which can realize common functions such as histogram equalization, Gaussian filtering, wavelet transform and segmentation processing.

1. Histogram equalization

In image processing, histogram equalization is a technique used to enhance the contrast of an image. The basic idea is to convert the gray level distribution of the original image into uniformly distributed gray levels, so that the overall image becomes clearer and brighter. The following is the Matlab code for histogram equalization:

img = imread('lena.jpg'); % 读取图像
gray = rgb2gray(img); % 转换为灰度图像
eq = histeq(gray

Guess you like

Origin blog.csdn.net/CodeWG/article/details/132033975