How to plot a Height height correlation function from AFM image?

조회 수: 1 (최근 30일)
Efthymios
Efthymios 2014년 6월 9일
댓글: BASANTA KUMAR PARIDA 2018년 6월 2일
Hello,
I have some AFM images and I use Gwyddion and Matlab. I would like to have the PLOTS of the height-height correlation function. I would like to have these plots either for one directional displacement or for a radius displacement among some reference points , The plot i am looking for should look like exacttly the attached picture !
Can you provide me maybe with Matlab a code make these plots ?? Thank you in advance!
  댓글 수: 4
John D'Errico
John D'Errico 2014년 6월 9일
Thank you for making this a question instead of an answer. As a question, it will be seen, and hopefully answered. As an answer itself, it would probably have gone unseen and unanswered.
BASANTA KUMAR PARIDA
BASANTA KUMAR PARIDA 2018년 6월 2일
Can you send me the code to basantakumarparida@gmai.com, I will try to solve and send you.

댓글을 달려면 로그인하십시오.

답변 (2개)

Star Strider
Star Strider 2014년 6월 9일
Check to see how they calculated the data for the plot in the paper. It looks like a cumulative distribution function of some sort. The cumtrapz function might be what you want.
It looks like they also fitted a line to it. Using polyfit with a 3rd order polynomial might be what you want for that.
  댓글 수: 5
Efthymios
Efthymios 2014년 6월 9일
편집: Efthymios 2014년 6월 9일
Dear all,
The formula i want to use for the "height-height correlation" function is: G= < |h_i-h_j|^2 >
*The equation is fairly simple - summation along one direction of the image (say along x), the average of the height differences. Any clues ? Has anyone used that before ?
Star Strider
Star Strider 2014년 6월 9일
Efthymios — In line with John’s relevant discussion in his most recent comment, I very strongly suggest you use the procedure and techniques accepted by the literature in your area of research. Those techinques should be described in the ‘Materials and Methods’ section of original research papers on the topic, both to generate your data and to fit it.
If you simply want the model-free cumulative sum, it would be appropriate for you to use cumtrapz or its relative, cumsum (linked to at the end of the ‘cumtrapz’ documentation page). Choose whatever best suits your needs. If you need to sum across the other dimension (the dimension you are not summing with cumsum or cumtrapz) first, see the documentation for sum, and sum across the appropriate dimension, then do cumsum or cumtrapz across the results of the sum operation. (I’m not quite certain what you are exactly doing, so I’m guessing a bit here.)
John — Kodak had excellent products. I had several Kodak digital cameras (unmatched colour quality, in my opinion) and at least one printer, strictly for photographic use for the same reason. I certainly recommend your File Exchange contributions and that Efthymios explore them to see if they solve the problem. Just now, we don’t quite know.

댓글을 달려면 로그인하십시오.


BASANTA KUMAR PARIDA
BASANTA KUMAR PARIDA 2018년 6월 2일
I also want this HHCRF but I am not getting these from elsewhere.

카테고리

Help CenterFile Exchange에서 Spline Postprocessing에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by