how to input image to 2 D gaussian
조회 수: 3 (최근 30일)
이전 댓글 표시
I need to implement a 2d gaussian fitting only want to fit a circularly-symmetric Gaussian.I am modifying the code given in:
by g.nootz.i need to put in the values of data obtained from my image. But I am not able to modify the code as stated in the comment by Nathan neff-mallon .Im a stuck in this part:
change line 38 to [X,Y] = meshgrid(x,y); where x and y a vectors with your x an y axis points change line 47 to Z = zdata; where zdata is a length(x) by length(y) matrix with the data you wish to fit such that zdata(i,j)=z(x_i,y_j).
댓글 수: 0
답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Linear and Nonlinear Regression에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!