06-05-2010 09:13 AM
deal all
i am new to labview (using labview 8.5), i have a fringe picture of laser interferometer (attached here with). i want curve fitting along the edge of each fringe ( curve fitting of equal intensity pixel points along each fringe), please help me how can i meet these requirements.
thanks
aalim
06-05-2010 01:21 PM
aalim,
The IMAQ Threshold VI in the NI Vision package will do the job. Set the Range to allow only one pixel value and you can turn all those pixels any shade of gray you'd like.
06-06-2010 10:46 AM
aalim wrote:i am new to labview (using labview 8.5), i have a fringe picture of laser interferometer (attached here with). i want curve fitting along the edge of each fringe ( curve fitting of equal intensity pixel points along each fringe), please help me how can i meet these requirements.
06-07-2010 04:47 AM
thank you sir.
can i have an example or coding for how to use imaq.
06-07-2010 07:20 AM
aalim,
The LabVIEW help for IMAQ Threshold (which I found rather confusing itself) refers to two examples. I'd suggest Vision>>2. Functions>>Binary Analysis>>Particle Analysis Report Example.vi. Adjusting the "Threshold Value" sliders will give you a very good idea of how IMAQ Threshold works. In fact, substituting your image for the canned one will probably give you a good visual of what you want (though the particle analysis part won't make any sense).
If you do not have IMAQ Vision installed already, ask your local NI rep for an evaluation license. Mention specifically that you are interested in IMAQ Threshold. (NI keeps changing the terminology of their packages and even the NI reps have trouble telling which vision package is which.)
06-07-2010 07:35 AM
06-07-2010 08:46 AM
Do you want a display or actual equations for the equal intensity profiles?
If all you want is a display, you can do this rather simply using an intensity graph and a custom color table (set it to standard grayscale with the levels you want in a highlighted color).
If you want equations, you will need to do some work, if all you have is standard LabVIEW. I have not actually done this, but would probably start with something like: