04-06-2011 01:48 PM
Hi, I'm trying to convert a cluster of image data from the "Draw Circle by Radius.VI" to a 2D array using the Unflatten Pixmap VI. My goal would be to have an array of the pixel coordinates for each pixel of the drawn circle. I'm having trouble outputting this into an array, can anyone help? Anything is much appreciated. Thanks!
-Pete
04-07-2011 02:28 PM
You should be able to wire your Draw Circle by Radius.vi into a Picture to Pixmap.vi and then into a Unflatten Pixmap.vi. The trick here is knowing where to pull your data from. The circle drawing vi draws a 24 bit (RGB) image, so you have to pull your array out of the 24-bit pixmap output on the unflatten vi. This stores each pixel as a Hex value that corresponds to the RGB values.
Jon S
04-10-2011 09:15 AM
Thanks a bunch. This has been very helpful!