04-07-2012 11:09 AM
Hello. I want to 2D gaussian fitting to images from camera. I already knew about AnalysisLibErrType GaussFit function.
But, I dont know how to use this function for 2D. Please let me know about this if someone know about this.
Thanks,
04-07-2012 11:18 AM
One more thing, I dont know what the output of AnalysisLibErrType GaussFit function is.
I want to get gaussian fitting x and y coordinate.
Thanks,
04-07-2012 12:04 PM
Hello,
a two-dimensional Gaussian function z= f(x,y) is different from a 'regular', one-dimensional Gaussian function y = f(x). Also the former has four (x0, dx, y0, dy) instead of two parameters... Hence you cannot use the GaussFit function. I am not aware of a 2D nonlinear fitting function in the advanced analysis library of CVI.
However, you can reformat your data into a one-dimensional array and then use one of the nonlinear fitting functions of CVI with a four-parameter model function.