03-22-2017 10:07 AM
Now you have a 2D array with all your pixel values. Use array index function to access each pixel value using the 2 indices of your image. You can build a VI for example that would plot in 2 waveform graphes the pixel values of one row and one column of your image corresponding to a cursor that you would manually move on the intensity graph.
03-22-2017 10:33 AM
@MarcDub wrote:
Now you have a 2D array with all your pixel values. Use array index function to access each pixel value using the 2 indices of your image. You can build a VI for example that would plot in 2 waveform graphes the pixel values of one row and one column of your image corresponding to a cursor that you would manually move on the intensity graph.
I believe code similar to what I posted in this thread would allow grabbing the point under the mouse that could be scaled and displayed.
Ben
03-22-2017 12:51 PM - edited 03-22-2017 12:52 PM
Here is an advanced version of what I mentioned above. It is pretty old code that I just cleaned-up a little bit but you should be able to use it, either by loading a comma-separated file of your own data or by copying the code into your own code.
The default data is a multimode CO2 laser beam. The cursors can be moved to plot on the waveform graph the laser beam profile between the two cursors.
03-23-2017 07:49 AM
Thanks, Marc Dubois
I need to find out the width of the region with high temperature that is my region of interest (ROI).
If I find out first and the last index of pixel with high temperature than i will get my result.
The picture is attached.
03-23-2017 07:56 AM
Thanks Ben
Actually, all process is carried out in a closed room because of high power laser. I cannot see the process during laser cladding because my system is inside that room. I have to store all the results.
So, I do not need a program which shows me value under the mouse.
Thanks again.
03-24-2017 01:50 AM
03-29-2017 07:16 PM
Thanks, everyone.
I have found an easy solution to measure the width of my region of intrust.
I am Just using ''Count and Measure Objects'' VI available in ''NI Vision Development Module''