LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

3D Intensity Graph ("3D Histogram") and Gaussian Fit for Pixel Detector

Hello, LabVIEWers.

 

So... I have an output file from a pixel detector (256x256 pixels with a laser over some pixels) that gives me the X and Y coordinates and the Counting on each pixel ("X" "Y" "Value"). Pixels with Value = 0 are not printed.

 

I made a program that turns this output file into a 256x256 matrix with the respective values for each pixel (X and Y coordinates being the i,j matrix indexes).

With that I am ploting what I have in the detector as a map with the Intensity Graph. That's working perfectly.

 

 - I want to know if there is any way of make this intensity graph in 3D.

This 3D intensity graph is a zoom over the 2D (shows just the pixels where the laser is over and some others arround it). For that I'm just getting a submatrix from the original one (with all pixels).
I kind did it with 3D Bar Graph (lower right graph) but it's not what I'm trying to achieve. I'm attaching my Front Panel and the graphs (that I'm trying to do on LabVIEW) that I did on ROOT (CERN's object oriented framework) for reference.

 

Captura de Tela 2013-08-13 às 00.23.59.png
Root.jpg

 

Can somebody help me with that? 

 

Then, I want to fit a Gaussian curve on this "3D histogram" and plot it (something like the upper right graph on my front panel).

I have searched a lot of topics over here talking about that... but I couldn't use what I found... they was using IMAQ and I don't know what it is.

 

Thanks in advance for any thoughts.

 

Best regards from Rio de Janeiro.

Download All
0 Kudos
Message 1 of 6
(7,284 Views)

Any thoughts?

 

0 Kudos
Message 2 of 6
(7,240 Views)

Please attach your actual VI.

0 Kudos
Message 3 of 6
(7,227 Views)

That's what I get with your vi.

Captura de Tela 2013-08-13 às 20.32.56.png

 

My .vi.

Captura de Tela 2013-08-13 às 20.32.43.png

0 Kudos
Message 4 of 6
(7,224 Views)

You have a problem with the old style ActiveX 3D controls (not sure how to fix this. Maybe repair the LabVIEW installation?).

 

Maybe you want to substitute the newer openGL based 3D graphs.

 

 

 

0 Kudos
Message 5 of 6
(7,209 Views)

You were right about my labVIEW installation.
I can use your .vi now.
I just can´t manage, yet, how use it.

I´m attaching the matrix and the (x y z) file that I need to fit.

Do you have any words about the 3D bar graph?

Thank you any way!

 

 

Download All
0 Kudos
Message 6 of 6
(7,181 Views)