04-11-2011 08:18 AM
Not sure which VI causes my problem, but I think it might be Block Statistics.
I'm using Vision add-ons for Labview, and I am interested in getting the green color-distribution of a Region of Interest. So I found the Block Statistics function, which divides my ROI into small blocks, and then returns a bundle of information including the color-values. I've then tried inserting the color values in a 2D array to later export it to a spreadsheet tool like Excel.
However, the different rows share the same values throughout each column (the top row's values are copied to each row). Can anyone tell me what's wrong, and how I can fix it? I have tried changing pretty much everything concerning the for-loops, but I think the problem might be the Block Statistics.
Help would be much appreciated 🙂
04-14-2011 02:31 AM
Might just add that I'm using the 2010 SP1 version of the software
04-14-2011 03:20 AM
Ok, I resolved the issue.
The output of the Block Statistics function had to be reshaped, and some auto-indexing went wrong.
So finally, after a couple hours of troubleshooting, I can continue.