LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Creating 3D Image Arrays

I am sorry, but I'm lost with labview right now.  I am processing real images which are 768x960 2D grayscale images which I want to convert the data into a 3D array using several images with the end result to process and display them in 3D.  My only problem is I can't wrap my head around Labview's array creation.  I am confused as how this data is wired and which is what??  Basically each page is a page of rows & columns, which is the Z??  When I initialize the array the dimensions, would I set it as 1,768,960, - 2,768,960??  I know this is really simple, but I am tired of trying this blind.  Any of you experienced guys have some help for this newby??  I have seen all the examples but they mostly deal with random number generation.

Thanks,

Dean
0 Kudos
Message 1 of 3
(2,897 Views)


@deanoj wrote:
which is the Z??  When I initialize the array the dimensions, would I set it as 1,768,960, - 2,768,960??

Dean


Hi Dean,

the page is the third dimension ('rows' the first, 'columns' the second) Page, row and column are just names.
You should initialize the array with 768 elements in the first dim, 960 in the second and N in the third (N is the number of images)
You can add more dimension by right clicking the dimension terminal and select 'add dimension'

Ton

Message Edited by TonP on 11-07-2006 08:13 AM

Free Code Capture Tool! Version 2.1.3 with comments, web-upload, back-save and snippets!
Nederlandse LabVIEW user groep www.lvug.nl
My LabVIEW Ideas

LabVIEW, programming like it should be!
0 Kudos
Message 2 of 3
(2,888 Views)
Thanks,

I had figured that out after a while of playing with different orientations, but thanks non the less.

DeanSmiley Happy
0 Kudos
Message 3 of 3
(2,862 Views)