"Wiebe@CARYA" <wiNOebe.walsSPtra@carAMya.nl> wrote in message news:454069d2$1@PYROS.natinst.com...
Could you post a vi with a 3d array as constant, or control with default value set? It will save us some time, and confusion about which array index is X, Y or Z...
It doesn't have to be a meaningfull picture, or full size picture.
For me in LV7.1, but others can use 8.2
Regards,
Wiebe.
"ccyang" <x@no.email> wrote in message news:1161798011721-432402@exchange.ni.com...
Thanks Kevin, your help is great. For my image, X means the number of rows, which is usually 512 or 256. Y means the number of columns, which is usually 5 to 10. Z means the number of images or frames per target, which may really varied from target to target. The numbers of X and Y will be determined before running the camera, and the number of Z will be determined by how big the target is. when the target comes, the camera will start to shoot the images automatically, and it will end automatically when the target leaves. Do you think the information is sufficient? Thanks a lot for your effort.
Btw.
You haven't said anything about the data type of the 3D array. Is it U8 (grayscale)? Or 3 RGB U8's inside a U32? Or is it an U8 index to a RGB color table?
The "3D Array Average" VI I send in the parrallel message only works if the value is really a value. It doesn't work if the information has RGB information inside a U32, or if it is an indexed value. Still a few CPU cycles left to do conversion, so just let us know.
Regards,
Wiebe.