ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Strange in Intensity Graph

Hi all,

I'm trying to review our image data grabed by CCD camera.
The image data is a 2D array and each value stands for the gray value
read on the pixel.
I use both mathematica and LabVIEW to see the same image data, but the
results are different. LabVIEW seems to give a result with rotated
graph(90 degree). Does anyone know what happened to my program?


Regards,
F.Y.Chang
0 Kudos
Message 1 of 4
(3,035 Views)
Are you using Labview to read in the 2D array from a spreadsheet program or is it connected directly to the camera? If you are reading it from a spreadsheet you might try transposing the array.
0 Kudos
Message 2 of 4
(3,035 Views)
Feng-Yin Chang wrote:

> Hi all,
>
> I'm trying to review our image data grabed by CCD camera.
> The image data is a 2D array and each value stands for the gray value
> read on the pixel.
> I use both mathematica and LabVIEW to see the same image data, but the
> results are different. LabVIEW seems to give a result with rotated
> graph(90 degree). Does anyone know what happened to my program?

The Intensity-Graph is a Graph. The coordinate-system of this starts in
the lower, left corner with 0,0, while Images normaly start with 0,0 in
the upper, left corner. This normally flipps your image vertically.
2-D Array can be transposed, so that the axes are changed. You can solve
this by just right-clicking on the graph on the frontpanel and select
"tra
nspose array" in the context-menu.

I hope this helps

Marco
0 Kudos
Message 3 of 4
(3,035 Views)
Hi,
The 2D array was read from a spreadsheet.
But I want to know why the result shows the transposing one. 🙂



Feng-Yin Chang,
Institute of Physics,NCTU,Taiwan


On Tue, 13 Jul 2004, C.A.H. wrote:

> Are you using Labview to read in the 2D array from a spreadsheet
> program or is it connected directly to the camera? If you are reading
> it from a spreadsheet you might try transposing the array.
>
0 Kudos
Message 4 of 4
(3,035 Views)