clc; clear all; close all; addpath('E:\PhotoShop Algortihm\Image Processing\PS Algorithm'); I=imread('4.jpg'); Image=double(I)/255*0; [height, width, depth]=size(Image); rays = 200; radius=100; baseAmount = 1.0; ringAmount = 0.25; rayAmount = 0.15; c…