목록분류 전체보기 (295)
UOMOP
import cv2import numpy as npimport torchimport torch.nn.functional as Fimport torchvision.transforms as transformsimport torchvision.datasets as datasetsfrom torch.utils.data import DataLoaderimport matplotlib.pyplot as pltdef patch_importance(image, patch_size=2, type='variance', how_many=2, noise_scale=0): if isinstance(image, torch.Tensor): image = image.numpy() H, W = image.shap..
import numpy as npimport cv2import torchimport torch.nn.functional as Fimport torchvision.transforms as transformsimport torchvision.datasets as datasetsfrom torch.utils.data import DataLoaderimport matplotlib.pyplot as pltdef patch_importance(image, patch_size=2, type='variance', how_many=2, noise_scale=0): if isinstance(image, torch.Tensor): image = image.numpy() H, W = image.shap..
% SNR 값x = [0, 10, 20, 30, 40];% y축 값y1 = [0.556, 0.786, 0.895, 0.931, 0.94]; % No maskingy2 = [0.5299, 0.7208, 0.8047, 0.8161, 0.8163]; % Proposedy3 = [0.53, 0.675, 0.718, 0.735, 0.736]; % Randomy4 = [0.491, 0.62, 0.668, 0.668, 0.67]; % Variancey5 = [0.509, 0.607, 0.639, 0.65, 0.655]; % Centraly6 = [0.376, 0.446, 0.454, 0.459, 0.462]; % Periphery% 그래프 그리기figure;hold on;plot(x, y1, '-o', 'Displa..
% SNR 값x = [0, 10, 20, 30, 40];% y축 값y1 = [0.556, 0.786, 0.895, 0.931, 0.94]; % No maskingy2 = [0.5607, 0.78631, 0.8889, 0.9265, 0.9312]; % Proposedy3 = [0.555, 0.755, 0.831, 0.861, 0.866]; % Randomy4 = [0.539, 0.728, 0.801, 0.838, 0.842]; % Variancey5 = [0.545, 0.735, 0.819, 0.843, 0.85]; % Centraly6 = [0.46, 0.53, 0.577, 0.584, 0.578]; % Periphery% 그래프 그리기figure;hold on;plot(x, y1, '-o', 'Disp..
% SNR 값x = [0, 10, 20, 30, 40];% y축 값y1 = [0.556, 0.786, 0.895, 0.931, 0.94]; % No maskingy2 = [0.5627, 0.7849, 0.8944, 0.931, 0.937]; % Proposedy3 = [0.559, 0.783, 0.875, 0.911, 0.919]; % Randomy4 = [0.56, 0.784, 0.859, 0.894, 0.905]; % Variancey5 = [0.566, 0.772, 0.875, 0.913, 0.918]; % Centraly6 = [0.534, 0.696, 0.76, 0.783, 0.795]; % Periphery% 그래프 그리기figure;hold on;plot(x, y1, '-o', 'Displa..
% SNR 값x = [0, 10, 20, 30, 40];% y축 값y1 = [18.955, 23.277, 26.859, 29.166, 30]; % No maskingy2 = [18.5, 21.835, 23.742, 24.211, 24.272]; % Proposedy3 = [18.48, 20.573, 21.348, 21.575, 21.607]; % Randomy4 = [17.13, 18.535, 20.333, 20.365, 20.37]; % Variancey5 = [17.56, 18.618, 19.062, 19.22, 19.229]; % Centraly6 = [15.376, 15.951, 16.067, 16.128, 16.109]; % Periphery% 그래프 그리기figure;hold on;plot(x..