04-13-2006 10:38 AM
08-03-2007 01:56 PM
Hi
I'm new to Vision development module. I'm doing an autoFocus. Trying to implement it through Vision Development module functions.
For AutoFocus tried the Edge Detection followed by quantify. Took the max STD and mean .But it didnt work out so well.
So tried using FFT function in the Vision Development module. Got the 2D magnitudes.
Q1: Should I have to find the RMS of the 2D magnitudes to find the focus ? Is it right ?
Q2:How do I find the RMS value using the NationalInstrument .Analysis.Statistics .RootMeanSquared function for a 2D array?
Anyways the function says the type initializer failed . Even tried passing a simple array of double.Didnt work.
Please dont point me to some LabView example. Idont have Labview in my system. I'm using C#. /.NET
I'm totally frustrated with this FFT.
Please reply ASAP.
Thank you
Murugan
08-07-2007 02:43 PM