Student Support Forum: 'Image to x,y,z' topicStudent Support Forum > General > "Image to x,y,z" |
There are perhaps faster more complicated ways of doing this, but this might be easier to understand.
Suppose your imagedata is in the variable pixels.
The x and y are in that order because it stores the data row by row. If you experiment you can probably figure out how to reverse the order if need be. You can determine the bounds on x and y by looking at Dimensions[pixels]