fpl

fpl2

f = torch.fft.fft2(image) # 计算频率 freqs = torch.fft.fftfreq(image.shape[-1]) print(freqs) # 设定阈值,用于分离高频和低频信息 threshold = 0.1 # 创建掩码,用于分离高频和低频信息 mask = ......
fpl2 fpl

fpl

import torch from torch import nn import numpy as np import matplotlib.pyplot as plt from PIL import Image from torchvision import transforms from mat ......
fpl
共2篇  :1/1页 首页上一页1下一页尾页