PS滤镜— —波浪效果】的更多相关文章

clc; clear all; close all; addpath('E:\PhotoShop Algortihm\Image Processing\PS Algorithm'); I=imread('4.jpg'); I=double(I); Image=I/255; xAmplitude = 25.0; yAmplitude = 25.0; xWavelength =32.0 yWavelength = 32.0; SINE=1; SAWTOOTH=2; TRIANGLE=3; NOISE…
本文用 Python 实现 PS 滤镜的波浪特效,具体效果可以参考之前的博客 http://blog.csdn.net/matrix_space/article/details/42215221 import numpy as np from skimage import img_as_float import matplotlib.pyplot as plt from skimage import io import numpy.matlib import math file_name2='D…
%%% Wave %%% 波浪效果 clc; clear all; close all; addpath('E:\PhotoShop Algortihm\Image Processing\PS Algorithm'); I=imread('4.jpg'); Image=double(I); % Image=0.2989 * I(:,:,1) + 0.5870 * I(:,:,2) + 0.1140 * I(:,:,3); [row, col,channel]=size(Image); R=flo…
本文用 Python 实现 PS 的一种滤镜效果,称为万花筒.也是对图像做各种扭曲变换,最后图像呈现的效果就像从万花筒中看到的一样: 图像的效果可以参考之前的博客: http://blog.csdn.net/matrix_space/article/details/46789783 import matplotlib.pyplot as plt from skimage import io from skimage import img_as_float import numpy as np i…
clc; clear all; close all; addpath('E:\PhotoShop Algortihm\Image Processing\PS Algorithm'); I=imread('4.jpg'); I=double(I); Image=I/255; angle = pi/4; centreX = 0.5; centreY = 0.5; radius=200; amount=0.75; [height, width, depth]=size(Image); Image_ne…
clc; clear all; close all; addpath('E:\PhotoShop Algortihm\Image Processing\PS Algorithm'); I=imread('4.jpg'); I=double(I); Image=I/255; xScale = 20; yScale = 20; amount = 1; turbulence =0.25; Image_new=Image; [height, width, depth]=size(Image); Inde…
clc; clear all; close all; addpath('E:\PhotoShop Algortihm\Image Processing\PS Algorithm'); I=imread('4.jpg'); I=double(I); Image=I/255; sz=size(Image); % set the parameters radius = 150; angle = pi/4; angle2=pi/4; sides=10; centerX = 0.5; % set the…
clc; clear all; close all; addpath('E:\PhotoShop Algortihm\Image Processing\PS Algorithm'); I=imread('4.jpg'); I=double(I); Image=I/255; [height, width, depth]=size(Image); wavelength = 20; amplitude = 10; phase = 0; centreX = 0.5; centreY = 0.5; rad…
clc; clear all; close all; addpath('E:\PhotoShop Algortihm\Image Processing\PS Algorithm'); I=imread('4.jpg'); Image=double(I)/255; [height, width, depth]=size(Image); rays = 25; radius = 25; amount = 25; % 1-100 color = [1.0, 1.0, 1.0]; % 0-1 random…
clc; clear all; close all; addpath('E:\PhotoShop Algortihm\Image Processing\PS Algorithm'); I=imread('4.jpg'); I=double(I); Image=I/255; [height, width, depth]=size(Image); a = 200; b = 200; centreX = 0.5; centreY = 0.5; refractionIndex = 1.25; % >1…