to convert a RGB value to a grayscale value use this formula: "gray = 0.299R+0.587G+0.114B". To detect your edge see something like "Sobel-Operator", "Prewitt-Operator", or .... .
Mike I am not sure how to use the gray level formula you provided all I have is an array of integers.
But here is some more clarification of what i am trying to do and have done because I read my previous post and it seemed confusing. Sorry about that that was due to frustration.
I am loading and clipping a jpeg that is a monochrome image. I want to turn this clipped image into an array that maps out the gray level (0-255) of each pixel in a 2 D array and I don't have IMAQ Image to Array function. How would I do this with just the graphics palette included in the development edition of Labview?
I tried using the unflatten pixmap vi but the 8 bit output array is not what I am looking for the numbers are not 0-255 or seem to represent gray because it gives a color image when I display it. How do I convert each number in the array to its 0-255 grayscale representation? Attached are two pictures that show what I have. As far as Identifying the edges I do have a vi that does this that I created from a program I made previously it just requires the grayscale 0-255 image array and thats what has me stressed .
my vi work in this way i want. Because Chris only want a 2D Array of grayscale values.