J
Joe Van Dyk
What's the best data structure to use if I want to store RGB color data
(integers between 0-255 for red, green, and blue) for each pixel in an
image?
A vector of vector of vector of ints? (my best guess)
If I'm going to need to store data for an image that's 10k by 10k
pixels, how can I quickly allocate and save that data into the data
structure?
Thanks,
Joe
(integers between 0-255 for red, green, and blue) for each pixel in an
image?
A vector of vector of vector of ints? (my best guess)
If I'm going to need to store data for an image that's 10k by 10k
pixels, how can I quickly allocate and save that data into the data
structure?
Thanks,
Joe