sumkee Posted March 26, 2009 Report Share Posted March 26, 2009 Hello there, I'm a new LabView user who just started using it about 2 weeks ago. I'm trying to write a program that encode a picture (512x512 pixles) into a 512 columns x 512 row data file ( I think I got this part ). However, I'm trying to extract the value from the array. For instance, if the value > 0 @ x,y (30, 250), I want to show it in a graph. How would I do that!? I also included part of the VI that I composed. Maybe it doesn't make sense to most of you, since I just start. But please help. Thank you in advance, Pui Quote Link to comment
ejensen Posted March 26, 2009 Report Share Posted March 26, 2009 QUOTE I was trying to figure a way to compare all the values in a fashion that the computer reads the value @ (0,0) -> (0,1) -> ... -> (0,512) then down (1,0) - > (1,1) -> ... -> (1,512) until it finishes down to (512, 512). The easiest way to do this part is with nested auto-indexing for loops. I don't fully understand what the rest of your code does, but this will simplify it some. Quote Link to comment
Neville D Posted March 26, 2009 Report Share Posted March 26, 2009 You could AND your array with another 512x512 array of 1's which would give you boolean Zeroes or Ones, that you could just display in a 2-d array indicator. N. Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.