How should I write a MATLAB code to perform Dynamic Stochastic Resonance on a low contrast image? [on hold]

The name of the pictureThe name of the pictureThe name of the pictureClash 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/







share|improve this question











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
If this question can be reworded to fit the rules in the help center, please edit the question.


















    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/







    share|improve this question











    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
    If this question can be reworded to fit the rules in the help center, please edit the question.














      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/







      share|improve this question











      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/









      share|improve this question










      share|improve this question




      share|improve this question









      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
      If this question can be reworded to fit the rules in the help center, please edit the question.




      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
      If this question can be reworded to fit the rules in the help center, please edit the question.

























          active

          oldest

          votes






















          active

          oldest

          votes













          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes

          Popular posts from this blog

          Greedy Best First Search implementation in Rust

          Function to Return a JSON Like Objects Using VBA Collections and Arrays

          C++11 CLH Lock Implementation