pip install -r requirements.txtpython main.py --input orange.jpg --outdir outputs所有输出文件将保存在 outputs/ 目录下:
gray.png- 灰度化图像sobel.png- Sobel 算子滤波结果(边缘幅值图)kernel_K.png- 给定核 K 滤波结果hist_original.png- 原图 RGB 直方图hist_sobel.png- Sobel 输出直方图hist_kernelK.png- K 核滤波输出直方图texture_features.npy- 纹理特征(numpy 格式)texture_features.txt- 纹理特征(可读文本格式)