- read_image (Image, '20230626152825.png')
- get_image_size (Image, Width, Height)
- gen_sin_bandpass (ImageFilter, 0.1, 'none', 'rft', Width, Height)
- *将图像转化为频域图像
- rft_generic (Image, ImageFFT, 'to_freq', 'sqrt', 'complex', Width)
- *将频域图像和滤波核进行卷积运算
- convol_fft (ImageFFT, ImageFilter, ImageConvol)
- *将频域图像转化为空间域图像
- rft_generic (ImageConvol, ImageFiltered, 'from_freq', 'n', 'real', Width)
- *将ROI区域的图像剪切
- gen_rectangle1 (ROI_0, 33.4368, 160, 2208.28, 5354.76)
- reduce_domain(ImageFiltered, ROI_0, ROI)
- *使用高斯核进行图像平滑
- smooth_image (ROI, ImageSmooth, 'gauss', 15)
- *拉伸到byte:
- min_max_gray (ImageSmooth, ImageSmooth, 0, Min, Max, Range)
- scale_image_range (ImageSmooth, ImageScaled, Min, Max)
- convert_image_type (ImageScaled, ImageConverted, 'byte')
复制代码
|