摘要: 项目结构: filters.py: from PIL import Image, ImageFilter, ImageOps import numpy as np class Filters: @staticmethod def apply_blur(image, radius=2): """应用模 阅读全文
posted @ 2025-05-12 20:26 vivi_vimi 阅读(32) 评论(0) 推荐(0)
摘要: golds.m: function [xmin, fmin] = golds(func, a, b, epsilon) % 初始化参数 maxIter = 1000; % 最大迭代次数 iter = 0; % 迭代计数器 % 计算黄金比例 phi = (1 + sqrt(5)) / 2; c = b 阅读全文
posted @ 2025-05-12 08:08 vivi_vimi 阅读(37) 评论(0) 推荐(0)