How should I write a MATLAB code to perform Dynamic Stochastic Resonance on a low contrast image? [on hold]
Clash Royale CLAN TAG#URR8PPP
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty margin-bottom:0;
up vote
-1
down vote
favorite
path = '/Users/apple/Desktop/low_contrast.jpg' ;
Z = im2double(imread(path,'jpg'));
Z = rgb2gray(Z);
std = std2(Z);
a = 2*std*std;
b = (0.00001 * 4*a*a*a) * 0.037;
X = zeros(640,960);
n=0;
while n ~= 160
X = X + 0.01*(a*X - b*(X.^3) + Z);
n = n+1;
end
figure(1), imshow(X);
figure(2), imshow(Z);
This is code that I have written but it doesn't improve the image. For the algorithm, refer: http://www.iosrjournals.org/iosr-jvlsi/papers/vol4-issue4/Version-2/A04420105.pdf
https://ieeexplore.ieee.org/document/7036546/
algorithm matlab
put on hold as off-topic by Sam Onela, yuri, 200_success, Stephen Rauch, Jamal⦠Aug 2 at 4:57
This question appears to be off-topic. The users who voted to close gave this specific reason:
- "Code not implemented or not working as intended: Code Review is a community where programmers peer-review your working code to address issues such as security, maintainability, performance, and scalability. We require that the code be working correctly, to the best of the author's knowledge, before proceeding with a review." â Sam Onela, yuri, 200_success, Stephen Rauch, Jamal
add a comment |Â
up vote
-1
down vote
favorite
path = '/Users/apple/Desktop/low_contrast.jpg' ;
Z = im2double(imread(path,'jpg'));
Z = rgb2gray(Z);
std = std2(Z);
a = 2*std*std;
b = (0.00001 * 4*a*a*a) * 0.037;
X = zeros(640,960);
n=0;
while n ~= 160
X = X + 0.01*(a*X - b*(X.^3) + Z);
n = n+1;
end
figure(1), imshow(X);
figure(2), imshow(Z);
This is code that I have written but it doesn't improve the image. For the algorithm, refer: http://www.iosrjournals.org/iosr-jvlsi/papers/vol4-issue4/Version-2/A04420105.pdf
https://ieeexplore.ieee.org/document/7036546/
algorithm matlab
put on hold as off-topic by Sam Onela, yuri, 200_success, Stephen Rauch, Jamal⦠Aug 2 at 4:57
This question appears to be off-topic. The users who voted to close gave this specific reason:
- "Code not implemented or not working as intended: Code Review is a community where programmers peer-review your working code to address issues such as security, maintainability, performance, and scalability. We require that the code be working correctly, to the best of the author's knowledge, before proceeding with a review." â Sam Onela, yuri, 200_success, Stephen Rauch, Jamal
add a comment |Â
up vote
-1
down vote
favorite
up vote
-1
down vote
favorite
path = '/Users/apple/Desktop/low_contrast.jpg' ;
Z = im2double(imread(path,'jpg'));
Z = rgb2gray(Z);
std = std2(Z);
a = 2*std*std;
b = (0.00001 * 4*a*a*a) * 0.037;
X = zeros(640,960);
n=0;
while n ~= 160
X = X + 0.01*(a*X - b*(X.^3) + Z);
n = n+1;
end
figure(1), imshow(X);
figure(2), imshow(Z);
This is code that I have written but it doesn't improve the image. For the algorithm, refer: http://www.iosrjournals.org/iosr-jvlsi/papers/vol4-issue4/Version-2/A04420105.pdf
https://ieeexplore.ieee.org/document/7036546/
algorithm matlab
path = '/Users/apple/Desktop/low_contrast.jpg' ;
Z = im2double(imread(path,'jpg'));
Z = rgb2gray(Z);
std = std2(Z);
a = 2*std*std;
b = (0.00001 * 4*a*a*a) * 0.037;
X = zeros(640,960);
n=0;
while n ~= 160
X = X + 0.01*(a*X - b*(X.^3) + Z);
n = n+1;
end
figure(1), imshow(X);
figure(2), imshow(Z);
This is code that I have written but it doesn't improve the image. For the algorithm, refer: http://www.iosrjournals.org/iosr-jvlsi/papers/vol4-issue4/Version-2/A04420105.pdf
https://ieeexplore.ieee.org/document/7036546/
algorithm matlab
asked Aug 1 at 19:47
Tryambak Bhattacharjee
1
1
put on hold as off-topic by Sam Onela, yuri, 200_success, Stephen Rauch, Jamal⦠Aug 2 at 4:57
This question appears to be off-topic. The users who voted to close gave this specific reason:
- "Code not implemented or not working as intended: Code Review is a community where programmers peer-review your working code to address issues such as security, maintainability, performance, and scalability. We require that the code be working correctly, to the best of the author's knowledge, before proceeding with a review." â Sam Onela, yuri, 200_success, Stephen Rauch, Jamal
put on hold as off-topic by Sam Onela, yuri, 200_success, Stephen Rauch, Jamal⦠Aug 2 at 4:57
This question appears to be off-topic. The users who voted to close gave this specific reason:
- "Code not implemented or not working as intended: Code Review is a community where programmers peer-review your working code to address issues such as security, maintainability, performance, and scalability. We require that the code be working correctly, to the best of the author's knowledge, before proceeding with a review." â Sam Onela, yuri, 200_success, Stephen Rauch, Jamal
add a comment |Â
add a comment |Â
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes