Surface Fit over image

조회 수: 13 (최근 30일)
royed
royed 2020년 5월 17일
편집: royed 2020년 5월 18일
I have a image like this
I want to do a Gaussian Surface fit over this image. Any suggestions would help.
  댓글 수: 3
royed
royed 2020년 5월 17일
data matrix
Image Analyst
Image Analyst 2020년 5월 17일
Attach it so people can try things. Use the paper clip icon.
save('answers.mat', 'YourMatrix');

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

채택된 답변

J. Alex Lee
J. Alex Lee 2020년 5월 17일
Here's my first pass thoughts:
First steps:
  1. Obtain X and Y coordinates of your pixels
  2. ensure your pixel values are of type double (maybe this is not super important)
  3. Decide if you want to call your X,Y coordinates your principal directions or not to decide the form of the function you want
Options:
  1. If you have optimization/curve fitting toolbox functions, use them
  2. If you don't, you can pretty easily write your own with fminsearch (only need 6 parameters and you have good initial guesses)
  3. If everything is Gaussian, maybe you can take a data/statistics approach to do [non-iterative] underlying parameter estimation technique (means and standard deviations?) from a data set constructed based on the pixel values...for univariate problems, i've found this to be a nice stand-in to actual fitting, which can be non-robust if you don't have good initial guesses and algorithms.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Surface and Mesh Plots에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by